v1
latestOpenAPI 3.0.02026-08-0650184174.6 KBContacts
Creates a new contact
Creates a new contact with at least one contact method (notification target)
post/alerting/contacts
Request body
Example request
{
"name": "John Doe",
"notification_targets": {
"email": [
{
"severity": "HIGH",
"address": "johndoe@teamrocket.com"
}
],
"sms": [
{
"severity": "HIGH",
"country_code": "93",
"number": "111111111",
"provider": "provider's name"
}
]
}
}Response
Successful operation