Reply in conversation
/ admin/ v1/ stores/ {store_id}/ conversations/ {conversation_id}/ messages- messages:write
- Idempotency-Key supported
Writes in the conversation: a reply while the channel allows (WhatsApp: 24 hours after the customer's last message; Instagram and Messenger: 24 hours, then 7 under the human agent tag when snizu's app has it), an answer to one of the customer's comments, or a note for the team.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.conversation_idstringrequiredThe conversation's ID, like
conv_01k8qs5s….
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
bodystringrequired1 to 4096 characters (a note: 2000; a public answer under a comment: 2000).
notebooleantrue: a note for the team, never sent.comment_idstring · or nullAnswers this comment of the customer's…
reply_modeenum · or null…publicly under it, or with the one private message Meta allows.
- public
- private
Returns
201 Queued, or kept (a note).
Errors
- 404
not_foundNo such conversation or comment. - 409The channel's window is closed (
window_closed,private_reply_closed,private_reply_sent), or its account isn't connected (whatsapp_unavailable,channel_unavailable). - 422
validation_failedEmpty or too long. - 429
rate_limitedThe store's team wrote too much this minute.