Skip to main content
Exchanges a WorkOS authorization code or refresh token for user access tokens as part of sign-in or session renewal. An existing Bearer token is not required.
Base URL: https://app.counso.ai

Authentication

Exchange an authorization code (and its PKCE verifier when applicable), or send grant_type=refresh_token with a refresh token. No existing Bearer token is required. JSON and form-encoded request bodies are accepted.

Request body

Content-Type: application/json Content-Type: application/x-www-form-urlencoded Field constraints and nested structures are defined in the specification below.

Responses

Specification

Download the complete OpenAPI / Postman files.