ably.io

The REST API specification for Ably.

🔑 basic 22 endpoints cloud
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (5 total)

ably-js ✓ Official
npm install ably-js
ably-go ✓ Official
go get github.com/ably/ably-go
ably-java ✓ Official
# Maven: see https://github.com/ably/ably-java
ably-php ✓ Official
composer require ably-php
ably-flutter ✓ Official
# See https://github.com/ably/ably-flutter
curl examples
Get the service time
curl \
  -u "$API_USER:$API_PASS" \
  https://rest.ably.io/time
Retrieve usage statistics for an application
curl \
  -u "$API_USER:$API_PASS" \
  https://rest.ably.io/stats
Enumerate all active channels of the application
curl \
  -u "$API_USER:$API_PASS" \
  https://rest.ably.io/channels
Endpoints (22 total)
GET
/time
Get the service time
GET
/stats
Retrieve usage statistics for an application
GET
/channels
Enumerate all active channels of the application
GET
/push/channels
List all channels with at least one subscribed device
GET
/channels/{channel_id}
Get metadata of a channel
GET
/push/deviceRegistrations
List devices registered for receiving push notifications
GET
/push/channelSubscriptions
List channel subscriptions
GET
/channels/{channel_id}/messages
Get message history for a channel
GET
/channels/{channel_id}/presence
Get presence of a channel
GET
/push/deviceRegistrations/{device_id}
Get a device registration
GET
/channels/{channel_id}/presence/history
Get presence history of a channel
GET
/push/deviceRegistrations/{device_id}/resetUpdateToken
Reset a registered device's update token
At a glance
Total SDKs5
Languages5
Endpoints22
Authbasic
Categories1
https://rest.ably.io
Other Ably APIs (1)
control