Auth
Refresh WorkOS token bundle
Refreshes a WorkOS AuthKit access token using the server-held WorkOS API key.
post/v1/auth/workos/refresh
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/auth/workos/refresh
- Auth: none declared
Request body
Example request
{
"refreshToken": "refresh_token_123"
}Response
Refreshed WorkOS token bundle.
Example response
{
"access_token": "example-access-token",
"email": "user@example.com",
"expires_at": 1790784000,
"refresh_token": "refresh_token_123",
"token_type": "Bearer",
"user_id": "user_01HABCDEF"
}Changes
No recorded changes to this operation across all 50 revisions of this API.