Skip to main content
POST
/
auth
/
v1
/
bo
/
token
/
refresh
RefreshToken in the organization context and return tokens
curl --request POST \
  --url https://z52mnqg347.execute-api.eu-west-3.amazonaws.com/main/auth/v1/bo/token/refresh \
  --header 'Authorization: Bearer <token>' \
  --header 'content-type: <content-type>' \
  --data '
{
  "refreshToken": "dGhpcy1pcz1hLXJlZnJlc2gtdG9rZW4tZXhhbXBsZQ..."
}
'
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "sessionToken": "c2Vzc2lvbi10b2tlbi1leGFtcGxlLXN0cmluZw..."
}

Authorizations

Authorization
string
header
required

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

Headers

content-type
string
required

Content type, must be "application/json".

Allowed value: "application/json"

Body

application/json
refreshToken
string
required

Refresh token to obtain new access tokens.

Example:

"dGhpcy1pcz1hLXJlZnJlc2gtdG9rZW4tZXhhbXBsZQ..."

Response

201 - application/json

Tokens generated successfully

accessToken
string
required

Access token for authentication.

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

sessionToken
string
required

Session token for maintaining user sessions.

Example:

"c2Vzc2lvbi10b2tlbi1leGFtcGxlLXN0cmluZw..."