Skip to content

Provisioning API

The Provisioning API pairs display devices (TVs and signage players) with a workspace, reports what they are doing, and sends them playback and remote-control commands. Its main resources are the device, the pairing code a device shows on screen, and the channel group a TV in linear-TV mode plays.

Resources

Resource What it is
Device A paired TV or signage player in a workspace, with its status, hardware details and placement in a space.
Pairing code A 6-digit code a device shows on screen so a user can pair it. Valid for 10 minutes.
Device token The token a paired device uses for its own calls, issued once the code is claimed. Valid for 365 days.
Command A one-off instruction sent to a device: reboot, power, volume, or a player command.
Device channel group The published channel group a device in playout mode plays, with tabs for a TV guide.
Screenshot The last picture of the screen a device sent.
Play log (proof of play) The device's own record of each item it played.
Power schedule The on and off times of the screen for each weekday.

Authentication and permissions

Two kinds of caller use this API. See Authentication for how to get a user access token.

  • Your application, for a user: every route under /displays/{workspaceId} needs Authorization: Bearer <ACCESS_TOKEN> and the workspace permission below.
  • The device itself: five routes under /devices are called by the TV or player app, with no user login: generate-code, check-claim and heartbeat-public (pairing and presence), and the two channel reads (/devices/{deviceId}/channels/groups and /channels/categories) a playout device uses to load its channels. They are marked "Device" in the endpoint list.
Action Permission
List devices, read one device, its status, screenshot, play log, activity, placement history, content sources, power schedule and power adherence; list the workspace's playlists workspace:devices:view
Ask a device for a screenshot (capture) workspace:devices:view
Pair a device with a code workspace:devices:create
Update a device, relink it, move it to a space, set lifecycle dates, bandwidth limit or power schedule, play, stop, test-play, refresh its info, look up its location workspace:devices:edit
Delete a device workspace:devices:delete
Send a command workspace:devices:view, workspace:devices:edit or workspace:devices:delete, depending on the command (see Commands)
List the organization's unassigned devices, assign one to a workspace Organization owner or organization admin

Base path

Management routes, on CoreAPI:

https://<API_HOST>/api/v1/displays/{workspaceId}/…

{workspaceId} is the ID of the workspace the devices belong to (<WORKSPACE_ID>; see Find your workspace ID). The organization comes from your access token: send no X-Organization-ID (flat routes such as the Catalogue API do need it; see API conventions). A spaceId is the ID of a space; see the Spatial API.

Device routes, on CoreAPI:

https://<API_HOST>/api/v1/devices/…

The hosts for each environment are in API conventions.

Capabilities

  • Pair a device with a 6-digit code, and relink a device with a new code
  • List, read, update and delete the devices of a workspace
  • Assign an unassigned device of the organization to a workspace
  • Report device status: online or offline, screen on or off, hardware, storage, CPU and memory
  • Take a screenshot of the screen and read the last one
  • Send commands: reboot, power, volume and player commands
  • Play a playlist now, stop it, or play it for a set number of minutes and then return to the normal content
  • Place a device in a space and read its placement history
  • Set lifecycle dates, a download bandwidth limit and a weekly power schedule
  • Read the play log (proof of play) and the power-schedule adherence
  • Serve a TV in playout mode its published channel group, with filters and guide tabs

Object model

Device

Returned by GET /displays/{workspaceId} (an array) and GET /displays/{workspaceId}/{deviceId}. Fields you can write are sent with PUT /displays/{workspaceId}/{deviceId}; the others are set by the server.

