Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Presence

2 routes. Paths are relative to https://api.intersink.com/v1.

All groups

Publish

POST/presence/publish

Needs a signed-in user (Bearer token or access_token cookie).

Share your state, or send an event, to the rooms of one of your connections.

Response

200. The payload in data is not described in the spec yet.

Stream

GET/presence/stream

Needs a signed-in user (Bearer token or access_token cookie).

Join presence rooms and receive everyone else's state and events as SSE: presence.hello (your connection id), presence.state, presence.event, presence.leave. ?rooms=channel:<id>,business:<id>,inbox:<id>; each must be yours; inbox: rooms are listen-only (no publishes, nobody heard).

Parameters

NameTypeDescription
roomsrequiredstring, query

Response

200. The payload in data is not described in the spec yet.