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

# Auto-assign users

> Automatically assigns available phone numbers to users



## OpenAPI

````yaml /swagger.yml post /public/admin/auto-assign
openapi: 3.0.0
info:
  title: Public API Docs
  description: Clerk Public API
  version: '1.0'
  contact: {}
servers:
  - url: https://web-api.clerk.chat
    description: Production server
  - url: http://localhost:3000
    description: Production server
security: []
tags: []
paths:
  /public/admin/auto-assign:
    post:
      tags:
        - Admin
      summary: Auto-assign users
      description: Automatically assigns available phone numbers to users
      operationId: PublicAdminController_autoAssignUsers
      parameters: []
      responses:
        '201':
          description: Successfully auto-assigned users
        '400':
          description: Invalid request body
        '401':
          description: Unauthorized request
        '403':
          description: You do not have permission to access this resource
        '404':
          description: Resource not found
        '422':
          description: Invalid request parameters
        '429':
          description: Too many requests for this resource
        '500':
          description: Internal server error
      security:
        - api_key: []
components:
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: apiKey

````