Presences

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

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