---
title: "Create an API key"
method: POST
path: "/api-keys"
tags: ["API keys"]
---

# Create an API key

`POST /api-keys`

## Request body

- object
  - `name` string, required
  - `permission` 'full_access' | 'sending_access', required
  - `mode` 'live' | 'test'

## Response `200`

OK

- object
  - `success` boolean

---

[API](https://skmtc.dev/poststack/apis/poststack-api.md) · [All operations](https://skmtc.dev/poststack/apis/poststack-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/poststack/poststack-api/revisions/0f5bfcfae749/schema)
