v1

latestOpenAPI 3.0.02026-08-0650184174.6 KB
Contacts

Returns a contact with its contact methods

Returns a contact with its contact methods (notification targets)

get/alerting/contacts/{contactid}

Path parameters

contactidinteger required

ID of contact to be retrieved

Response

Successful operation

Example response

{
  "contact": {
    "id": 123456,
    "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"
      }
    ]
  }
}