Ably · Schema
PresenceMessage
Real-TimeWebSocketsPub-SubMessagingStreamingPush NotificationsChatLiveSync
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique ID assigned by Ably to this presence update. |
| action | string | The event signified by a PresenceMessage. |
| data | string | The presence update payload, if provided. |
| clientId | string | The client ID of the publisher of this presence update. |
| connectionId | string | The connection ID of the publisher of this presence update. |
| timestamp | integer | Timestamp when the presence update was received by Ably, as milliseconds since the epoch. |
| encoding | string | This will typically be empty as all presence updates received from Ably are automatically decoded client-side using this value. However, if the message encoding cannot be processed, this attribute wil |
| extras | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PresenceMessage",
"title": "PresenceMessage",
"type": "object",
"properties": {
"id": {
"description": "Unique ID assigned by Ably to this presence update.",
"type": "string",
"readOnly": true
},
"action": {
"description": "The event signified by a PresenceMessage.",
"type": "string",
"enum": [
"ABSENT",
"PRESENT",
"ENTER",
"LEAVE",
"UPDATE"
],
"readOnly": true
},
"data": {
"description": "The presence update payload, if provided.",
"type": "string"
},
"clientId": {
"description": "The client ID of the publisher of this presence update.",
"type": "string"
},
"connectionId": {
"description": "The connection ID of the publisher of this presence update.",
"type": "string"
},
"timestamp": {
"description": "Timestamp when the presence update was received by Ably, as milliseconds since the epoch.",
"type": "integer",
"format": "int64",
"readOnly": true
},
"encoding": {
"description": "This will typically be empty as all presence updates received from Ably are automatically decoded client-side using this value. However, if the message encoding cannot be processed, this attribute will contain the remaining transformations not applied to the data payload.",
"type": "string"
},
"extras": {
"$ref": "#/components/schemas/Extras"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ably-presencemessage"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.