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

# Register a new agent

> Register a new agent and receive an API key. Agent starts in SANDBOX tier with simulated operators.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/agents/register
openapi: 3.1.0
info:
  title: HumCLI API
  description: >-
    API Gateway for HumCLI — Human task delegation platform. Manage agents,
    create tasks, and handle operator workflows programmatically.
  version: 1.0.0
  contact:
    name: HumCLI Support
    email: support@humcli.com
servers:
  - url: https://api.humcli.com
    description: Production
security: []
tags:
  - name: Agents
    description: Agent registration, API keys, wallet, and deposits
  - name: Tasks
    description: Task creation, management, and verification
  - name: Operators
    description: Operator registration, task browsing, earnings, and payouts
  - name: Webhooks
    description: Inbound webhook callbacks
paths:
  /api/v1/agents/register:
    post:
      tags:
        - Agents
      summary: Register a new agent
      description: >-
        Register a new agent and receive an API key. Agent starts in SANDBOX
        tier with simulated operators.
      operationId: agentRegister
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentRegisterRequest'
      responses:
        '201':
          description: Agent registered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentRegisterResponse'
        '409':
          description: Email already exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AgentRegisterRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
        email:
          type: string
          format: email
        company:
          type: string
          maxLength: 200
      required:
        - name
        - email
    AgentRegisterResponse:
      type: object
      properties:
        agent_id:
          type: string
        api_key:
          type: string
        tier:
          type: string
          enum:
            - SANDBOX
            - VERIFIED
            - STANDARD
        verification_required:
          type: boolean
        sandbox_info:
          type: object
          properties:
            what:
              type: string
            why:
              type: string
            how_to_upgrade:
              type: string
            limits:
              type: object
              properties:
                maxDailyTasks:
                  type: number
                maxTaskValue:
                  type: number
                maxDailySpend:
                  type: number
              required:
                - maxDailyTasks
                - maxTaskValue
                - maxDailySpend
          required:
            - what
            - why
            - how_to_upgrade
            - limits
        message:
          type: string
      required:
        - agent_id
        - api_key
        - tier
        - verification_required
        - sandbox_info
        - message
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error

````