Sender Actions

Set typing indicators or send read receipts using the Send API, to let users know you are processing their request.

Example

curl -X POST -H "Content-Type: application/json" -d '{
  "recipient":{
    "id":"<PSID>"
  },
  "sender_action":"typing_on"
}' "https://graph.facebook.com/v2.6/me/messages?access_token=<PAGE_ACCESS_TOKEN>"

Fields

sender_action field

Field Value Description

mark_seen

Mark last message as read

typing_on

Turn typing indicators on

typing_off

Turn typing indicators off

  • Typing indicators are automatically turned off after 20 seconds