Auth
Refresh Token
Exchange a valid refresh token for a new access token to maintain an active session without requiring the user to re-authenticate.
POST
Request Body
token
(string) - The refresh token issued during the initial authentication process. Used to obtain a new access token without requiring the user to sign in again.
Example Request
Response
access_token
(string) - The newly generated access token.refresh_token
(string) - A new refresh token (if applicable).token_type
(string) - The type of token issued (default: “bearer”).expires_at
(integer) - The timestamp (Unix epoch) indicating when the access token expires.refresh_expires_at
(integer) - The timestamp (Unix epoch) indicating when the refresh token expires.user
(object) - The authenticated user details.public_id
(UUID) - The user’s unique identifier.email
(string) - The user’s email address.name
(string) - The user’s name.organization_public_id
(UUID) - The public identifier of the organization.
Example Response
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
API versioning is required. Include the header X-API-Version
with current version value in all requests.
Example:
"v1"
Body
application/json
Response
200 - application/json
The response is of type object
.