Vigilfield Docs
API referenceAlert destination

`POST /alert-destinations`

POST/alert-destinations

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST /alert-destinations / PUT /alert-destinations/{id} body — the create/update request. secret is plaintext on the way in and sealed server-side; it is never stored or echoed.

Response Body

application/json

curl -X POST "https://example.com/alert-destinations" \  -H "Content-Type: application/json" \  -d '{    "kind": "sns"  }'
{  "created_at": "string",  "id": "string",  "kind": "sns",  "org_id": "string",  "owner_team_id": "string",  "sns": null,  "updated_at": "string",  "webhook": null}