---
title: "Create an API key for a sub-account"
method: POST
path: "/corporate/subAccount/key"
tags: ["Master account"]
---

# Create an API key for a sub-account

`POST /corporate/subAccount/key`

This endpoint will generate an API v3 key for a sub account

## Request body

- CreateApiKeyRequest
  - `id` integer, required — Id of the sub-account organization
  - `name` string — Name of the API key

## Response `201`

API Key

- CreateApiKeyResponse
  - `status` string — Status of the API operation.
  - `key` string — API Key

## Other responses

- `400` — bad request

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/versions/2aec3cf66501/schema)
