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

# Add Artist to Organization

> Add an artist to an organization. This allows organization members to access and manage the artist. This endpoint is idempotent - calling it multiple times with the same artistId and organizationId will not create duplicate records.



## OpenAPI

````yaml api-reference/openapi/accounts.json POST /api/organizations/artists
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/artists:
    post:
      description: >-
        Add an artist to an organization. This allows organization members to
        access and manage the artist. This endpoint is idempotent - calling it
        multiple times with the same artistId and organizationId will not create
        duplicate records.
      requestBody:
        description: Artist-organization association parameters
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddArtistToOrganizationRequest'
      responses:
        '200':
          description: Artist added to organization successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddArtistToOrganizationResponse'
        '400':
          description: Bad request - missing required parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationsErrorResponse'
components:
  schemas:
    AddArtistToOrganizationRequest:
      type: object
      required:
        - artistId
        - organizationId
      properties:
        artistId:
          type: string
          format: uuid
          description: The account ID of the artist to add
          example: artist-account-uuid
        organizationId:
          type: string
          format: uuid
          description: The account ID of the organization
          example: org-account-uuid
    AddArtistToOrganizationResponse:
      type: object
      required:
        - status
        - id
      properties:
        status:
          type: string
          enum:
            - success
          description: Status of the request
        id:
          type: string
          format: uuid
          description: UUID of the created artist-organization link
    OrganizationsErrorResponse:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          enum:
            - error
          description: Status of the request
        message:
          type: string
          description: Error message describing what went wrong

````