Skip to main content
POST
/
api
/
artists
cURL
curl --request POST \
  --url https://recoup-api.vercel.app/api/artists \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "artist": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "image": "<string>",
    "instruction": "<string>",
    "knowledges": [
      "<string>"
    ],
    "label": "<string>",
    "organization": "<string>",
    "company_name": "<string>",
    "job_title": "<string>",
    "role_type": "<string>",
    "onboarding_status": "<string>",
    "onboarding_data": "<unknown>",
    "account_info": "<array>",
    "account_socials": "<array>"
  }
}

Authorizations

x-api-key
string
header
required

Your Recoup API key. Learn more.

Body

application/json

Artist creation parameters

name
string
required

The name of the artist to create

Minimum string length: 1
account_id
string<uuid>

UUID of the account to create the artist for. Only applicable for organization API keys - org keys can specify an account_id for any account within their organization. If not provided, the artist is created for the API key's own account.

organization_id
string<uuid>

Optional organization ID to link the new artist to

Response

Artist created successfully

artist
object
required