Backend API
Add a new email address to a user’s profile
cURL
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" }
API key authentication (Bearer token)
Email added successfully
Was this page helpful?