v1

latestOpenAPI 3.1.02026-07-24474114.4 KB

Create a Webhook

Create a new webhook

post/webhooks

Request body

namestring required

The name of the webhook

action'metric' | 'override' | 'device' | 'setPlaylist' required

The action to take on webhook trigger

action_parametersobject

The parameters for the action

filterstring

Filter for the action

querystring

pass a value to metric

override_durationinteger
pause_override_onstring

property to pause override on

play_override_onstring

property to play override on

commands'nextpage' | 'previouspage' | 'pause/resume' | 'restart' | 'identify' | 'debug'

set a command for device control webhook

Response

200

account_idstring
actionstring
commandstring
idstring
namestring
tagstring

Example response

{
  "account_id": "5dba92731b5d034f7d8dca3d",
  "action": "device",
  "action_parameters": {
    "id": "617f8fdaaa4a7e79c5217ff8"
  },
  "command": "nextpage",
  "id": "61b895e1aa4a7e253e34d23a",
  "name": "vevod",
  "tag": "wh970beddd31c762a84a5631e64905791a"
}