Storyden
Auth

Auth Email Verify

Verify an email address using a token that was emailed to one of the account's email addresses either set via sign up or added later.

POST/auth/email/verify

Verify an email address using a token that was emailed to one of the account's email addresses either set via sign up or added later.

storyden-session<token>

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/auth/email/verify" \  -H "Content-Type: application/json" \  -d '{    "email": "hello@storyden.org",    "code": "728562"  }'
{
  "id": "string"
}
Empty
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}