Conversations
Reply to a DM
Sends a text reply to the customer through Instagram or Facebook Messenger. The message is delivered immediately and cannot be unsent.
24-hour reply window
Instagram and Facebook only allow a business to reply within 24 hours of the customer's last message. After that the request fails with 400 and the code REPLY_WINDOW_CLOSED, and you can reply again once the customer writes. Check replyWindow.canReply on the conversation first.
Success response
Returns the sent message. The conversation's needsReply becomes false.
post/conversations/{conversationId}/reply
Request
- Base URL: https://api.postplanify.com/api/v1
- URL: https://api.postplanify.com/api/v1/conversations/{conversationId}/reply
- Auth: HTTP bearer
Path parameters
conversationIdstring uuid required
Conversation ID from GET /conversations.
Request body
Example request
{
"message": "Hi Sarah! Yes, the holiday blend is in stock."
}Response
Reply sent
Example response
{
"ok": true,
"data": {
"type": "TEXT",
"text": "Can I get a replacement? I need it before the weekend.",
"attachments": [
{
"type": "image",
"mimeType": "image/jpeg"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.