SMS & WhatsApp Messaging

WhatsApp typing indicator

Marks a WhatsApp message you received as read and shows your contact a typing indicator while you prepare the reply. The indicator disappears when you reply, or after about 25 seconds. Not a message: nothing is stored or charged. Answered synchronously; a refusal by WhatsApp returns its META_* code. Requires the send scope and a connected WhatsApp Business number; sandbox keys simulate.

post/messages/typing

Request

  • Base URL: https://api.envoisms.ma/v1
  • URL: https://api.envoisms.ma/v1/messages/typing
  • Auth: HTTP bearer

Request body

message_idstring required

WhatsApp message id (wamid) of the message you received

typing_indicatorboolean

false sends the read receipt alone

phone_number_idstring

Which of your connected numbers received the message; defaults to your default number

Example request

{
  "message_id": "wamid.HBgLMjEyNjEyMzQ1Njc4FQIAEhgg"
}

Response

Accepted by WhatsApp (or simulated on a sandbox key)

status'ok' | 'simulated'
message_idstring
typing_indicatorboolean
sandboxboolean

Changes

No recorded changes to this operation across all 1 revision of this API.