Skip to content

Reply in conversation

POST/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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • conversation_idstringrequired

    The conversation's ID, like conv_01k8qs5s….

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • bodystringrequired

    1 to 4096 characters (a note: 2000; a public answer under a comment: 2000).

  • noteboolean

    true: a note for the team, never sent.

  • comment_idstring · or null

    Answers 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

  • 404not_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).
  • 422validation_failedEmpty or too long.
  • 429rate_limitedThe store's team wrote too much this minute.