Connecting & Integrating with Datadog [REST API]

Last updated: August 22, 2025

Introduction

Below are the steps for connecting YeshID with Datadog for integration via REST API for CREATE and DELETE operations.

Steps:

  1. Create an API Key in Datadog https://app.datadoghq.com/organization-settings/api-keys

  2. Create an Application Key in Datadog: https://app.datadoghq.com/organization-settings/application-keys

    1. Scopes: "User Access Management" should be checked off.

    2. Note: The Application keys inherit the permissions of the person creating it and can only be scoped down.

  3. In YeshID, add application Datadog (if it doesn't already exist) and head to Integration Management

  4. Click "Authentication" and add the following:

    1. DD-API-KEY is the API key you created.

      SCR-20250821-oyyl.png
  5. For Import and Mapping, set the following values:

    1. Set Endpoint URL to be https://api.datadoghq.com/api/v2/users

    2. Set Header DD-APPLICATION-KEY to be your Application Key.

    3. Click Test

    4. You should now see your users being retrieved

Create Users (Invites)

SCR-20250821-pcip.png
  1. Click the Pencil Icon for Create Users

  2. Add the header for DD-APPLICATION-KEY with your Application key (see above)

  3. Set Method: POST and Endpoint URL: https://api.datadoghq.com/api/v2/users

  4. Set Payload Body:

{
  "data": {
    "type": "users",
    "attributes": {
      "name": "{{.User.FullName}}",
      "email": "{{.User.Email}}"
    }
  }
}
SCR-20250821-pbwv.png

Delete Users (Disable)

SCR-20250821-pcip-2.png
  1. Click the Pencil Icon for Create Users

  2. Add the header for DD-APPLICATION-KEY with your Application key (see above)

  3. Set Method: DELETE and Endpoint URL: https://api.datadoghq.com/api/v2/users/{user_id}

SCR-20250821-pczo.png