Presences

You can find more details about all parameters and their types in the WebHook documentation.

The presences array contains all presences that were sent to the webhook URL. Sent on event "presences.post". We mentioned more about the events here:Mode setting

Typing

{
  "presences": [
    {
      "contact_id": "919984351847",
      "status": "typing"
    }
  ],
  "event": {
    "type": "presences",
    "event": "post"
  },
  "channel_id": "MANTIS-M72HC"
}

Online

{
  "presences": [
    {
      "contact_id": "919984351847",
      "status": "online"
    }
  ],
  "event": {
    "type": "presences",
    "event": "post"
  },
  "channel_id": "MANTIS-M72HC"
}

Voice Recording

{
  "presences": [
    {
      "contact_id": "919984351847",
      "status": "recording"
    }
  ],
  "event": {
    "type": "presences",
    "event": "post"
  },
  "channel_id": "MANTIS-M72HC"
}

Format

contact_id*

ContactID string pattern: ^([\d]{7,15})?$

Contact ID

last_seen

number

Last seen timestamp

status

string

Presence status

Enum: [ online, offline, typing, recording, pending ]

Last updated