challengeBrowserPlayer
POST
/api/v1/player/browser/challenge
const url = 'https://example.com/api/v1/player/browser/challenge';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"slotId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","bindingId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/player/browser/challenge \ --header 'Content-Type: application/json' \ --data '{ "slotId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "bindingId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'Create one two-minute challenge for the current slot and binding. Rate limited; no-store.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
slotId
required
string format: uuid
bindingId
required
string format: uuid
Examplegenerated
{ "slotId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "bindingId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Responses
Section titled “ Responses ”Single-use device-key challenge
Media typeapplication/json
object
data
required
object
nonce
required
string
message
required
The complete text the device key signs, tilecast-browser-player-v1:<slotId>:<bindingId>:<nonce>. Signing the nonce alone is rejected.
string
expiresAt
required
string format: date-time
Examplegenerated
{ "data": { "nonce": "example", "message": "example", "expiresAt": "2026-04-15T12:00:00Z" }}Binding is invalid or replaced
Same-origin HTTPS required
Rate limited