v47

latestOpenAPI 3.0.3Discuss directly with founders for license.raw.githubusercontent.com2026-01-30251599686.2 KB
account

Converts a JWT (JSON Web Token) to an API token.

JWTs are commonly used for authentication in web applications. They contain encoded information about the user and are typically short-lived for security reasons.

This endpoint exists to allow clients who have authenticated via JWT (e.g., through Supabase) to obtain a long-lived API token. The API token can then be used for subsequent requests to the API without requiring frequent re-authentication.

This conversion process enhances security by separating the authentication mechanism (JWT) from the API access mechanism (API token), while providing a seamless experience for users transitioning from web-based authentication to API usage.

post/user/jwt_to_api_token/{jwt}

Path parameters

jwtstring required

JWT to convert to API token

Request body

full_namestring nullable
invitation_tokenstring uuid nullable

Response

Converted JWT to API token

permissionsPermission[] required
refresh_tokenstring required
session_expires_atstring required
session_tokenstring required