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": "2c4507cb-567a-49f5-b3a0-60e4b262b1e0",
"type": "user_email_addresses",
"attributes": {
"user_id": 488,
"email": "test@example.com",
"primary": false,
"verified_at": null,
"created_at": "2025-07-31T05:10:09.685-07:00",
"updated_at": "2025-07-31T05:10:09.685-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": "2c4507cb-567a-49f5-b3a0-60e4b262b1e0",
"type": "user_email_addresses",
"attributes": {
"user_id": 488,
"email": "test@example.com",
"primary": false,
"verified_at": null,
"created_at": "2025-07-31T05:10:09.685-07:00",
"updated_at": "2025-07-31T05:10:09.685-07:00"
}
}
}