GET   alerts/recipients

Gets the list of all alert recipients visible to the customer. Available targets: SMS, email and webhook.

Request example

Response body model example and description

[
  {
    "recipient_id": 3456,
    "targets": [
      {
        "type": "sms",
        "id": 12,
        "name": "Email to customer",
        "to": "support@apica.io",
        "enabled": true
      },
      {
        "type": "email",
        "id": 12,
        "name": "Email to customer",
        "to": "support@apica.io",
        "enabled": true
      },
      {
        "type": "sms",
        "id": 12,
        "name": "Email to customer",
        "to": "support@apica.io",
        "enabled": true
      }
    ]
  },
  {
    "recipient_id": 3456,
    "targets": [
      {
        "type": "sms",
        "id": 12,
        "name": "Email to customer",
        "to": "support@apica.io",
        "enabled": true
      },
      {
        "type": "email",
        "id": 12,
        "name": "Email to customer",
        "to": "support@apica.io",
        "enabled": true
      },
      {
        "type": "sms",
        "id": 12,
        "name": "Email to customer",
        "to": "support@apica.io",
        "enabled": true
      }
    ]
  },
  {
    "recipient_id": 3456,
    "targets": [
      {
        "type": "sms",
        "id": 12,
        "name": "Email to customer",
        "to": "support@apica.io",
        "enabled": true
      },
      {
        "type": "sms",
        "id": 12,
        "name": "Email to customer",
        "to": "support@apica.io",
        "enabled": true
      },
      {
        "type": "email",
        "id": 12,
        "name": "Email to customer",
        "to": "support@apica.io",
        "enabled": true
      }
    ]
  }
]
NameType Description
recipient_idInteger

The recipient's numeric identity.

targetsArray

Supported targets: SMS, email and webhook.

typeString

The target's type.

idInteger

The target's numeric identity.

nameString

The target's name.

toString

The target's destination.

enabledBoolean

The target is enable.