> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fynn.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# List suppressed messages

> Returns the mails, letters, SMS and webhooks this environment did not send, newest first. A Migration environment sends nothing; a Sandbox sends mail only to members and allowed domains. Nothing in this list is sent later. Requires the permissions suppressed-message:read and email:read.

Accepts the API token of the environment as well as the token of a person signed in to the app.



## OpenAPI

````yaml assets/openapi-v2-organisation.json get /api/tenant/suppressed-messages
openapi: 3.0.3
info:
  title: Fynn Organisation API
  version: 2026-11
  description: >-
    Your organisation groups the environments you work in: one or more Live
    environments, Sandboxes and Migration environments. Each environment has its
    own customers, contracts, invoices, settings, users and API tokens. This API
    lists organisations and environments, creates and deletes Sandbox and
    Migration environments, switches the environment a signed-in person works
    in, deletes data, transfers data between environments, starts a billing run
    on demand and manages what a Sandbox or Migration environment sends.


    Most of these routes change who works where or delete data, so they need a
    person signed in to the app; API tokens are refused there. The Sandbox
    recipient domains can be read and the suppressed messages listed with the
    API token of the environment as well.
servers:
  - url: https://coreapi.io
    description: Production
  - url: https://preview.coreapi.io
    description: Test system
security:
  - SignedInUser: []
tags:
  - name: Organisationen
    description: Organisations and their environments.
  - name: Aktive Umgebung
    description: The environment a signed-in person works in.
  - name: Empfänger-Domains
    description: Domains a Sandbox may send mail to.
  - name: Zurückgehaltene Nachrichten
    description: What a Sandbox or Migration environment did not send.
  - name: Daten löschen
    description: Delete data sets of a Sandbox or Migration environment.
  - name: Umgebung löschen
    description: Delete a Sandbox or Migration environment.
  - name: Daten übertragen
    description: Transfer data between the environments of an organisation.
  - name: Abrechnung auf Abruf
    description: Bill a Sandbox or Migration environment on demand.
paths:
  /api/tenant/suppressed-messages:
    get:
      tags:
        - Zurückgehaltene Nachrichten
      summary: List suppressed messages
      description: >-
        Returns the mails, letters, SMS and webhooks this environment did not
        send, newest first. A Migration environment sends nothing; a Sandbox
        sends mail only to members and allowed domains. Nothing in this list is
        sent later. Requires the permissions suppressed-message:read and
        email:read.


        Accepts the API token of the environment as well as the token of a
        person signed in to the app.
      operationId: listSuppressedMessages
      parameters:
        - name: channel
          in: query
          description: Only this channel. Repeat as channel[]= for several.
          required: false
          schema:
            type: string
            enum:
              - email
              - letter
              - sms
              - webhook
        - name: reason
          in: query
          description: Only this reason. Repeat as reason[]= for several.
          required: false
          schema:
            type: string
            enum:
              - migration_tenant
              - sandbox_recipient_not_allowed
              - sandbox_channel_closed
        - name: createdAt[after]
          in: query
          description: >-
            Held back at or after this time: ISO-8601 with offset, or a date
            (Y-m-d, start of the day in the time zone of the environment).
          required: false
          schema:
            type: string
            format: date-time
        - name: createdAt[before]
          in: query
          description: >-
            Held back at or before this time: ISO-8601 with offset, or a date
            (Y-m-d, end of the day in the time zone of the environment).
          required: false
          schema:
            type: string
            format: date-time
        - name: order[createdAt]
          in: query
          description: Sort by time, asc or desc. Default desc.
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
        - name: order[channel]
          in: query
          description: Sort by channel, asc or desc.
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
        - name: limit
          in: query
          description: Rows per page.
          required: false
          schema:
            type: integer
            minimum: 1
        - name: cursor
          in: query
          description: Cursor of the next page, from pagination.nextCursor.
          required: false
          schema:
            type: string
        - name: X-Fynn-Tenant-Id
          in: header
          required: false
          description: >-
            Identifier of the environment the request works in, for the token of
            a signed-in person. Without it the request works in the environment
            the person last switched into. An API token always works in its own
            environment.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Collection envelope with the suppressed messages.
          content:
            application/json:
              schema:
                properties:
                  data:
                    description: The suppressed messages of the current page.
                    type: array
                    items:
                      $ref: '#/components/schemas/SuppressedMessageView'
                  meta:
                    description: Row counts for the current result.
                    type: object
                  pagination:
                    description: Pagination cursor and limit information.
                    type: object
                type: object
        '401':
          description: Missing or invalid authentication.
        '403':
          description: >-
            Missing permission (suppressed-message:read together with
            email:read), or no access to the environment named in the request.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '422':
          description: >-
            A filter value is invalid
            (OUTBOUND__SUPPRESSED_MESSAGE_FILTER_INVALID); the violations name
            the parameter.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ValidationProblem'
      security:
        - ApiToken: []
        - SignedInUser: []
