---
title: "POST /v1alpha1/settings/api-key"
method: POST
path: "/v1alpha1/settings/api-key"
tags: ["SettingsService"]
---

# POST /v1alpha1/settings/api-key

`POST /v1alpha1/settings/api-key`

## Request

- Base URL: `http://localhost:4000`
- URL: `http://localhost:4000/v1alpha1/settings/api-key`
- Auth: HTTP bearer and API key in header `x-id-api-key`

Set up API Key

## Response `200`

OK

- ApiKey: An Identity API Key.
  - `apiKey` string

## Other responses

- `default`: Default error response

---

[API](https://skmtc.dev/agntcy/apis/agntcy-identity-service-api.md) - [All operations](https://skmtc.dev/agntcy/apis/agntcy-identity-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agntcy/apis/agntcy-identity-service-api/revisions/1dc8f8328648?raw)
