Skip to main content
POST
/
api
/
organizations
/
artists
cURL
curl --request POST \
  --url https://recoup-api.vercel.app/api/organizations/artists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "artistId": "artist-account-uuid",
  "organizationId": "org-account-uuid"
}
'
{
  "status": "success",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Artist-organization association parameters

artistId
string<uuid>
required

The account ID of the artist to add

Example:

"artist-account-uuid"

organizationId
string<uuid>
required

The account ID of the organization

Example:

"org-account-uuid"

Response

Artist added to organization successfully

status
enum<string>
required

Status of the request

Available options:
success
id
string<uuid>
required

UUID of the created artist-organization link