Reply to a conversation
Send a text message in a conversation within 24 hours of the other person's latest message.
curl -X POST "https://example.com/api/v1/conversations/22222222-2222-4222-8222-222222222222/messages" \ -H "Content-Type: application/json" \ -d '{ "platform": "instagram", "text": "Yes, we ship to Busan." }'{ "conversationId": "22222222-2222-4222-8222-222222222222", "platform": "instagram", "accountId": "11111111-1111-4111-8111-111111111111", "messageId": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAElEOjE3ODQxNDAx"}Send a text message in a direct message conversation, as the account that received it. Send the conversationId and platform from the conversations list. Instagram and Facebook accept replies only within 24 hours of the other person's latest message (replyWindowEndsAt). After that, the request fails with VALIDATION_ERROR and nothing is sent. You can't start a new conversation or send attachments. Posteady also adds the message to the conversation, so status changes to replied. If the request returns PLATFORM_ERROR or times out, the message may have been sent. Check the conversation before you send it again.
Authorization
apiKey In: header
Path parameters
conversationId from the conversations list.
uuidRequest body
application/json
TypeScript definitions
Use the request body type in TypeScript.
Response body
application/json
application/json
application/json
application/json
application/json
application/json