Trusted destinations

The servers, webhook addresses, alert channels and contact addresses this workspace trusts: a person set them up in the app, approved a request that sent there, or they were in use when trusted destinations started. A key that asks before sending somewhere new does not ask for these, nor for any destination something switched on already sends to. Read-only: only a person adds or removes one, in the app. Sorted by label.

GET
/api/v1/trusted-destinations
AuthorizationBearer <token>

API key in the Authorization header: Authorization: Bearer wv_live_…. Keys are created on the API keys page in the app, shown once, and scoped to your workspace. A key acts for the person who created it: each call needs the operation's scope (x-wv-scope) and is limited to what that person's role allows now. X-Api-Key: wv_live_… is accepted as a fallback for tools that can't set Authorization.

In: header

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

{
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "kind": "server",
      "label": "string",
      "alertChannelId": "48f8dcc3-fd9c-427f-bf34-54017ef3c9a6",
      "source": "app",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}

On this page