v1

latestSwagger 2.02026-07-1711177156.8 KB
auth

OAuth callback

Handles the OAuth callback flow for the specified provider.

get/oauth/{provider}/callback

Path parameters

providerstring required

OAuth provider

Query parameters

codestring required

OAuth code

statestring required

OAuth state

Response

OK

idstring

The unique identifier for the authenticated user (e.g., Google user ID).

tokenstring

The access token used for API requests. Typically expires after a short duration.

refreshtokenstring

The refresh token used to obtain new access tokens once the current one expires.

expiresininteger

The duration in seconds that the access token is valid for.