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

# Sign up from an agent

> Start sign-up for the person an agent works for, with no key. They approve it in their browser.

The [Agent quickstart](/docs/api/agent-quickstart.md) explains this endpoint in full.


## OpenAPI

````yaml POST /agent-signup
openapi: 3.1.0
info:
  title: West Kite API
  version: 1.0.0
  description: >-
    Sourced US commercial property records, owner research and contacts, priced
    per call. A call that fails, or a lookup that finds nothing, costs nothing.
    Missing fields are unavailable, never zero: each answer lists them in
    missing with a reason.
  contact:
    url: https://westkite.com/docs/api
servers:
  - url: https://api.westkite.com/v1
security:
  - bearer: []
  - apiKey: []
paths:
  /agent-signup:
    post:
      tags:
        - Account
      summary: Sign up from an agent (no key)
      description: >-
        Gets the person you work for an API key, with no key of your own. Send
        their email; show them verification_uri and user_code (West Kite never
        emails the code). They open the link, sign in or sign up with the email
        filled in, check the code matches and approve. Keep claim_token to
        yourself and poll POST /agent-signup/token every interval seconds until
        expires_in (600 s) runs out. verification_uri carries the email after #
        so the sign-in form is filled in; show it as given. At most 5 open
        sign-ups per email; on 429, stop and tell the person.
      operationId: agentSignup
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - email
              additionalProperties: false
              properties:
                email:
                  type: string
                  format: email
                  maxLength: 254
                  description: The person's email.
                key_name:
                  type: string
                  maxLength: 60
                  default: Agent
                  description: The new key's name on the dashboard.
                client_name:
                  type: string
                  maxLength: 60
                  description: >-
                    Your name, shown to the person ("Claude Code wants an API
                    key").
      responses:
        '200':
          description: Show the link and code; poll with the claim token.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
          content:
            application/json:
              schema:
                type: object
                required:
                  - claim_token
                  - verification_uri
                  - user_code
                  - expires_in
                  - interval
                properties:
                  claim_token:
                    type: string
                    description: Keep it; never show it.
                  verification_uri:
                    type: string
                    description: >-
                      https://app.westkite.com/developers/claim?code=<user_code>,
                      with #login_hint=<email>.
                  user_code:
                    type: string
                    pattern: ^[0-9]{6}$
                  expires_in:
                    type: integer
                    const: 600
                  interval:
                    type: integer
                    const: 5
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: rate_limited (reason agent_signups)
          headers:
            Retry-After:
              $ref: '#/components/headers/Retry-After'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: service_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
components:
  headers:
    X-Request-Id:
      description: The request's id, as request_id in the body.
      schema:
        type: string
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              enum:
                - invalid_request
                - invalid_key
                - insufficient_balance
                - spend_limit_exceeded
                - max_cost_too_low
                - scope_missing
                - not_found
                - endpoint_removed
                - idempotency_conflict
                - rate_limited
                - internal_error
                - service_unavailable
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            reason:
              type: string
              description: >-
                invalid_key: revoked, expired or unknown. rate_limited: requests
                (per minute), concurrency (in flight), agent_questions (the
                Agent's own cap) or agent_signups (sign-ups started).
            retry_after:
              type: integer
            upgrade_url:
              type: string
            quoted_usd:
              type: number
            concurrent:
              type: integer
            balance_usd:
              type: number
            available_usd:
              type: number
            spend_cap_usd:
              type: number
            spent_usd:
              type: number
        request_id:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: wk_live_ key
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.