v1

latestSwagger 2.0Apache 2.02026-07-17171644.0 KB
Authentication

Complete OAuth authentication.

Completes OAuth authentication flow and returns authentication tokens

get/auth/{provider}/callback

Path parameters

providerstring required

OAuth provider (e.g., 'google', 'github')

Response

Authentication tokens

access_tokenstring

JWT access token used for API authorization

expires_atstring

When the access token expires

refresh_tokenstring

JWT refresh token used to obtain new access tokens

Example response

{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expires_at": "2025-04-25T12:00:00Z",
  "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}