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

# Create API Key

> Returns the full key exactly once. Store it securely.



## OpenAPI

````yaml POST /api-keys
openapi: 3.0.3
info:
  title: Echo API
  description: |
    Echo is a voice notification platform. Use your API key (returned on signup)
    in the `x-api-key` header for all `/v1/*` endpoints.

    The API key implicitly scopes every request to your project and business —
    no need to pass IDs in the URL.
  version: 1.0.0
servers:
  - url: https://api.meetecho.ai/v1
    description: Production
security: []
tags:
  - name: Auth
    description: Signup, login, token refresh
  - name: Customers
    description: Manage customers within your project
  - name: Agents
    description: Manage reusable voice agents
  - name: Notifications
    description: Trigger and inspect outbound calls
  - name: API Keys
    description: Create and revoke API keys for your project
  - name: Project
    description: Inspect and configure your project settings
  - name: Webhook Endpoints
    description: >-
      Create and manage webhook endpoints — each with its own URL, event
      subscriptions, and signing secret
  - name: Delivery Logs
    description: >-
      Inspect delivery history, per-attempt details, and manually retry failed
      deliveries
paths:
  /api-keys:
    post:
      tags:
        - API Keys
      summary: Create API key
      description: Returns the full key exactly once. Store it securely.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyRequest'
            example:
              name: production
      responses:
        '201':
          description: Key created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyCreated'
              example:
                id: 7a4d3ce4-787f-73ec-7a87-4f45a4fd93c4
                name: production
                key: >-
                  echo_6f437a610fbb65e6a2742c60ef3e916a80f638522ff11fcc1c711b75fd958534
                key_prefix: echo_6f437a610fb
                status: active
                created_at: '2026-03-18T15:03:15.483Z'
      security:
        - ApiKey: []
components:
  schemas:
    CreateApiKeyRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          example: production
    ApiKeyCreated:
      type: object
      description: The `key` field is shown exactly once.
      properties:
        id:
          type: string
          format: uuid
          example: 7a4d3ce4-787f-73ec-7a87-4f45a4fd93c4
        name:
          type: string
          example: production
        key:
          type: string
          example: >-
            echo_6f437a610fbb65e6a2742c60ef3e916a80f638522ff11fcc1c711b75fd958534
        key_prefix:
          type: string
          example: echo_6f437a610fb
        status:
          type: string
          enum:
            - active
            - revoked
          example: active
        created_at:
          type: string
          format: date-time
          example: '2026-03-18T15:03:15.483Z'
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Echo API key — format: `echo_<64 hex chars>`. Returned once on signup.'

````