Skip to content
Guides
API reference
stable

Verify a login code

Verifies a one-time login code and signs in the user.

POST/v1/users/verify-code

Verifies a one-time login code and signs in the user.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/users/verify-code" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "code": "string"  }'
{  "type": null,  "title": null,  "status": null,  "detail": null,  "instance": null,  "code": "string"}