Field Type Writable Description
id string (UUID) No ID of the device.
organizationId string No Organization that owns the device.
workspaceId string or null No Workspace the device belongs to. null for an unassigned device.
name string Yes Display name.
description string or null Yes Free text.
serialNumber string Yes Hardware serial. Set to SN-<code> when the device is paired. Unique: a serial already used by another device is ignored.
status string No Online if the device was heard from in the last 5 minutes, otherwise Offline.
lastSeenAt string (ISO 8601 UTC) or null No Last heartbeat or report.
displayScheduledOff boolean No true when the device is online but outside its content's operating hours, so the screen is meant to be off.
appMode string Yes tellyboard (digital signage, default) or playout (linear-TV channel player).
currentPlaylistId string or null No Playlist last sent with play. Cleared by stop.
nowPlaying object No What the device should be showing: source (emergency, campaign, direct, timeblock, feed or none) and name.
volume integer Yes 0-100. 100 when paired.
orientation string Yes Screen orientation. landscape when paired.
timezone string Yes IANA time zone. UTC when paired.
isRemoteControlEnabled, isPanelControlEnabled boolean No true when paired.
wolEnabled, dpmEnabled boolean Yes Wake-on-LAN and display power management.
dpmSignalType string Yes Display power management signal mode.
deviceType string Yes Default signage.
approvalStatus string Yes Default approved on read.
manufacturer, model, playerVersion, firmwareVersion, osVersion, platformName, platformVersion string or null model, osVersion, platformName, platformVersion Hardware and software, reported by the device.
ipAddress, macAddress string Yes Network identifiers, reported by the device.
storageUsedBytes, storageTotalBytes integer or null Yes Storage, in bytes.
downloadBandwidthLimitMbps number or null No (use bandwidth-limit) Download cap in Mbit/s. null = no limit.
warrantyEndDate, expectedRefreshDate string (date) or null No (use lifecycle) Lifecycle dates.
locationId string or null No (use location) Space the device is placed in.
locationName, locationPath, locationCountryCode string No The space's name, its path (Venue > Building > Floor > Space > Endpoint) and country code.
endpointId, endpointName string or null No The endpoint (screen slot) the device is seated in.
groups array of strings No Names of the target groups the device belongs to.
continent, country, countryCode, regionName, city, isp string Yes Location from the device's public IP, filled by geo.
latitude, longitude number or null No Coordinates, if set. Not filled by geo.
createdAt, updatedAt string (ISO 8601 UTC) No

PUT replaces every writable field

PUT /displays/{workspaceId}/{deviceId} writes every writable field from the body, so a field you leave out is cleared. Read the device first, change what you need, and send the whole object back. appMode must be tellyboard or playout.

{
  "id": "6f1c2a9e-3b7d-4c0e-9a51-2d8f4e7b1c30",
  "organizationId": "org_7Hq2kR",
  "workspaceId": "b3e1f0d4-8a2c-4f6e-9d17-5c0a3e9b2f48",
  "name": "Lobby screen A",
  "description": null,
  "serialNumber": "SN-483921",
  "status": "Online",
  "lastSeenAt": "2026-11-16T08:41:12Z",
  "displayScheduledOff": false,
  "appMode": "tellyboard",
  "currentPlaylistId": null,
  "nowPlaying": { "source": "feed", "name": "Lobby feed" },
  "volume": 40,
  "orientation": "landscape",
  "timezone": "Asia/Bangkok",
  "isRemoteControlEnabled": true,
  "isPanelControlEnabled": true,
  "wolEnabled": false,
  "dpmEnabled": false,
  "dpmSignalType": "",
  "deviceType": "signage",
  "approvalStatus": "approved",
  "manufacturer": "LG",
  "model": "55UR640S",
  "playerVersion": "3.4.1",
  "firmwareVersion": null,
  "osVersion": "webOS 6.0",
  "platformName": "webOS",
  "platformVersion": "6.0",
  "ipAddress": "203.0.113.24",
  "macAddress": "00:1A:2B:3C:4D:5E",
  "storageUsedBytes": 2147483648,
  "storageTotalBytes": 8589934592,
  "downloadBandwidthLimitMbps": null,
  "warrantyEndDate": "2028-06-30T00:00:00Z",
  "expectedRefreshDate": null,
  "locationId": "9a0d6e2f-1b4c-4a7e-8f35-6c2b0d1e9a77",
  "locationName": "Lobby",
  "locationPath": "Grand Hotel > Tower A > Floor 1 > Lobby > TV Lobby A",
  "locationCountryCode": "TH",
  "endpointId": "e5b7c9d1-2f3a-4b6c-8d0e-1f2a3b4c5d6e",
  "endpointName": "TV Lobby A",
  "groups": ["Public signage"],
  "continent": "Asia",
  "country": "Thailand",
  "countryCode": "TH",
  "regionName": "Bangkok",
  "city": "Bangkok",
  "isp": "Example ISP",
  "latitude": null,
  "longitude": null,
  "createdAt": "2026-10-02T03:15:00Z",
  "updatedAt": "2026-11-16T08:40:00Z"
}

Lists

None of the device list routes is paginated: there is no page and no meta. A list returns every item as a bare JSON array, and [] when there are none.

