POST
/
sources
Add Tenant Source
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/sources \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "royaltySourceId": "src-1",
  "settings": {},
  "replacements": {}
}'
{
  "id": "ts-1",
  "settings": {},
  "replacements": {},
  "royaltySource": {
    "id": "src-1",
    "name": "Spotify",
    "label": "Spotify",
    "type": "DSP",
    "format": "csv",
    "public": true
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json

Response

201
application/json

Tenant source association created

The response is of type object.