A
Ably SSE API
Details
- URL
-
https://main.realtime.ably.net/sse - Docs
- https://ably.com/docs/api/sse
Authentication
?key=<credential> /Authorization: Basic <credential> Create an API key in the Ably dashboard under API Keys: click Create a new API key, name it, choose capabilities, optionally enable token revocation, and save it. Keep the full key string (appId.keyId:keySecret) secret; it is used directly for trusted-server basic auth and to sign or mint client tokens/JWTs.
Ably client JWT jwt discovered
?accessToken=<credential> Have your trusted server create and sign a JWT using your Ably API key secret as described in JWT authentication. The JWT must include Ably claims such as x-ably-capability, iat, and exp; clients typically obtain it from your own authUrl or authCallback endpoint rather than from Ably directly.