Show typing, mark read

Works on
  • iMessage
  • WhatsApp

Show the person that a reply is coming, and that you read their messages

Show typing puts the typing dots in the conversation while you prepare a reply. Mark as read tells the person their messages were read.

Show typing

Name the conversation. The payload can be left out.

curl -X POST https://api.mapier.ai/v1/commands/typing.start \
  -H "Authorization: Bearer $MAPIER_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: typing-0192d0a1" \
  -H "x-mapier-version: 2026-12-01" \
  -d '{ "target": { "conversationId": "a0000000-0000-4000-8000-000000000001" } }'

The dots stop when your reply arrives.

Mark as read

Send conversation.mark_read with the same target. It marks a one-to-one conversation read on the line.

curl -X POST https://api.mapier.ai/v1/commands/conversation.mark_read \
  -H "Authorization: Bearer $MAPIER_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: read-0192d0a1" \
  -H "x-mapier-version: 2026-12-01" \
  -d '{ "target": { "conversationId": "a0000000-0000-4000-8000-000000000001" } }'

When the line cannot do it

A line whose channel has no typing dots or read marks refuses the command. To send both on every line without handling that, add "options": { "ifUnsupported": "skip" }: a line that cannot do it returns 200 {"skipped": true} and sends nothing.

Errors you may see

ErrorMeansFix
422 validation_failedNo conversationId, or not a one-to-one conversationName a one-to-one conversation
404 unsupported_command, not_on_channelThe line's channel does not show typing or read marksSend options.ifUnsupported: "skip"

Next