Ably · Schema

Recipient

Push recipient details for a device.

Real-TimeWebSocketsPub-SubMessagingStreamingPush NotificationsChatLiveSync

Properties

Name Type Description
transportType string Defines which push platform is being used.
deviceToken string when using APNs, specifies the required device token.
registrationToken string when using GCM or FCM, specifies the required registration token.
encryptionKey object when using web push, specifies the required encryptionKey.
clientId string Client ID of recipient
deviceId string Client ID of recipient
View JSON Schema on GitHub

JSON Schema

ably-recipient-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Recipient",
  "title": "Recipient",
  "type": "object",
  "description": "Push recipient details for a device.",
  "properties": {
    "transportType": {
      "type": "string",
      "description": "Defines which push platform is being used.",
      "enum": [
        "apns",
        "fcm",
        "gcm",
        "web"
      ]
    },
    "deviceToken": {
      "type": "string",
      "description": "when using APNs, specifies the required device token."
    },
    "registrationToken": {
      "type": "string",
      "description": "when using GCM or FCM, specifies the required registration token.",
      "properties": {
        "auth": {
          "type": "string",
          "description": "An Elliptic curve Diffie-Hellman public key on the P-256 curve. Obtained from a PushDescription using the `getKey` method."
        },
        "p256dh": {
          "type": "string",
          "description": "An authentication secret, as described by [Message Encryption for Web Push](https://datatracker.ietf.org/doc/html/draft-ietf-webpush-encryption-08)."
        }
      }
    },
    "encryptionKey": {
      "type": "object",
      "description": "when using web push, specifies the required encryptionKey."
    },
    "clientId": {
      "type": "string",
      "description": "Client ID of recipient",
      "writeOnly": true
    },
    "deviceId": {
      "type": "string",
      "description": "Client ID of recipient",
      "writeOnly": true
    }
  }
}

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-recipient"
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.