---
title: "Create"
method: POST
path: "/bot_users"
tags: ["BotUsers"]
---

# Create

`POST /bot_users`

Create a new bot user

## Headers

- `ngrok-version` integer, required

## Request body

- BotUserCreate
  - `name` string — human-readable name used to identify the service user
  - `active` boolean — whether or not the service user is active

## Response `201`

Create a new bot user

- BotUser
  - `id` string — unique API key resource identifier
  - `uri` string — URI to the API resource of this service user
  - `name` string — human-readable name used to identify the service user
  - `active` boolean — whether or not the service user is active
  - `created_at` string — timestamp when the api key was created, RFC 3339 format

## Other responses

- `4XX` — An error. The body carries a machine-readable error_code and a human-readable msg; every code is documented at https://ngrok.com/docs/errors. A 429 with error code ERR_NGROK_226 means the account exceeded the documented request-rate limit.
- `5XX` — An error. The body carries a machine-readable error_code and a human-readable msg; every code is documented at https://ngrok.com/docs/errors. A 429 with error code ERR_NGROK_226 means the account exceeded the documented request-rate limit.

---

[API](https://skmtc.dev/ngrok/apis/ngrok-openapi.md) · [All operations](https://skmtc.dev/ngrok/apis/ngrok-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ngrok/ngrok-openapi/revisions/c697539ac350/schema)
