Skip to main content

List Contacts

Returns a list of all contacts with their contact methods (notification targets).

Example Output

{
"contacts": [
{
"id": 1,
"name": "John Doe",
"notification_targets": {
"email": [
{
"address": "johndoe@teamrocket.com",
"severity": "HIGH"
}
],
"sms": [
{
"country_code": "00",
"number": "111111111",
"provider": "provider's name",
"severity": "HIGH"
}
]
},
"owner": true,
"paused": false,
"teams": [
{
"id": 123456,
"name": "The Dream Team"
}
],
"type": "user"
},
{
"id": 2,
"name": "John \"Hannibal\" Smith",
"notification_targets": {
"email": [
{
"address": "hannibal@ateam.org",
"severity": "HIGH"
}
],
"sms": [
{
"country_code": "00",
"number": "222222222",
"provider": "provider's name",
"severity": "HIGH"
}
]
},
"paused": true,
"teams": [],
"type": "user"
}
]
}

Workflow Library Example

List Contacts with Pingdom and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop