---
title: "Create Key"
method: POST
path: "/v1/accounts/{account_id}/keys"
---

# Create Key

`POST /v1/accounts/{account_id}/keys`

## Request

- Base URL: `https://api.textforagents.com`
- URL: `https://api.textforagents.com/v1/accounts/{account_id}/keys`
- Auth: none declared

## Path parameters

- `account_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- CreateKey
  - `scope` string, required

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/textforagents/apis/textforagents-api.md) · [All operations](https://skmtc.dev/textforagents/apis/textforagents-api/llms.txt) · [OpenAPI document](https://skmtc.dev/textforagents/apis/textforagents-api/revisions/9306ab0e457b?raw)
