Try a call

Mint a join token (CLI/curl)

Prefer `@rill/server` local `token()`. All three publish keys are required.

POST / v1 / calls / {id} / tokens

Prefer `@rill/server` local `token()`. All three publish keys are required.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Request body required

idstringrequired
namestring
publishobjectrequired
ttlstring

Responses

JWT

token string required
curl --request POST \
  --url "http://127.0.0.1:7880/v1/calls/{id}/tokens" \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"id":"alice","name":"Alice","publish":{"microphone":true,"camera":true,"screen":false},"ttl":"15m"}'
{
  "token": "<string>"
}

Type to search…

↑↓ navigate open esc close