> ## Documentation Index
> Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create

> Create a new bot user




## OpenAPI

````yaml https://raw.githubusercontent.com/ngrok/ngrok-openapi/refs/heads/main/ngrok.yaml post /bot_users
openapi: 3.0.0
info:
  title: ngrok OpenAPI
  version: 1.0.0
servers:
  - url: https://api.ngrok.com
security:
  - authentication: []
paths:
  /bot_users:
    post:
      tags:
        - BotUsers
      summary: Create
      description: |
        Create a new bot user
      operationId: BotUsersCreate
      parameters:
        - $ref: '#/components/parameters/ngrokVersion'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BotUserCreate'
      responses:
        '201':
          description: |
            Create a new bot user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BotUser'
components:
  parameters:
    ngrokVersion:
      name: ngrok-version
      in: header
      required: true
      schema:
        type: integer
        default: 2
  schemas:
    BotUserCreate:
      type: object
      properties:
        name:
          description: |
            human-readable name used to identify the bot
          type: string
        active:
          description: |
            whether or not the bot is active
          type: boolean
    BotUser:
      type: object
      properties:
        id:
          description: |
            unique API key resource identifier
          type: string
        uri:
          description: |
            URI to the API resource of this bot user
          type: string
        name:
          description: |
            human-readable name used to identify the bot
          type: string
        active:
          description: |
            whether or not the bot is active
          type: boolean
        created_at:
          description: |
            timestamp when the api key was created, RFC 3339 format
          type: string
  securitySchemes:
    authentication:
      type: http
      scheme: bearer

````