Skip to main content
GET
/
sources
/
{id}
Get Tenant Source by ID
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/sources/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "ts-1",
  "settings": {},
  "replacements": {},
  "royaltySource": {
    "id": "src-1",
    "name": "Spotify",
    "label": "Spotify",
    "type": "DSP",
    "format": "csv",
    "public": true
  }
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/sources/example-id', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Tenant source ID

Example:

"ts-1"

Response

Tenant source details

id
string
Example:

"ts-1"

settings
object
Example:
{}
replacements
object
Example:
{}
royaltySource
object