Listar los destinos de alertas

Sirve para ver a dónde llegan tus alertas (teléfonos o webhooks), si están verificados y qué alertas tiene activas cada uno.

GET
/alerts/destinations

List destinations for the authenticated owner. Seed lazy: if the owner has no destinations and has a phone number, create an unverified phone destination from it

Lectura · requiere el permiso accounts:read.

Listado · perPage de 1 a 100 (por defecto 25) · orden fijo: id ascendente · no acepta parámetros de orden.

Autorización

http
headerAuthorizationBearer <clave>

Cuerpo de la respuesta

Array of AlertDestinationResource

Paginated set of AlertDestinationResource

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/alerts/destinations"
[  {    "id": 0,    "type": "string",    "destination": "string",    "name": "string",    "verified": true,    "has_secret": "string",    "created_at": "string",    "settings": [      {        "module": "string",        "action": "string",        "enabled": true      }    ]  }]