PearPear

Verify email claim

Verify an email claim using the token from the verification email. Returns the settled claim so the caller can confirm which email and flow was verified.

POST
/auth/verify-email

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Verify email claim using the token from the verification email

Response Body

application/json

curl -X POST "https://example.com/auth/verify-email" \  -H "Content-Type: application/json" \  -d '{    "token": "string"  }'
{  "verified": true,  "email": "string",  "flow": "register",  "verifiedAt": "string"}