> ## 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.

# Get the allowed recipient domains of a Sandbox

> Mail of a Sandbox environment reaches the members of its organisation with a confirmed address and the addresses on an allowed domain. Every other mail is not sent and appears in the list of suppressed messages. Requires the permission sandbox-mail-settings:read. Available in Sandbox environments only.

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/sandbox-mail-settings
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/sandbox-mail-settings:
    get:
      tags:
        - Empfänger-Domains
      summary: Get the allowed recipient domains of a Sandbox
      description: >-
        Mail of a Sandbox environment reaches the members of its organisation
        with a confirmed address and the addresses on an allowed domain. Every
        other mail is not sent and appears in the list of suppressed messages.
        Requires the permission sandbox-mail-settings:read. Available in Sandbox
        environments only.


        Accepts the API token of the environment as well as the token of a
        person signed in to the app.
      operationId: getSandboxMailSettings
      parameters:
        - 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: The allowed domains of the Sandbox.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxMailSettingsView'
        '401':
          description: Missing or invalid authentication.
        '403':
          description: >-
            Missing permission sandbox-mail-settings:read, or no access to the
            environment named in the request.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '409':
          description: >-
            The environment is no Sandbox
            (TENANT__SANDBOX_MAIL_SETTINGS_NOT_SANDBOX); the parameter
            environment names its kind.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
        - ApiToken: []
        - SignedInUser: []
components:
  schemas:
    SandboxMailSettingsView:
      description: >-
        Who receives mail from this Sandbox besides the members of its
        organisation.
      properties:
        allowedRecipientDomains:
          description: >-
            Allowed recipient domains, in lower case, internationalised domains
            in their ASCII form.
          type: array
          items:
            type: string
          example:
            - firma.example
        recipientFilterActive:
          description: >-
            Whether mail of this Sandbox is limited to the members of the
            organisation and the allowed domains on this deployment. When false,
            every recipient gets the mail.
          type: boolean
      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
  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.

````