Skip to main content
GET
/
sources
List Tenant Sources
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/sources \
  --header 'Authorization: Bearer <token>'
{
  "count": 1,
  "rows": [
    {
      "id": "ts-1",
      "settings": {},
      "replacements": {},
      "royaltySource": {
        "id": "src-1",
        "name": "Spotify",
        "label": "Spotify",
        "type": "DSP",
        "format": "csv",
        "public": true
      }
    }
  ]
}
Retrieves a paginated list of all sources associated with the current tenant.

Required Permissions

  • sources:read

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Query Parameters

ParameterTypeInRequiredDescription
pageintegerqueryPage number for pagination
sizeintegerqueryPage size for pagination
distinctstringqueryIf true, only distinct public sources are returned

Responses

✅ 200 - List of tenant sources

⚠️ 401 - undefined

❌ 500 - undefined

Tags

Sources

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer
default:1

Page number for pagination

Example:

1

size
integer
default:100

Page size for pagination

Example:

100

distinct
enum<string>
default:false

If true, only distinct public sources are returned

Available options:
true,
false

Response

List of tenant sources

count
integer
Example:

1

rows
object[]
I