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

# List Organization Domains

> List the email domains mapped to an organization. Accounts that sign up with an email at a mapped domain automatically join the organization.



## OpenAPI

````yaml api-reference/openapi/accounts.json GET /api/organizations/domains
openapi: 3.1.0
info:
  title: Recoup API - Accounts
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.recoupable.dev
security: []
paths:
  /api/organizations/domains:
    get:
      description: >-
        List the email domains mapped to an organization. Accounts that sign up
        with an email at a mapped domain automatically join the organization.
      parameters:
        - name: organization_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
          description: The account ID of the organization
      responses:
        '200':
          description: Domains retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetOrganizationDomainsResponse'
        '400':
          description: Bad request - invalid or missing parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized - missing or invalid authentication
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Forbidden - caller is not a member of the organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      security:
        - apiKeyAuth: []
        - bearerAuth: []
components:
  schemas:
    GetOrganizationDomainsResponse:
      type: object
      required:
        - status
        - domains
      properties:
        status:
          type: string
          enum:
            - success
          description: Status of the request
        domains:
          type: array
          items:
            $ref: '#/components/schemas/OrganizationDomain'
          description: Domains mapped to the organization
    ErrorEnvelope:
      type: object
      required:
        - status
        - error
      properties:
        status:
          type: string
          enum:
            - error
          description: Status of the request
        error:
          type: string
          description: Error message describing what went wrong
    OrganizationDomain:
      type: object
      required:
        - id
        - domain
        - organization_id
      properties:
        id:
          type: string
          format: uuid
          description: UUID of the domain mapping record
        domain:
          type: string
          description: The email domain (lowercase, no @)
          example: seekermusic.com
        organization_id:
          type: string
          format: uuid
          description: The account ID of the organization
        created_at:
          type: string
          format: date-time
          description: When the mapping was created
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Recoup API key. [Learn more](/quickstart#api-keys).
    bearerAuth:
      type: http
      scheme: bearer

````