Skip to content

Instantly share code, notes, and snippets.

@stcalica
Last active February 7, 2024 07:25
Show Gist options
  • Save stcalica/5f9068fe67d85678267cef86c35146da to your computer and use it in GitHub Desktop.
Save stcalica/5f9068fe67d85678267cef86c35146da to your computer and use it in GitHub Desktop.
Datadog Postman Getting Started

Datadog API Collection

Datadog recommends using the Validate API key request to ensure that you’ve correctly configured the Datadog Authentication environment included with this collection.

API keys

API keys are unique to your organization. An API key is required by the Datadog Agent to submit metrics and events to Datadog.

Add an API key or client token

To add a Datadog API key or client token:

  1. Navigate to Organization settings, then click the API keys or Client Tokens tab.
  2. Click the New Key or New Client Token button, depending on which you’re creating.
  3. Enter a name for your key or token.
  4. Click Create API key or Create Client Token. Notes:
  • Your org must have at least one API key and at most 50 API keys.
  • Key names must be unique across your organization.

Application keys

Application keys, in conjunction with your organization’s API key, give users access to Datadog’s programmatic API. Application keys are associated with the user account that created them and by default have the permissions and scopes of the user who created them.

Add application keys

To add a Datadog application key, navigate to Organization Settings > Application Keys. If you have the permission to create application keys, click New Key.

Notes:

  • Application key names cannot be blank.

1. Create a Datadog Account and download the Datadog Agent

2. Get Your API Key from the Datadog agent sign up page

API Key and Application Key

2. Open the Datadog Authentication environment

Paste in your valid Datadog API and Application key values

3. Save the environment

The Datadog Authentication environment configured and selected

Ensure that you have the Datadog Authentication environment selected as shown in the screenshot above, and then send the Validate API key request to get your first 200 response code. Now you’re ready to explore the Datadog API!

For the official documentation, see the API reference.

This API collection was last updated on January 22, 2024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment