Reply in conversation
Answer the customer.
On the conversation's own channel, in the shape it takes. WhatsApp: text, media by https link (image, document, video, audio for a voice note) or an approved template. Outside the 24 hours only a template goes. Instagram: InstagramContent; within 24 hours of the person's last message, then a person in the inbox for 7 days; a test key is refused. A person answering pauses the bot for the number's takeover window; audited without the message. Send an Idempotency-Key: without one each request is a new send.
conversation*stringThe conversation's id.
uuidcursor?stringlimit?integer1 <= value <= 100mark_read?booleanThe first page marks the thread read unless false.
trueIdempotency-Key?stringA fresh value per request; retry with the same one. The same key and
request answers with the first response and Idempotency-Replayed: true; the same key on a different request is 409 idempotency_key_reused; while the first is still running, 409 idempotency_in_progress. A 5xx frees the key only when nothing
reached the provider; any other answer is replayed. Kept 24 hours,
per workspace.
1 <= length <= 255X-Request-Id?stringYour id for this request; it becomes the request_id of any error. Without it the server makes one.
application/json- body
type?string"text""text""image""document""video""audio""template"content?stringlength <= 4096url?stringuricaption?stringlength <= 1024filename?stringlength <= 255template_name?stringlanguage?stringcomponents?array<>curl -X POST 'https://v3.ghala.io/v1/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08/messages' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "direction": "inbound", "message_type": "string", "content": "string", "status": "string", "error_message": "string", "wa_message_id": "string", "provider_message_id": "string", "media_url": "string", "media_mime_type": "string", "sent_at": "2019-08-24T14:15:22Z", "delivered_at": "2019-08-24T14:15:22Z", "read_at": "2019-08-24T14:15:22Z", "failed_at": "2019-08-24T14:15:22Z"}