/conversationsCreate a conversation
Creates a conversation initiated by a contact and returns the created message. The conversation can be an in-app message only; include the contact in from and the message text in body. When you identify a visitor in from, the visitor is converted to a contact with a lead role.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Conversation message details. Include the contact in from and the message content in body.
One documented failure
unauthorizedAccess Token Invalid
One documented failure
api_plan_restrictedActive subscription needed.
One documented failure
not_foundUser Not Found
A 401 is returned when the request is unauthorized, a 403 when the API plan restricts access, and a 404 when the contact is not found. If you send a request body, include from and body; from.type must be lead, user, or contact, and from.id must be a 24-character UUID.