Skip to content

Authentication

The API uses AWS Cognito for authentication. This endpoint exchanges an authorization code for tokens and does not require an Authorization header.

Verify Token

GET /api/v1/verify

Exchange authorization code for tokens.

Query Parameters

Parameter Type Description Required
code string Authorization code from Cognito callback Yes

Responses

Status Code Description
200 Success. Response body contains the new ID token: {"id_token": "<id_token>", "refresh_token": "<refresh_token>"}.
400 Bad Request