Publishable keys
Use a publishable key when the page itself starts the call.Creating a key
In the dashboard, open the API Keys page and use Publishable keys. Each key has:- Key name: a label for you, for example
Marketing site. - Allowed origins: the exact origins that may use the key, one per line.
- Allowed agent ids (optional): comma-separated agent UUIDs. Leave it empty to allow every agent the key can reach.
- Access: which organization or reseller the key can reach.
Creating a publishable key requires a partner account user with the
create:api_keys permission (a Telzino Admin). Reseller admins can view and revoke the keys issued for their reseller, but cannot create them.Allowed origins
Origins are compared exactly: scheme, host and port.https://example.com does not allow https://www.example.com or http://example.com. A wildcard * is refused, and every key needs at least one origin. Add http://localhost:5173 (or your dev port) while developing.
If a page runs on an origin that is not listed, the browser blocks the request. In the SDK, start() rejects with origin_not_allowed, or with network if the browser blocked the response entirely.
Revoking a key
Revoke a key from the same list. Revocation takes effect immediately: the next session request with that key fails withinvalid_key.
Limits
Publishable keys are rate limited, because the key is public:- 60 session requests per minute per key.
- 10 session requests per minute per key and client IP.
- A daily session cap per key, 2,000 sessions by default, counted from 00:00 UTC.
429 rate_limited and the SDK rejects with rate_limited, which is recoverable. If Telzino cannot verify the daily count, it fails closed and also answers rate_limited.
Secret keys
When you want to identify the caller, or never expose any key to the browser, mint the session on your server. Authenticate with an access token from the OAuth client credentials flow and call the same endpoint:session provider instead of a key:
