Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Retrieves all email addresses for the specified user
curl --request GET \
--url https://api.rootly.com/v1/users/{user_id}/email_addresses \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "af47d638-7693-4de6-bebb-df6a4a661ad1",
"type": "user_email_addresses",
"attributes": {
"user_id": 504,
"email": "adrian_bergstrom@bailey-kuhlman.example",
"primary": true,
"verified_at": "2025-09-26T17:30:04.516-07:00",
"created_at": "2025-09-26T17:30:04.530-07:00",
"updated_at": "2025-09-26T17:30:04.530-07:00"
}
},
{
"id": "64cb28bb-dc3f-4a28-99d3-741d551ce66e",
"type": "user_email_addresses",
"attributes": {
"user_id": 504,
"email": "aja.abernathy@shields.test",
"primary": false,
"verified_at": null,
"created_at": "2025-09-26T17:30:07.498-07:00",
"updated_at": "2025-09-26T17:30:07.498-07:00"
}
},
{
"id": "04654aee-136f-4274-bd41-b2b7cc9d3992",
"type": "user_email_addresses",
"attributes": {
"user_id": 504,
"email": "katheleen.kuhn@price-turner.example",
"primary": false,
"verified_at": null,
"created_at": "2025-09-26T17:30:07.516-07:00",
"updated_at": "2025-09-26T17:30:07.516-07:00"
}
}
],
"links": {
"self": "http://www.example.com/v1/users/504/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"first": "http://www.example.com/v1/users/504/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"prev": null,
"next": null,
"last": "http://www.example.com/v1/users/504/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50"
},
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_count": 3,
"total_pages": 1
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/users/{user_id}/email_addresses \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "af47d638-7693-4de6-bebb-df6a4a661ad1",
"type": "user_email_addresses",
"attributes": {
"user_id": 504,
"email": "adrian_bergstrom@bailey-kuhlman.example",
"primary": true,
"verified_at": "2025-09-26T17:30:04.516-07:00",
"created_at": "2025-09-26T17:30:04.530-07:00",
"updated_at": "2025-09-26T17:30:04.530-07:00"
}
},
{
"id": "64cb28bb-dc3f-4a28-99d3-741d551ce66e",
"type": "user_email_addresses",
"attributes": {
"user_id": 504,
"email": "aja.abernathy@shields.test",
"primary": false,
"verified_at": null,
"created_at": "2025-09-26T17:30:07.498-07:00",
"updated_at": "2025-09-26T17:30:07.498-07:00"
}
},
{
"id": "04654aee-136f-4274-bd41-b2b7cc9d3992",
"type": "user_email_addresses",
"attributes": {
"user_id": 504,
"email": "katheleen.kuhn@price-turner.example",
"primary": false,
"verified_at": null,
"created_at": "2025-09-26T17:30:07.516-07:00",
"updated_at": "2025-09-26T17:30:07.516-07:00"
}
}
],
"links": {
"self": "http://www.example.com/v1/users/504/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"first": "http://www.example.com/v1/users/504/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"prev": null,
"next": null,
"last": "http://www.example.com/v1/users/504/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50"
},
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_count": 3,
"total_pages": 1
}
}