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

# 電話番号の一覧

> このアカウントの電話番号と、着信・発信に使うAIエージェントを返します。



## OpenAPI

````yaml GET /phone-numbers
openapi: 3.1.0
info:
  title: AIコール API
  version: '1.0'
  description: 自社のシステムからAIエージェントで電話をかけ、通話の結果を受け取るためのAPIです。
servers:
  - url: https://api.ai-call.co
security:
  - bearerAuth: []
tags:
  - name: 通話
  - name: エージェント・電話番号
  - name: Webhook
paths:
  /phone-numbers:
    get:
      tags:
        - エージェント・電話番号
      summary: 電話番号の一覧
      description: このアカウントの電話番号と、着信・発信に使うAIエージェントを返します。
      operationId: listPhoneNumbers
      responses:
        '200':
          description: 電話番号の一覧
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/PhoneNumber'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  schemas:
    PhoneNumber:
      type: object
      properties:
        id:
          type: string
        phone_number:
          type: string
          example: '+815012345678'
        label:
          type:
            - string
            - 'null'
        status:
          type:
            - string
            - 'null'
        inbound_agent_id:
          type:
            - string
            - 'null'
        outbound_agent_id:
          type:
            - string
            - 'null'
        is_default_outbound:
          type: boolean
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: 機械で判断するための英字のコード
              example: do_not_call
            message:
              type: string
              description: 日本語の説明
              example: この番号は架電しない設定です。
  responses:
    Unauthorized:
      description: APIキーがないか無効です（`missing_api_key` `invalid_api_key`）。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: このAPIキーに必要な権限がありません（`insufficient_scope`）。
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 管理画面「設定 → API」で作成したAPIキー（`aic_sk_…`）。

````

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