The Datadog API allows you to get data in and out of Datadog. It uses resource-oriented URLs and status codes to indicate the success or failure of requests, then returns JSON from all requests.
This article explains how to use Postman to perform API calls to Datadog by showing the actions available within the Datadog API, and by providing a high-level introduction to using Postman to
This collection works in Postman for Web or in your Postman application. It may take several seconds to load.
After the Postman collection is imported, a full list of available Datadog API calls is structured by folder in the left pane of Postman.
The collection includes a Postman environment called
Datadog Authentication, where you add your Datadog API, and application keys for authentication.
Follow these steps to set up your environment:
Click the Environments drop down in the upper right corner of Postman.
Select Datadog Authentication
Edit the Datadog Authentication environment to add in your Datadog API key as the initial value and current value for the
api_key variable, and add your Datadog Application key as the initial value and current value for the
If you are accessing the Datadog app that is in the EU region, instead of the default endpoint URL, you need to switch the Postman collection to access from the EU endpoint URL
Follow these steps to update to the EU instance:
sitevariable with the value
datadoghq.comand select the
sitewith the variable
After setup is complete, you are ready to begin making API calls. In the Postman -> Datadog folder, there are subfolders for each type of API category listed in the Datadog API Reference. Expand the subfolders to see the HTTP methods and API call names.
When you click on an API call in the collection, it loads in the
Builder pane on the right. On this pane you can send the API call and see the returned status, response time, and API response code.
When you click on the Endpoint name a description of the endpoint and all required/optional parameters is displayed to help you build your requests:
The Params tab shows all parameters and values that are currently on the API call. Here, you are able to add parameters and values. View the available arguments in the corresponding section of the Datadog API documentation.
This tab is an alternative to viewing the
param1:value1¶m2:value2 structure of the API call.
<PLACEHOLDER>. They should be replaced before running a query.