OrbixPlay API
Playlists, Slots & List Codes
OrbixPlay provides simple and secure REST APIs for subscribers to manage playlists, check slot usage, and work with list codes. All endpoints require your customer key in the x-customer-key header.
OrbixPlay provides simple and secure REST APIs for subscribers to manage playlists, check slot usage, and work with list codes. All endpoints require your customer key in the x-customer-key header.
Every request must include your subscriber customer key. Only subscriber accounts can use these APIs.
Adds a new playlist for a specific device.
Endpoint
POST https://apis.orbixplay.com/add-playlistHeaders
Request Body
{
"query": {
"deviceid": "<device-id>",
"playlistName": "<playlist-name>",
"username": "<username>",
"password": "<password>",
"host": "<host-url-or-code>",
"notes": "<optional-notes>"
}
}Fields
Response
Deletes all playlists for the provided device.
Endpoint
POST https://apis.orbixplay.com/delete-playlistsHeaders
Request Body
{
"query": {
"deviceid": "<device-id>"
}
}Fields
Response
Returns slot usage for the subscriber. The email in the body must match the owner of the customer key.
Endpoint
POST https://apis.orbixplay.com/detect-slotsHeaders
Request Body
{
"query": {
"email": "<subscriber-email>"
}
}Fields
Response
Registers a playlist source (DNS, username, password) and returns a listcode. Returns the same code if an identical source already exists for your account.
Endpoint
POST https://apis.orbixplay.com/add-list-codeHeaders
Request Body
{
"dns": "http://example.com:8080",
"username": "<username>",
"password": "<password>",
"playlistName": "<playlist-name>"
}Fields
Response
Creates a playlist on a device using a listcode you own. Validates the device exists and enforces subscription slots.
Endpoint
POST https://apis.orbixplay.com/playlist-from-list-codeHeaders
Request Body
{
"listcode": 12345678,
"deviceid": "<device-id>",
"notes": "<optional-notes>"
}Fields
Response