List Order and limit
Devices of a workspace, unassigned devices, the workspace's playlists Devices by name (A to Z). Playlists have no limit and no guaranteed order.
Play log (proof-of-play) Newest first. limit 1-1000, default 200; an out-of-range value falls back to 200. The body is an object with count, completed and plays, not an array.
Activity Newest first. limit 1-200, default 50.
Placement history Newest first. limit 1-200, default 5.
curl "https://<API_HOST>/api/v1/displays/<WORKSPACE_ID>" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
[
  {
    "id": "6f1c2a9e-3b7d-4c0e-9a51-2d8f4e7b1c30",
    "organizationId": "org_7Hq2kR",
    "workspaceId": "b3e1f0d4-8a2c-4f6e-9d17-5c0a3e9b2f48",
    "name": "Lobby screen A",
    "description": null,
    "serialNumber": "SN-483921",
    "status": "Online",
    "lastSeenAt": "2026-11-16T08:41:12Z",
    "displayScheduledOff": false,
    "appMode": "tellyboard",
    "currentPlaylistId": null,
    "nowPlaying": {
      "source": "feed",
      "name": "Lobby feed"
    },
    "volume": 40,
    "orientation": "landscape",
    "timezone": "Asia/Bangkok",
    "isRemoteControlEnabled": true,
    "isPanelControlEnabled": true,
    "wolEnabled": false,
    "dpmEnabled": false,
    "dpmSignalType": "",
    "deviceType": "signage",
    "approvalStatus": "approved",
    "manufacturer": "LG",
    "model": "55UR640S",
    "playerVersion": "3.4.1",
    "firmwareVersion": null,
    "osVersion": "webOS 6.0",
    "platformName": "webOS",
    "platformVersion": "6.0",
    "ipAddress": "203.0.113.24",
    "macAddress": "00:1A:2B:3C:4D:5E",
    "storageUsedBytes": 2147483648,
    "storageTotalBytes": 8589934592,
    "downloadBandwidthLimitMbps": null,
    "warrantyEndDate": "2028-06-30T00:00:00Z",
    "expectedRefreshDate": null,
    "locationId": "9a0d6e2f-1b4c-4a7e-8f35-6c2b0d1e9a77",
    "locationName": "Lobby",
    "locationPath": "Grand Hotel > Tower A > Floor 1 > Lobby > TV Lobby A",
    "locationCountryCode": "TH",
    "endpointId": "e5b7c9d1-2f3a-4b6c-8d0e-1f2a3b4c5d6e",
    "endpointName": "TV Lobby A",
    "groups": [
      "Public signage"
    ],
    "continent": "Asia",
    "country": "Thailand",
    "countryCode": "TH",
    "regionName": "Bangkok",
    "city": "Bangkok",
    "isp": "Example ISP",
    "latitude": null,
    "longitude": null,
    "createdAt": "2026-10-02T03:15:00Z",
    "updatedAt": "2026-11-16T08:40:00Z"
  }
]

Commands

POST /displays/{workspaceId}/{deviceId}/command takes {"type": …, "payload": …}. The permission you need depends on the command.

type payload Permission
getDeviceInfo none workspace:devices:view
reboot none workspace:devices:edit
power "ON" or "OFF" workspace:devices:edit
volume Whole number 0-100 workspace:devices:edit
player_command A command name, or {"command": <name>, …} By name, below
Player command names Permission
GET_SYSTEM_USAGE, GET_DPM_STATUS, GET_USAGE_DATA, GET_POWER_STATUS, GET_VERSION_INFO, GET_MD5, CAPTURE_SCREEN workspace:devices:view
REBOOT, REBOOT_APP, SYNC_STORAGE, CLEAR_CACHE, SET_PORTRAIT, SET_CONTENT_ROTATION, TOGGLE_CLOCK, SET_WOL, SET_DPM_WAKEUP, SET_TIMEZONE_AND_TIME, CHANGE_LOGO, STOP, PAUSE, RESUME, SWITCH_TO_PLAYOUT, SWITCH_TO_TELLYBOARD workspace:devices:edit
DELETE_FILE, DELETE_BULK, DOWNLOAD_FIRMWARE, UPGRADE_FIRMWARE, UPGRADE_APP, UPDATE_COMPONENT, SET_SERVER workspace:devices:delete

