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": "a6fd33b5-2d81-4190-971a-437f21043f14",
"type": "user_email_addresses",
"attributes": {
"user_id": 504,
"email": "test@example.com",
"primary": false,
"verified_at": null,
"created_at": "2025-09-10T23:05:15.612-07:00",
"updated_at": "2025-09-10T23:05:15.612-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
user_email_address created
The response is of type object
.
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": "a6fd33b5-2d81-4190-971a-437f21043f14",
"type": "user_email_addresses",
"attributes": {
"user_id": 504,
"email": "test@example.com",
"primary": false,
"verified_at": null,
"created_at": "2025-09-10T23:05:15.612-07:00",
"updated_at": "2025-09-10T23:05:15.612-07:00"
}
}
}