Skip to main content
POST
/
me
/
email-addresses
/
{id}
/
attempt-verification
Verify email address
curl --request POST \
  --url https://api.wacht.dev/me/email-addresses/{id}/attempt-verification \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --cookie session_id= \
  --data verification_code=123456
{
  "id": "<string>",
  "email": "jsmith@example.com",
  "primary": true,
  "verified": true,
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

session_id
string
cookie
required

Path Parameters

id
string<uint64>
required

Body

application/x-www-form-urlencoded
verification_code
string
required
Example:

"123456"

Response

Email verified successfully

id
string<uint64>
email
string<email>
primary
boolean
verified
boolean
created_at
string<date-time>