Webhooks

Create a webhook

Registers a URL for comment.created, message.postback and message.created events on one profile. Pass platform (instagram, tiktok, facebook or whatsapp) to receive one platform's events only; omit it to receive every supported platform. Each platform sends only some events: comment.created comes from Instagram and TikTok, message.postback from Instagram, and message.created (inbound direct messages) from Instagram, Facebook and WhatsApp. A platform with an event it does not send is 422 unsupported_for_platform. The signing secret is returned only in this response.

post/api/v1/webhooks

Request

  • Base URL
    https://app.tryadeli.com
  • Auth
    HTTP bearer

Request body

profileIdstring uuid required
urlstring required
eventsstring[] required
platform'instagram' | 'tiktok' | 'facebook' | 'whatsapp'

Receive events from this platform only. Omit to receive every supported platform. message.postback requires instagram or no platform; comment.created requires instagram, tiktok or no platform; message.created requires instagram, facebook, whatsapp or no platform.

Response

Success

secretstring required

Changes

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