Skip to main content
POST
/
users
/
{user_id}
/
emails
Add user email
curl --request POST \
  --url https://api.wacht.dev/users/{user_id}/emails \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "is_primary": false
}
'
{
  "message": "Resource not found"
}

Authorizations

Authorization
string
header
required

API key authentication (Bearer token)

Path Parameters

user_id
string
required

Body

application/json
email
string<email>
required
is_primary
boolean
default:false

Response

Email added successfully