---
title: "Register a new App Key"
method: PUT
path: "/api/v2/actions/app_key_registrations/{app_key_id}"
tags: ["Action Connection"]
---

# Register a new App Key

`PUT /api/v2/actions/app_key_registrations/{app_key_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/actions/app_key_registrations/{app_key_id}`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Register a new App Key

## Path parameters

- `app_key_id` string, required

## Response `201`

Created

- RegisterAppKeyResponse: The response object after creating an app key registration.
  - `data` AppKeyRegistrationData: Data related to the app key registration.
    - `id` string, uuid: The app key registration identifier
    - `type` 'app_key_registration', required: The definition of `AppKeyRegistrationDataType` object.

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
