v1
latestOpenAPI 3.0.02026-08-0650184174.6 KBContacts
Returns a list of all contacts
Returns a list of all contacts with their contact methods (notification targets)
get/alerting/contacts
Response
Successful operation
Example response
{
"contacts": [
{
"id": 1,
"name": "John Doe",
"paused": false,
"type": "user",
"owner": true,
"notification_targets": {
"email": [
{
"severity": "HIGH",
"address": "johndoe@teamrocket.com"
}
],
"sms": [
{
"severity": "HIGH",
"country_code": "00",
"number": "111111111",
"provider": "provider's name"
}
]
},
"teams": [
{
"id": 123456,
"name": "The Dream Team"
}
]
},
{
"id": 2,
"name": "John \"Hannibal\" Smith",
"paused": true,
"type": "user",
"notification_targets": {
"email": [
{
"severity": "HIGH",
"address": "hannibal@ateam.org"
}
],
"sms": [
{
"severity": "HIGH",
"country_code": "00",
"number": "222222222",
"provider": "provider's name"
}
]
},
"teams": []
}
]
}