# 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:[Detailed webhook settings](/help-desk/receiving/webhooks/detailed-webhook-settings.md#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

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.whapi.cloud/help-desk/receiving/webhooks/incoming-webhooks-format/other/presences.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
