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

> Add an artist to an account's list of associated artists. If the artist is already associated with the account, returns success without modification.



## OpenAPI

````yaml api-reference/openapi/accounts.json POST /api/accounts/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/accounts/artists:
    post:
      description: >-
        Add an artist to an account's list of associated artists. If the artist
        is already associated with the account, returns success without
        modification.
      requestBody:
        description: Account and artist identifiers
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddArtistToAccountRequest'
      responses:
        '200':
          description: Artist added to account successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddArtistSuccessResponse'
        '400':
          description: Bad request - account not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountErrorResponse'
components:
  schemas:
    AddArtistToAccountRequest:
      type: object
      required:
        - email
        - artistId
      properties:
        email:
          type: string
          format: email
          description: Email address of the account to add the artist to
        artistId:
          type: string
          format: uuid
          description: The unique identifier of the artist to add
    AddArtistSuccessResponse:
      type: object
      required:
        - success
      properties:
        success:
          type: boolean
          enum:
            - true
          description: Indicates the artist was successfully added
    AccountErrorResponse:
      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

````