Webhooks Integration

Get a webhook integration

Gets the content of the webhook with the name <WEBHOOK_NAME>.

get/api/v1/integration/webhooks/configuration/webhooks/{webhook_name}

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v1/integration/webhooks/configuration/webhooks/{webhook_name}
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Path parameters

webhook_namestring required

The name of the webhook.

Response

OK

custom_headersstring nullable

If null, uses no header. If given a JSON payload, these will be headers attached to your webhook.

encode_as'json' | 'form'

Encoding type. Can be given either json or form.

namestring required

The name of the webhook. It corresponds with <WEBHOOK_NAME>. Learn more on how to use it in monitor notifications.

payloadstring nullable

If null, uses the default payload. If given a JSON payload, the webhook returns the payload specified by the given payload. Webhooks variable usage.

urlstring required

URL of the webhook.

Example response

{
  "name": "WEBHOOK_NAME",
  "url": "https://example.com/webhook"
}

Changes

No recorded changes to this operation across all 1 revision of this API.