Creates a new user email address from provided data
curl --request POST \
--url https://api.rootly.com/v1/users/{user_id}/email_addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "user_email_addresses",
"attributes": {
"email": "<string>"
}
}
}
'{
"data": {
"id": "a8608840-7af2-4dfe-928c-c99405b7acdc",
"type": "user_email_addresses",
"attributes": {
"user_id": 603,
"email": "[email protected]",
"primary": false,
"verified_at": null,
"created_at": "2025-12-05T21:29:30.104-08:00",
"updated_at": "2025-12-05T21:29:30.104-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
user_email_address created
Show child attributes
Unique ID of the email address
user_email_addresses Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/users/{user_id}/email_addresses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "user_email_addresses",
"attributes": {
"email": "<string>"
}
}
}
'{
"data": {
"id": "a8608840-7af2-4dfe-928c-c99405b7acdc",
"type": "user_email_addresses",
"attributes": {
"user_id": 603,
"email": "[email protected]",
"primary": false,
"verified_at": null,
"created_at": "2025-12-05T21:29:30.104-08:00",
"updated_at": "2025-12-05T21:29:30.104-08:00"
}
}
}