Ably
communityRealtime messaging infrastructure for pub/sub, presence, and data streaming at scale.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://rest.ably.io/channels/{channel}/messagesPublish message to a channel
Parameters
datamessage payload (anyrequirednameevent name (stringoptionalchannelchannel name (stringrequiredReturns
messageId, channel, timestampGET
https://rest.ably.io/channels/{channel}/presenceGet channel presence members
Parameters
limitresults (integeroptionalchannelchannel name (stringrequiredReturns
members[] with clientId, connectionId, data, action, timestampGET
https://rest.ably.io/channels/{channel}/messagesGet channel message history
Parameters
limitresults (integeroptionalchannelchannel name (stringrequireddirectionbackwards|forwards (stringoptionalReturns
messages[] with id, name, data, timestamp, clientId