PubNub
communityReal-time messaging infrastructure for chat, IoT, and interactive media applications.
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.
GET
https://ps.pndsn.com/publish/{pubKey}/{subKey}/0/{channel}/0/{message}Publish message
Parameters
pubKeypublish key (stringrequiredsubKeysubscribe key (stringrequiredchannelchannel (stringrequiredmessageJSON message (stringrequiredReturns
status, timetoken, infoGET
https://ps.pndsn.com/v3/history/sub-key/{subKey}/channel/{channel}Get message history
Parameters
maxresults (integeroptionalsubKeysubscribe key (stringrequiredchannelchannel (stringrequiredReturns
channels.{channel}[] with message, timetoken, uuidGET
https://ps.pndsn.com/v2/presence/sub-key/{subKey}/channel/{channel}Get presence
Parameters
subKeysubscribe key (stringrequiredchannelchannel (stringrequiredReturns
occupancy, uuids[]