Docs menuReply to a conversation
API documentationBahasa Indonesia

POST/api/v2/conversations/{id}/messages

Reply to a conversation

Reply with text or a file in a conversation the key's creator can see, on any channel the Inbox can reply on.

WhatsApp Official needs the 24-hour window; outside it, send a template with Send a message. Test keys only reply to conversations with test numbers. Use Idempotency-Key.

Send an Idempotency-Key header (for example a new UUID per request). A repeat with the same key within 24 hours gets the first answer again, so nothing is sent twice.

Key
kf_live_ / kf_test_… in the Authorization: Bearer header. Created in Settings › API & Webhook › Create key (Pengaturan › API & Webhook › Buat kunci).
Key scope
messages:send
Plan feature
WhatsApp sending API

Path parameters

  • idintegerrequired

    Conversation id.

Body (JSON)

  • typestring: text | image | video | audio | document

    Default text.

  • textobject

    { "body": "…" }.

  • mediaobject

    Same as Send a message.

Possible errors

Try it

Try it with a test key
Path parameters
/api/v2/conversations/{id}/messages

Send WhatsApp from your system with the Klik Flow API.

Mulai dengan paket Free. Ajak tim setelah ruang kerja siap.