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": "c1691bf1-3c25-4e92-a7cd-c839e38e1e8f",
"type": "user_email_addresses",
"attributes": {
"user_id": 1044,
"email": "[email protected]",
"primary": true,
"verified_at": "2026-01-28T14:52:23.255-08:00",
"created_at": "2026-01-28T14:52:23.272-08:00",
"updated_at": "2026-01-28T14:52:23.272-08:00"
}
},
{
"id": "0fed8fe3-d6c3-4785-9f0c-3afa325be74b",
"type": "user_email_addresses",
"attributes": {
"user_id": 1044,
"email": "[email protected]",
"primary": false,
"verified_at": null,
"created_at": "2026-01-28T14:52:26.212-08:00",
"updated_at": "2026-01-28T14:52:26.212-08:00"
}
},
{
"id": "e78e5422-b3a7-49de-8d51-e0ff31d047b0",
"type": "user_email_addresses",
"attributes": {
"user_id": 1044,
"email": "[email protected]",
"primary": false,
"verified_at": null,
"created_at": "2026-01-28T14:52:26.233-08:00",
"updated_at": "2026-01-28T14:52:26.233-08:00"
}
}
],
"links": {
"self": "http://www.example.com/v1/users/1044/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"first": "http://www.example.com/v1/users/1044/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"prev": null,
"next": null,
"last": "http://www.example.com/v1/users/1044/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": "c1691bf1-3c25-4e92-a7cd-c839e38e1e8f",
"type": "user_email_addresses",
"attributes": {
"user_id": 1044,
"email": "[email protected]",
"primary": true,
"verified_at": "2026-01-28T14:52:23.255-08:00",
"created_at": "2026-01-28T14:52:23.272-08:00",
"updated_at": "2026-01-28T14:52:23.272-08:00"
}
},
{
"id": "0fed8fe3-d6c3-4785-9f0c-3afa325be74b",
"type": "user_email_addresses",
"attributes": {
"user_id": 1044,
"email": "[email protected]",
"primary": false,
"verified_at": null,
"created_at": "2026-01-28T14:52:26.212-08:00",
"updated_at": "2026-01-28T14:52:26.212-08:00"
}
},
{
"id": "e78e5422-b3a7-49de-8d51-e0ff31d047b0",
"type": "user_email_addresses",
"attributes": {
"user_id": 1044,
"email": "[email protected]",
"primary": false,
"verified_at": null,
"created_at": "2026-01-28T14:52:26.233-08:00",
"updated_at": "2026-01-28T14:52:26.233-08:00"
}
}
],
"links": {
"self": "http://www.example.com/v1/users/1044/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"first": "http://www.example.com/v1/users/1044/email_addresses?page%5Bnumber%5D=1&page%5Bsize%5D=50",
"prev": null,
"next": null,
"last": "http://www.example.com/v1/users/1044/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
}
}