Create an event subscription
Register a public https:// URL that receives this channel’s events. Each delivery is one
ChannelEvent, signed with X-HookMyApp-Signature-256 using the secret returned only in
this response. To rotate the secret or change the URL, delete and create again.
Supported event types by channel type: WhatsApp whatsapp.message.received,
whatsapp.message.status, whatsapp.group.updated; Instagram instagram.message.received,
instagram.comment.received; Facebook Page: none yet. At most 25 per channel.
Errors: CHANNEL_ACTION_INPUT_INVALID (body shape, unknown type, empty events, label
over 120 characters), CHANNEL_EVENT_TYPE_UNSUPPORTED (a type this channel cannot
produce), WEBHOOK_URL_INVALID (not https or not a public host),
SUBSCRIPTION_LIMIT_REACHED (409).
Authorizations
Body
Response
Created. secret is returned only here.