Trigger selection
Use Integrating with Sela to choose between call-level, terminal, DNC, and reengagement updates. The full supported trigger enum is available in the Create a Webhook Subscription endpoint documentation.Configuration
Webhooks created through the API send payloads in the format below. A subscription can include static string-valued HTTP headers, such as an API key or bearer token. Header values are encrypted at rest and are never returned by the API. Destination URLs must usehttps and resolve to a public internet host. Redirects are not
followed, so a 3xx response counts as a failed delivery.
For security reasons, a subscription created through the API may start disabled
(
is_enabled: false) and will not fire until it is enabled. Editing or enabling a webhook
also requires extra permissions. Contact support@trysela.com to
have Sela staff enable your webhooks, or to grant your API user permission to edit and
enable webhooks.Sample Payload
The exact fields depend on the trigger, lead configuration, and whether recent chat details are enabled.Conditional Fields
last_chat is included only when the lead has a lead type and at least one completed call
or SMS conversation. When present, it can also contain:
transcript: The full conversation transcript. Omitted unless the Sela team enables transcripts for the subscription.messages: The ordered text messages of the conversation, each withid,index,role,text, andcreated_time. Sent only forSMS_COMPLETEandSMS_DNC.recording_url: A shareable link to the call recording. Sent only forRECORDING_AVAILABLE.warm_transfer: Details of the warm transfer, when the call included one.sip_destination: The SIP address the call was transferred to, when the transfer used SIP.