components:
  schemas:
    SuppressedMessageView:
      description: >-
        A message this environment did not send. It stays in this list and is
        never sent later.
      properties:
        id:
          description: Id of the entry.
          type: string
          format: uuid
        channel:
          description: 'How the message would have left: email, letter, sms or webhook.'
          type: string
          enum:
            - email
            - letter
            - sms
            - webhook
        reason:
          description: >-
            Why it was not sent. migration_tenant: a Migration environment sends
            nothing. sandbox_recipient_not_allowed: a Sandbox mail to an address
            that belongs to no member and to no allowed domain.
            sandbox_channel_closed: a channel a Sandbox does not use.
          type: string
          enum:
            - migration_tenant
            - sandbox_recipient_not_allowed
            - sandbox_channel_closed
        type:
          description: >-
            Kind of message, for example the notification name or the webhook
            event.
          type: string
          example: invoice.finalized
          nullable: true
        recipient:
          description: >-
            Who would have received it: e-mail address, phone number, name and
            address of a letter, or webhook URL without query string.
          type: string
          example: kunde@kunde.example
        subject:
          description: Subject of the mail or file name of the letter.
          type: string
          example: Rechnung RE-1001
          nullable: true
        createdAt:
          description: When the message was held back.
          type: string
          format: date-time
      type: object
    Problem:
      type: object
      description: >-
        Error response. type is a fixed key your code can react to, detail a
        sentence you can show to your users. Some errors carry further fields,
        for example limit and count, reason, runId or missingDataSets.
      properties:
        status:
          type: integer
          description: HTTP status code.
        type:
          type: string
          description: Fixed key of the error.
          example: ORGANISATION__NOT_FOUND
        title:
          type: string
        detail:
          type: string
          description: What went wrong, as a sentence for your users.
        requestId:
          type: string
          description: Identifier of the request, for support enquiries.
      required:
        - status
        - type
      additionalProperties: true
    ValidationProblem:
      type: object
      description: >-
        A field of the request is invalid. Every violation names the field in
        propertyPath, the reason in message and a code: a readable key such as
        ORGANISATION__USERNAME_TAKEN, or a UUID for general format errors.
      properties:
        status:
          type: integer
          example: 422
        type:
          type: string
        title:
          type: string
        detail:
          type: string
        violations:
          type: array
          items:
            type: object
            properties:
              propertyPath:
                type: string
                example: username
              message:
                type: string
              code:
                type: string
                example: ORGANISATION__USERNAME_INVALID
            required:
              - propertyPath
              - message
              - code
        requestId:
          type: string
      required:
        - status
        - violations
  securitySchemes:
    SignedInUser:
      type: http
      scheme: bearer
      description: >-
        Token of a person signed in to the app. Send it as Authorization: Bearer
        <token>.
    ApiToken:
      type: http
      scheme: bearer
      description: >-
        API token of an environment. Send it as Authorization: Bearer api_...
        The token is bound to exactly one environment.

````