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 are unique to your organization. An API key is required by the Datadog Agent to submit metrics and events to Datadog.
To add a Datadog API key or client token:
- Navigate to Organization settings, then click the API keys or Client Tokens tab.
- Click the New Key or New Client Token button, depending on which you’re creating.
- Enter a name for your key or token.
- 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, 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.
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
Paste in your valid Datadog API and Application key values
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.