Skip to main content
POST
/
api
/
accounts
/
artists
cURL
curl --request POST \
  --url https://recoup-api.vercel.app/api/accounts/artists \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "email": "jsmith@example.com",
  "artistId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "success": true
}

Authorizations

x-api-key
string
header
required

Your Recoup API key. Learn more.

Body

application/json

Account and artist identifiers

email
string<email>
required

Email address of the account to add the artist to

artistId
string<uuid>
required

The unique identifier of the artist to add

Response

Artist added to account successfully

success
enum<boolean>
required

Indicates the artist was successfully added

Available options:
true