Destinations

Get a destination

Changed on

Show a destination's details. Does not return sensitive keys such as signing secret.

get/v1/notifications/destinations/{destinationId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

destinationId, string uuid required

ID of the http destination, a UUID v7.

Response

A single destination.

Destination required
id, string required

UUID v7 identifier of the destination.

name, string required

Name of the destination.

type, 'http' required
state, 'pending_verification' | 'enabled' | 'disabled' | 'disabled_system' required

Destination status. pending_verification means the destination is waiting for verification; enabled means it can receive notifications; disabled means it is paused; disabled_system means it was disabled automatically.

url, string

Endpoint URL of the destination.

url_host, string

Host part of the target URL.

custom_header_names, string[]

Names of the configured custom headers. Header values are not returned.

last_success_at, string date-time

Time of the most recent successful notification delivery, if any.

last_failure_at, string date-time

Time of the most recent failed notification delivery, if any.

last_failure_reason, string

Reason for the most recent failed notification delivery, if any.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes