Events
conversation.created
Fires when a new conversation thread is created, on the first inbound message from a contact.
WEBHOOK
Fires when a new conversation is created. A conversation is the thread that ties all messages between a specific phone number and a specific contact. Surge creates a new conversation the first time a contact messages one of your numbers (or the first time you message a new contact).
When a contact sends their first message, both
conversation.created and message.received fire. Subsequent messages on the same thread fire only message.received.
Common use case
Useconversation.created to create a support ticket, add a lead to your CRM, or notify your team when a new contact reaches out for the first time.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The ID of the account in which this event occurred
The data associated with the event
The timestamp when this event occurred, in ISO8601 format
The type of the event. Always conversation.created for this event.
Allowed value:
"conversation.created"Response
200
Return a 200 status to indicate that the data was received successfully