GET   alerts/targets

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

Request example

Response body model example and description

[
  {
    "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": "email",
    "id": 12,
    "name": "Email to customer",
    "to": "support@apica.io",
    "enabled": true
  }
]
NameType Description
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.