Any other name is refused with 400. A url field in a player command must be an http or https address. The body can be at most 256 KB. A 202 Accepted means the command was handed to the device's message channel, nothing more. No HTTP route returns the command's result. To check the state afterwards, read GET /displays/{workspaceId}/{deviceId}/status (add ?refresh=1 to ask the device for fresh info first):

curl "https://<API_HOST>/api/v1/displays/<WORKSPACE_ID>/<DEVICE_ID>/status?refresh=1" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
{
  "refreshed": true,
  "device": { "id": "6f1c2a9e-3b7d-4c0e-9a51-2d8f4e7b1c30", "online": true, "status": "Online", "volume": 40, "displayOn": true }
}

The device object has more fields (hardware, CPU, memory, storage); refreshed says whether the device answered in time.

Device channel group

GET /devices/{deviceId}/channels/groups returns an array with the one channel group published to the device, or [] when none is published to it yet.

Field Type Description
groupId string ID of the channel group.
groupName string Name of the group.
channels array of channels The channels, in guide order (below).
facets object Tabs for a guide: total, and categories, languages, channelTypes as {key, label, count} arrays. Counted over the whole group, before any filter, so the tabs stay stable while the channel list narrows. Keys are lower case and sorted.

Each channel:

Field Type Description
id integer ID of the channel. Use it to refer to the channel.
channelId string ID of the channel's place in the group (kept for older players).
chno integer Channel number in this group.
name, description string
url string Playback URL.
publicUrl string The same stream on the public streaming host, or "".
urlHls string HLS playlist, only for a channel relayed from an external source.
type string Always live (kept for older players). Use channelType.
channelType string live or scheduled.
logo string Logo for a dark background, else the light one.
logoLight, logoDark string The two logo variants, or "".
thumbnail string 400×225 image: a recent frame of a live channel, else the guide thumbnail, else "".
thumbnailUpdatedAt string When the live frame was taken (RFC 3339), or "" when thumbnail is not a live frame. Use it to refresh the image.
poster string 1920×1080 image.
primaryGenre, contentProvider string
genres, languages, tags, keywords, customGroups array of strings Never null.
categories array of strings The main genre followed by the sub genres, lower case, without repeats. A channel can sit under several categories.
durationSec, positionSec integer Only for some scheduled channels.

Image fields are full public URLs, or "" when not set.

States

Resource State Meaning
Device Online Heard from in the last 5 minutes.
Device Offline Not heard from in the last 5 minutes.
Pairing code pending Shown on screen, not claimed yet.
Pairing code claimed A user paired the device; check-claim returns the device token.
Pairing code expired More than 10 minutes old; check-claim returns 410. Generate a new code.

Errors

Device errors return {"error": "<message>"}. Sign-in and permission errors return {"message": "<message>"}.

Status When What to do
400 Missing or invalid field, unknown command, minutes outside 1-240, limitMbps outside 0-1000, bad date or time format Fix the request.
401 No valid access token (management routes) Sign in again.
403 Your role lacks the permission, or the command's tier; Organization admin only on the unassigned-device routes Ask an organization admin for the permission.
404 The device, playlist or space isn't in this workspace; the pairing code doesn't exist Check the IDs and the workspace.
409 The pairing code is already claimed; capture on an offline device Generate a new code; wait until the device is online.
410 check-claim on an expired code Generate a new code.
502 The command couldn't be sent, or the device failed to capture its screen Retry.
503 Device messaging is unavailable Retry after a short wait.
504 The device didn't answer in time (capture, command) Check the device is on the expected screen, then retry.

Bodies as returned:

{ "error": "Invalid request body" }

400, from a device route.

{ "message": "Unauthorized - No token provided" }

401. Other messages: Unauthorized - Invalid token format, Unauthorized - <reason the token was rejected>.

{ "message": "Forbidden - Insufficient permissions" }

403. The unassigned-device routes say Forbidden - Organization admin only.

{ "error": "Device not found in this workspace" }

404. Other messages: Playlist not found in this workspace, Location not found in this workspace, Code not found (from claim-code), Invalid or expired code (from relink).

{ "error": "Code already claimed" }

409. capture on an offline device returns { "error": "The device is offline (no contact in the last 5 minutes)" }.

{ "status": "expired" }

410, from check-claim only: this one body has status, not error.

{ "error": "Failed to query devices" }

500. A 502, 503 or 504 has the same error shape. When device messaging is unavailable the body is { "error": "MQTT broker not connected" }: read it as "device messaging is unavailable" and retry after a short wait.

Endpoints