---
title: "Create API Key"
method: POST
path: "/management/api_users"
tags: ["Api User"]
---

# Create API Key

`POST /management/api_users`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/management/api_users`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/management/api_users/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new API key in your workspace.
Learn more about Fireblocks API Keys management in the following [guide](https://developers.fireblocks.com/docs/manage-api-keys).
Endpoint Permission: Admin, Non-Signing Admin.

## Headers

- `Idempotency-Key` string

## Request body

- CreateAPIUser
  - `role` string, required: Users role
  - `name` string, required: Users name
  - `csrPem` string, required: CSR file that is used to verify API requests. read more https://developers.fireblocks.com/docs/quickstart
  - `coSignerSetupType` string: Different environments allow for different setup options, field is required for management/signer role
  - `coSignerSetupIsFirstUser` boolean: pass as true if this is the first user on the coSigner machine

## Response `200`

User creation approval request has been sent

## Other responses

- `400`: bad request
- `401`: Unauthorized. Missing / invalid JWT token in Authorization header.
- `403`: Lacking permissions.
- `5XX`: Internal error.
- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
