T

TalkJS REST API

REST discovered

Details
URL
https://api.talkjs.com
Docs
https://talkjs.com/docs/REST_API/
Authentication
TalkJS admin auth token Authorization: Bearer <credential> + TalkJS secret key discovered
TalkJS admin auth token jwt Get key ↗

First get your app ID and a secret key from the TalkJS dashboard Settings page. Then generate a JWT on your backend with payload `{ tokenType: 'admin' } and claims including issuer: <APP_ID>`; sign it with your TalkJS secret key. The REST API guide recommends creating a fresh short-lived token for each request.

TalkJS secret key api_key Get key ↗

In the TalkJS dashboard, open Settings. Under secret keys, click Create new secret key, then copy the key value. The docs state secret keys are used for authenticating the REST API directly and for signing TalkJS JWTs; keep the key on your backend only.

TalkJS secret key api_key discovered Get key ↗
Authorization: Bearer <credential>