---
title: "Validate API key"
method: GET
path: "/api/v2/validate"
tags: ["Key Management"]
---

# Validate API key

`GET /api/v2/validate`

Check if the API key is valid. Returns the organization UUID, API key ID, and associated scopes.

## Response `200`

OK

- ValidateV2Response — Response for the API key validation endpoint.
  - `data` ValidateV2Data, required — Data object containing the API key validation result.
    - `attributes` ValidateV2Attributes, required — Attributes of the API key validation response.
      - `api_key_id` string, required — The UUID of the API key.
      - `api_key_scopes` string[], required — List of scope names associated with the API key.
      - `valid` boolean, required — Whether the API key is valid.
    - `id` string, required — The UUID of the organization associated with the API key.
    - `type` 'validate_v2', required — Resource type for the API key validation response.

## Other responses

- `403` — Forbidden
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
