latestOpenAPI 3.0.12026-08-10314983.7 KB

a276d2543838

Subscriptions

post/v1/bots/{bot_id}/subscriptions

Path parameters

bot_idstring required

the id of the bot

Request body

bot_versionstring
targetstring
secretstring
event_typestring

The event type you want to be notified about. One of TRACKING_EVENT, FLOW_EVENT or MESSAGE_EVENT

event_namesstring[]
versionstring

Example request

{
  "bot_version": "LIVE",
  "target": "https://httpbin.org/post",
  "event_type": "TRACKING_EVENT",
  "version": "v1"
}

Response

A successful response.