---
title: "Issue an API Key"
method: POST
path: "/v1/api_keys"
---

# Issue an API Key

`POST /v1/api_keys`

## Request

- Base URL: `https://api.sandbox.due.network`
- URL: `https://api.sandbox.due.network/v1/api_keys`
- Auth: HTTP bearer

Issues a new API key for the account.

## Request body

- BpDtoApiKeyIssueRequest
  - `name` string
  - `expiresAt` string, date-time, required
  - `cidrAllowlist` TypesCIDR[]

## Response `200`

OK

- BpModelsApiKey
  - `key` string
  - `name` string
  - `expires_at` string
  - `cidrAllowlist` TypesCIDR[]

## Changes

- **2026-11-03** `5799e4dcc4a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/due/apis/accounts-api/changes/v1/api_keys/post.md)

---

[API](https://skmtc.dev/due/apis/accounts-api.md) - [All operations](https://skmtc.dev/due/apis/accounts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/due/apis/accounts-api/revisions/5799e4dcc4a8?raw)
