# Presences

You can find more details about all parameters and their types in [the WebHook documentation](https://app.swaggerhub.com/apis-docs/HELLO_137/Whapi-Cloud-WhatsApp-API/1.8.5#/WebhookPayload).

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](https://support.whapi.cloud/help-desk/receiving/detailed-webhook-settings#mode-setting "mention")

### 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

<table data-header-hidden><thead><tr><th width="168"></th><th></th></tr></thead><tbody><tr><td>contact_id*</td><td><p>ContactID <code>string</code><br>pattern: ^([\d]{7,15})?$</p><p>Contact ID</p></td></tr><tr><td>last_seen</td><td><p><code>number</code></p><p>Last seen timestamp</p></td></tr><tr><td>status</td><td><p><code>string</code></p><p>Presence status</p><p>Enum:<br>[ online, offline, typing, recording, pending ]</p></td></tr></tbody></table>
