Reply to the customer as a person
POSThttps://platform.docana.com/api/v1/threads/:threadId/handoff/replies/
Sends the text to the customer on the channel the conversation runs on (WhatsApp or SMS) and keeps it in the conversation as written by a person. THIS REACHES A REAL CUSTOMER and cannot be taken back: send only what the user asked to say. It takes the conversation over first if the caller does not hold it. Not idempotent: calling it twice sends the message twice. A WhatsApp conversation the customer has not written in for more than a day is refused by the channel and answers 502.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 500
- 502
Sent and kept in the conversation
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
No write access to the employee
Conversation not found
Not a customer channel, handoff is off, or the customer cannot be reached from this conversation
Unexpected server error.
The channel did not take the message