Skip to main content
GET
/
labels
/
{id}
Get Label by ID
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/labels/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "TenantId": 123,
    "name": "<string>",
    "logo": "<string>",
    "website": "<string>",
    "country": "US",
    "foundedDate": "2023-12-25",
    "labelCode": "<string>",
    "dpid": "<string>",
    "contacts": {},
    "socialLinks": {},
    "distributionSettings": {},
    "catalogSettings": {},
    "ddexSettings": {},
    "parentLabelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "distribution": "<string>",
    "genres": [
      "<string>"
    ],
    "isActive": true,
    "metadata": {},
    "tradingName": "<string>",
    "pLinePrefix": "<string>",
    "cLinePrefix": "<string>",
    "isrcPrefix": "<string>",
    "upcPrefix": "<string>",
    "defaultReleaseType": "full",
    "parentLabel": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "logo": "<string>"
    },
    "childLabels": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "logo": "<string>"
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "artists": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "artistName": "<string>",
        "LabelArtist": {
          "contractType": "recording",
          "contractStartDate": "2023-12-25",
          "contractEndDate": "2023-12-25",
          "territories": [
            "<string>"
          ],
          "exclusivity": "exclusive"
        }
      }
    ],
    "products": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "title": "<string>",
        "LabelProduct": {
          "releaseType": "full"
        }
      }
    ]
  }
}
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/labels/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<uuid>
required

Response

Success

status
string
data
object