Skip to content

Latest commit

 

History

History

webhooks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Webhooks

This is a collection of Webhooks which use the Datadog API.

About creating Webhooks

Webhooks only perform a POST request against a given URL. Each Webhook will require the following fields:

URL - The URL for the Datadog API endpoint. Payload - This will be the body of the POST request. It needs to be in JSON format. Custom headers - These are used to authenticate against the Datadog API. Custom variables - These are values which you may want to re-use between webhooks. They can be referenced within the URL, Payload, or custom headers. Built-in variables - Webhooks by default have a collection of variables about the Alert, Event, etc where they are called. Here is the full list of variables

Getting started

Install the Webhooks integration through the Datadog Integrations page. You'll want to create new Variables for the Webhook authentication. These will store the Datadog API and Application keys you want to use for the Webhooks.

  • $DD_API_KEY
  • $DD_APPLICATION_KEY

For every Webhook you create, use the following Custom Headers:

{
"Content-Type": "application/json",
"DD-API-KEY": "$DD_API_KEY",
"DD-APPLICATION-KEY": "$DD_APPLICATION_KEY"
}

Resources