Ably · Schema

Message

Message object.

Real-TimeWebSocketsPub-SubMessagingStreamingPush NotificationsChatLiveSync

Properties

Name Type Description
name string The event name, if provided.
data string The string encoded payload, with the encoding specified below.
id string A Unique ID that can be specified by the publisher for [idempotent publishing](https://www.ably.io/documentation/rest/messages#idempotent).
timestamp integer Timestamp when the message was received by the Ably, as milliseconds since the epoch.
encoding string This will typically be empty as all messages received from Ably are automatically decoded client-side using this value. However, if the message encoding cannot be processed, this attribute will contai
clientId string The [client ID](https://www.ably.io/documentation/core-features/authentication#identified-clients) of the publisher of this message.
connectionId string The connection ID of the publisher of this message.
extras object
View JSON Schema on GitHub

JSON Schema

ably-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Message",
  "title": "Message",
  "type": "object",
  "description": "Message object.",
  "properties": {
    "name": {
      "description": "The event name, if provided.",
      "type": "string"
    },
    "data": {
      "description": "The string encoded payload, with the encoding specified below.",
      "type": "string"
    },
    "id": {
      "description": "A Unique ID that can be specified by the publisher for [idempotent publishing](https://www.ably.io/documentation/rest/messages#idempotent).",
      "type": "string",
      "readOnly": true
    },
    "timestamp": {
      "description": "Timestamp when the message was received by the Ably, as milliseconds since the epoch.",
      "type": "integer",
      "format": "int64",
      "readOnly": true
    },
    "encoding": {
      "description": "This will typically be empty as all messages 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"
    },
    "clientId": {
      "description": "The [client ID](https://www.ably.io/documentation/core-features/authentication#identified-clients) of the publisher of this message.",
      "type": "string"
    },
    "connectionId": {
      "description": "The connection ID of the publisher of this message.",
      "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ably-message"
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.