V2 > Callback

Creates a new callback.

post/1/vod/channel/{channel}/callback

Path parameters

channelinteger required

The Channel unique identifier

Request body

channel_idinteger required

<br/>This field must exist on the channels database in the id column.

eventsstring required
namestring required
descriptionstring
urlstring url required
response'"json"' | '"slack"' | '"v1compat"' | '"x-www-form-urlencoded"' required
auth'"basic"' | '"bearer"' | '"none"' required
basic_usernamestring

<br/>This field must be present and not empty if the auth field is equal to any of the following:basic

basic_passwordstring

<br/>This field must be present and not empty if the auth field is equal to any of the following:basic

bearer_tokenstring

<br/>This field must be present and not empty if the auth field is equal to any of the following:bearer

activeboolean required

Response

Created

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.