Skip to content

Verify Email

POST
/api/v1/auth/verify-email
curl --request POST \
--url https://api.qeychain.xyz/api/v1/auth/verify-email \
--header 'Content-Type: application/json' \
--data '{ "token": "example" }'

Verify a user’s email address using the token from the verification email.

On success, sets email_verified=True and links any pending payments.

Media typeapplication/json
VerifyEmailRequest
object
token
required
Token
string
>= 1 characters
Examplegenerated
{
"token": "example"
}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}