Download OpenAPI specification:
Stipify API documentation.
Client credentials token endpoint accepting JSON (preferred) or form data.
| grant_type required | string Value: "client_credentials" |
| client_id required | string |
| client_secret required | string |
grant_type=client_credentials&client_id=your-client-id&client_secret=your-client-secret
{- "access_token": "string",
- "token_type": "Bearer",
- "expires_in": 0
}Issues a UDT for the specified user/device using tenant client credentials.
| userId required | string ID of the end user for whom the UDT is issued. |
| deviceId required | string <uuid> Unique identifier of the device the UDT is bound to. |
{- "deviceId": "a9b66a51-3cb6-4e66-bb94-675e83380fe5"
}{- "token_type": "Bearer",
- "expires_in": 600,
- "token": "token-string"
}Returns a paginated list of users belonging to the tenant.
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "date_of_birth": "2019-08-24",
- "status": "SUBSCRIBED",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "links": { },
- "meta": { }
}Creates a new user for the tenant.
| first_name required | string |
| last_name required | string |
| email required | string <email> |
| date_of_birth required | string <date> |
| status | string Enum: "SUBSCRIBED" "UNSUBSCRIBED" "PENDING_SUBSCRIPTION" |
{- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "date_of_birth": "2019-08-24",
- "status": "SUBSCRIBED"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "date_of_birth": "2019-08-24",
- "status": "SUBSCRIBED",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns details of a specific user.
| user required | string <uuid> ID of the user. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "date_of_birth": "2019-08-24",
- "status": "SUBSCRIBED",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Updates details of a specific user.
| user required | string <uuid> ID of the user. |
| first_name | string |
| last_name | string |
string <email> | |
| date_of_birth | string <date> |
| status | string Enum: "SUBSCRIBED" "UNSUBSCRIBED" "PENDING_SUBSCRIPTION" |
{- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "date_of_birth": "2019-08-24",
- "status": "SUBSCRIBED"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "date_of_birth": "2019-08-24",
- "status": "SUBSCRIBED",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns profile data for the caller authenticated with a UDT.
{- "user_id": "e916baf0-7985-417e-8a8a-6166baf0d9cd",
- "tenant_id": "0584967b-57e1-491b-8b3e-a84c5dfe6b66",
- "client_id": "019a82f5-c038-7357-a567-31ce76b96a52"
}Search for artists using the aggregator service.
| q required | string Search terms |
| page | integer >= 1 Page number |
| pageSize | integer [ 10 .. 50 ] Number of items per page |
{- "estimatedTotalItems": 0,
- "page": 0,
- "expectedPageSize": 0,
- "results": [
- {
- "id": 0,
- "name": "string",
- "popularity": 0,
- "score": 0
}
]
}Get detailed information about a specific artist.
| artistId required | string ID of the artist |
{- "status": "string",
- "version": "string",
- "artist": {
- "id": 0,
- "name": "string",
- "sortName": "string",
- "slug": "string",
- "image": "string",
- "bio": {
- "text": "string"
}
}
}Get releases for a specific artist.
| artistId required | string ID of the artist |
| usageTypes | string Enum: "download" "stream" Usage types (download or stream) |
| type | string Enum: "album" "single" "video" Release type |
| imageSize | integer Enum: 33 50 100 180 182 200 350 500 800 Image size |
| page | integer >= 1 Page number |
| pageSize | integer [ 10 .. 50 ] Number of items per page |
{- "status": "string",
- "version": "string",
- "releases": {
- "page": 0,
- "pageSize": 0,
- "totalItems": 0,
- "releases": [
- {
- "id": 0,
- "title": "string",
- "version": "string",
- "type": "string",
- "barcode": "string",
- "year": "string",
- "explicitContent": true,
- "artist": {
- "id": 0,
- "name": "string",
- "sortName": "string",
- "slug": "string",
- "image": "string",
- "bio": {
- "text": "string"
}
}, - "image": "string",
- "label": {
- "id": 0,
- "name": "string"
}, - "licensor": {
- "id": 0,
- "name": "string"
}, - "popularity": 0,
- "duration": 0,
- "trackCount": 0,
- "slug": "string"
}
]
}
}Browse artists by letter.
| letter required | string Letter to browse by |
{- "status": "string",
- "version": "string",
- "artists": {
- "page": 0,
- "pageSize": 0,
- "totalItems": 0,
- "artist": [
- {
- "id": 0,
- "name": "string",
- "sortName": "string",
- "slug": "string",
- "image": "string",
- "bio": {
- "text": "string"
}
}
]
}
}Returns an HLS manifest. The payload query parameter is an opaque token
that identifies the track to fetch.
| payload required | string Opaque token that identifies the track to fetch. |
{- "error": {
- "code": "bad_request",
- "message": "missing payload"
}
}Returns HLS segment bytes. The segment query parameter is an opaque token
that identifies the segment to fetch.
| payload required | string Opaque token that identifies the track to fetch. |
| segment required | string Opaque token that identifies the segment to fetch. |
| Range | string Optional byte-range request. |
| If-None-Match | string Optional ETag validator. |
| If-Modified-Since | string Optional date validator. |
{- "error": {
- "code": "bad_request",
- "message": "missing payload"
}
}