Skip to main content
POST
Exchange a user token for one scoped to another company

Authorizations

Authorization
string
header
required

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

Body

application/json
company_id
integer
required

The ID of the company to exchange the token for.

Required range: x >= 0

Response

OK

user
object
required

The signed-in user, in the company the token is scoped to.

api_token
object
required