Skip to main content

Issue user token

POST 

/v1/users/:user_id/tokens

Issues a bearer token for one of the project's end users. Your backend calls this and hands the token to the user's app, which then calls the end-user operations (sessions, messages, files, voice) with it. expires_in sets its lifetime (60–86400 seconds, 3600 by default). A disabled user cannot be issued a token. Issuing a new token leaves the user's earlier ones working; revoke them to stop them.

Request​

Responses​

Successful Response