# 번호 조회 (/docs/api/numbers/getNumber)
**GET /v1/accounts/{accountId}/numbers/{number}**
```json
{
  "operationId": "getNumber",
  "summary": "번호 조회",
  "description": "이 계정이 보유한 번호 하나의 설정을 반환합니다. 다른 계정의 번호는 없는 번호와 똑같이 404 를 반환합니다.",
  "tags": [
    "Numbers"
  ],
  "parameters": [
    {
      "name": "accountId",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string"
      },
      "description": "계정 ID",
      "example": "AC1a2b3c4d"
    },
    {
      "name": "number",
      "in": "path",
      "required": true,
      "schema": {
        "type": "string"
      },
      "description": "조회할 전화번호",
      "example": "1001"
    }
  ],
  "responses": {
    "200": {
      "description": "번호 설정",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "number": {
                "type": "string",
                "example": "07012340001",
                "description": "전화번호"
              },
              "source": {
                "type": "string",
                "example": "pool",
                "description": "번호 출처 (pool 등)"
              },
              "webhookUrl": {
                "type": "string",
                "nullable": true,
                "example": "https://my-app.com/voice"
              },
              "webhookMethod": {
                "type": "string",
                "enum": [
                  "POST",
                  "GET"
                ],
                "example": "POST"
              },
              "voiceFallbackUrl": {
                "type": "string",
                "nullable": true,
                "example": "https://backup.my-app.com/voice",
                "description": "webhookUrl 요청이 실패하거나 응답을 VoiceML 로 읽을 수 없을 때 대신 요청하는 대체 URL. null 이면 없음. 대체 요청에는 원래 파라미터와 함께 ErrorCode·ErrorUrl 이 실립니다."
              },
              "voiceFallbackMethod": {
                "type": "string",
                "enum": [
                  "POST",
                  "GET"
                ],
                "example": "POST",
                "description": "대체 URL 요청 HTTP 메서드. 기본 POST."
              },
              "callContextUrl": {
                "type": "string",
                "nullable": true,
                "example": "https://api.example.com/integrations/clawops/call-context",
                "description": "routingType='agent'에서 Managed Agent 시작 전에 통화별 CallContext를 조회하는 동기 endpoint."
              },
              "routingType": {
                "type": "string",
                "enum": [
                  "webhook",
                  "sip",
                  "softphone",
                  "forward",
                  "callflow",
                  "agent"
                ],
                "example": "webhook",
                "description": "이 번호로 걸려 온 전화의 착신 처리 방식. 'webhook' = webhookUrl 호출, 'sip' = sipEndpointId 의 OriginationRoute 로 외부 PBX 다이얼, 'softphone' = sipCredentialId 의 등록 단말로 착신(Kamailio usrloc fork), 'forward' = forwardTo(보유 번호)로 내부 착신전환, 'callflow' = callFlowId 의 콜 플로우(결정적 ARS)가 인입을 받음, 'agent' = agentId 의 매니지드 에이전트가 받음."
              },
              "sipEndpointId": {
                "type": "string",
                "nullable": true,
                "example": null,
                "description": "routingType='sip' 일 때 사용할 SipEndpoint id. 그 외 라우팅에서는 null."
              },
              "sipCredentialId": {
                "type": "string",
                "nullable": true,
                "example": null,
                "description": "routingType='softphone' 일 때 착신할 등록 SIP credential(단말) id. 그 외 라우팅에서는 null."
              },
              "forwardTo": {
                "type": "string",
                "nullable": true,
                "example": null,
                "description": "routingType='forward' 일 때 내부 착신전환 대상 번호(같은 계정 보유 번호). 대상이 여러 개면 첫 번째 대상. 그 외 라우팅에서는 null."
              },
              "forwardTargets": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [],
                "description": "routingType='forward' 일 때 전환 대상 전체(첫 번째가 forwardTo). 모두 동시에 울리고 먼저 받은 쪽으로 연결됩니다. 미설정이거나 그 외 라우팅이면 빈 배열."
              },
              "callFlowId": {
                "type": "string",
                "nullable": true,
                "example": null,
                "description": "routingType='callflow' 일 때 인입을 처리할 콜 플로우 id. 그 외 라우팅에서는 null."
              },
              "agentId": {
                "type": "string",
                "nullable": true,
                "example": null,
                "description": "routingType='agent' 일 때 인입을 처리할 매니지드 에이전트 id. 그 외 라우팅에서는 null."
              },
              "webhookHeaders": {
                "type": "object",
                "nullable": true,
                "additionalProperties": {
                  "type": "string"
                },
                "description": "Inbound webhook 호출 시 추가될 HTTP 헤더. 같은 통화의 후속 요청(action·<Redirect>·referUrl)\n중 webhookUrl 과 origin(scheme·host·port)이 같은 요청에도 실립니다. 상태 콜백에는 실리지 않습니다.\n키는 \"X-\" prefix 필수\n(case-insensitive), reserved 헤더(X-Signature, X-Forwarded-*, X-Real-IP) 거절.\n최대 10 entries, key ≤ 64 bytes, value ≤ 2048 bytes, ASCII printable.\nnull 전송 시 헤더 제거, 미포함 시 변경 없음.\n",
                "example": {
                  "X-Webhook-Token": "tenant-secret-abc123"
                }
              },
              "statusCallback": {
                "type": "string",
                "nullable": true,
                "example": "https://my-app.com/call-status",
                "description": "수신(inbound) 통화 상태 webhook URL. 발신은 통화 생성 시 statusCallback 으로 별도 관리."
              },
              "statusCallbackEvents": {
                "type": "string",
                "nullable": true,
                "example": "initiated ringing answered completed transfer",
                "description": "구독할 상태 이벤트(공백 구분). 미지정 시 `initiated ringing answered completed` 가 적용됩니다. `transfer`(호전환 진행 상황)는 기본에 포함되지 않으므로 받으려면 직접 나열하세요.\n"
              },
              "numberType": {
                "type": "string",
                "enum": [
                  "did",
                  "representative",
                  "safety050",
                  "tollfree080"
                ],
                "example": "did",
                "description": "번호 유형. did = 일반 번호, representative = 대표번호, safety050 = 050 안심번호(전화를 걸거나 문자를 보낼 수 없음), tollfree080 = 080 수신자부담(받기 전용 — 전화를 걸거나 문자를 보낼 수 없음)."
              },
              "dictionaryId": {
                "type": "string",
                "nullable": true,
                "example": null,
                "description": "부착된 받아쓰기 사전 id. null 이면 이 번호로 걸려온 통화 전사에 계정 기본 사전을 사용."
              },
              "friendlyName": {
                "type": "string",
                "nullable": true,
                "maxLength": 50,
                "example": "고객센터 대표",
                "description": "번호마다 적어 두는 용도 메모(별칭). null 이면 별칭 없음. 발신 표시·라우팅에는 쓰이지 않습니다."
              },
              "rejectCallerIdRestricted": {
                "type": "boolean",
                "example": false,
                "description": "번호 표시제한 수신 통화를 받지 않고 거절하는지 여부. 기본 false."
              },
              "recordingEnabled": {
                "type": "boolean",
                "example": true,
                "description": "이 번호로 받거나 거는 통화를 녹음하는지 여부. 기본 true. 계정의 통화 녹음이 꺼져 있으면 이 값과 관계없이 녹음하지 않습니다."
              },
              "presentationNumberId": {
                "type": "string",
                "nullable": true,
                "example": null,
                "description": "발신 때 받는 화면에 보일 표시 번호 id. null 이면 이 번호가 그대로 표시됩니다."
              },
              "ringback": {
                "type": "object",
                "required": [
                  "signatureAudioId",
                  "audioId",
                  "minSeconds"
                ],
                "description": "번호의 연결음 설정. 연결음은 전화를 받기 전 발신자에게 들리는 소리입니다. 연결음은 착신 방식(routingType)이 webhook·agent·callflow 인 번호에서 나옵니다. 전환·SIP·소프트폰 착신에서는 설정이 저장되지만 나오지 않습니다.",
                "properties": {
                  "signatureAudioId": {
                    "type": "string",
                    "nullable": true,
                    "example": null,
                    "description": "맨 앞에 한 번 나오는 시그니처 음원 id. null 이면 없습니다."
                  },
                  "audioId": {
                    "type": "string",
                    "nullable": true,
                    "example": "cmh8ra0x10000abcd1234efgh",
                    "description": "받을 때까지 반복하는 연결음 음원 id. null 이면 기본 연결음이 나옵니다."
                  },
                  "minSeconds": {
                    "type": "integer",
                    "nullable": true,
                    "minimum": 1,
                    "maximum": 30,
                    "example": 5,
                    "description": "받기 전 최소 재생 시간(초). null 이면 준비되는 대로 받습니다."
                  }
                }
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      }
    },
    "401": {
      "description": "인증 실패",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "사람이 읽을 수 있는 에러 메시지"
              },
              "code": {
                "type": "string",
                "description": "기계 판독용 에러 코드. **분기는 이 값으로 하세요** — `error` 문구는 안내를 다듬으면서\n바뀔 수 있지만 코드는 계약입니다.\n\n같은 상태 코드라도 대응이 갈리는 경우가 있습니다. 예를 들어 발신의 `422` 는\n  - `recipient_blocked`: 수신거부 명단에 있는 번호입니다. 재시도하지 말고 명단에서\n    해제해야 발신됩니다.\n  - `quota_exceeded`: 플랜 한도를 넘었습니다. 다음 주기에 다시 발신됩니다.\n\n전화번호 정규화 관련:\n  - `INVALID_PHONE_NUMBER`: 전화번호 포맷 오류 (한국 번호 형식 아님)\n  - `UNSUPPORTED_COUNTRY`: 국제 발신 미지원 (+82 외 국가코드)",
                "example": "recipient_blocked"
              },
              "ip": {
                "type": "string",
                "description": "`overseas_ip_blocked` 일 때만 옵니다. 국외 IP 라고 판정한 요청 IP 입니다.\n해외 리전 클라우드 서버에서 호출한다면 이 값이 그 서버의 공인 IP 이며, 콘솔\n\"국외 접속 예외\"에서 예외를 신청할 때 이 고정 IP 를 적습니다.",
                "example": "52.79.213.41"
              },
              "processedAt": {
                "type": "string",
                "format": "date-time",
                "description": "문자 발송 요청을 거부한 서버가 오류 응답을 생성한 시각(UTC). 콘솔은 이 값을 한국 시각으로 표시합니다. 인증·요청 형식 검증 등 발송 서비스 진입 전 오류에는 없을 수 있습니다.",
                "example": "2026-10-21T04:10:34.303Z"
              },
              "blockers": {
                "type": "array",
                "description": "`certificate_not_eligible` 일 때만 옵니다. 발급할 수 없는 번호와 그 이유입니다.",
                "items": {
                  "type": "object",
                  "description": "번호 하나가 발급되지 않는(또는 안내가 필요한) 이유.\n\n| code | 뜻 | 발급 |\n|---|---|---|\n| `number_not_owned` | 이 계정이 보유한 번호가 아님(반납·재배정 포함) | 막힘 |\n| `number_not_carrier_issued` | 한국AI통신이 개통한 070·대표번호가 아님(모바일 게이트웨이, 타사 번호) | 막힘 |\n| `business_info_incomplete` | 사업자 계정인데(관리번호 제외) 상호·사업자등록번호·대표자명·사업장 주소 중 빈 칸 | 막힘 |\n| `identity_unverified` | 개인 계정 번호 또는 관리번호인데 그 번호에 본인확인 정보가 없음 | 막힘 |\n| `account_restricted` | 이용 제한 계정 | 막힘 |\n| `business_recheck_pending` | 사업자 계정인데 사업자 정보 재확인이 진행 중(통과 전) — 관리번호를 뺀 계정의 모든 번호 | 막힘 |\n| `holder_is_personal` | 개인 명의로 찍힌다는 안내 | 가능 |",
                  "properties": {
                    "number": {
                      "type": "string",
                      "description": "422 응답의 blockers 에만 있다",
                      "example": "07012340002"
                    },
                    "code": {
                      "type": "string",
                      "enum": [
                        "number_not_owned",
                        "number_not_carrier_issued",
                        "business_info_incomplete",
                        "identity_unverified",
                        "account_restricted",
                        "business_recheck_pending",
                        "holder_is_personal"
                      ],
                      "example": "number_not_carrier_issued"
                    },
                    "message": {
                      "type": "string",
                      "example": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
                    }
                  },
                  "required": [
                    "code",
                    "message"
                  ]
                }
              },
              "numbers": {
                "type": "array",
                "description": "`ringback_audio_in_use` 일 때만 옵니다. 그 연결음 음원을 쓰는 번호입니다.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "07012345678"
                ]
              }
            }
          }
        }
      }
    },
    "404": {
      "description": "번호를 찾을 수 없음",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "string",
                "description": "사람이 읽을 수 있는 에러 메시지"
              },
              "code": {
                "type": "string",
                "description": "기계 판독용 에러 코드. **분기는 이 값으로 하세요** — `error` 문구는 안내를 다듬으면서\n바뀔 수 있지만 코드는 계약입니다.\n\n같은 상태 코드라도 대응이 갈리는 경우가 있습니다. 예를 들어 발신의 `422` 는\n  - `recipient_blocked`: 수신거부 명단에 있는 번호입니다. 재시도하지 말고 명단에서\n    해제해야 발신됩니다.\n  - `quota_exceeded`: 플랜 한도를 넘었습니다. 다음 주기에 다시 발신됩니다.\n\n전화번호 정규화 관련:\n  - `INVALID_PHONE_NUMBER`: 전화번호 포맷 오류 (한국 번호 형식 아님)\n  - `UNSUPPORTED_COUNTRY`: 국제 발신 미지원 (+82 외 국가코드)",
                "example": "recipient_blocked"
              },
              "ip": {
                "type": "string",
                "description": "`overseas_ip_blocked` 일 때만 옵니다. 국외 IP 라고 판정한 요청 IP 입니다.\n해외 리전 클라우드 서버에서 호출한다면 이 값이 그 서버의 공인 IP 이며, 콘솔\n\"국외 접속 예외\"에서 예외를 신청할 때 이 고정 IP 를 적습니다.",
                "example": "52.79.213.41"
              },
              "processedAt": {
                "type": "string",
                "format": "date-time",
                "description": "문자 발송 요청을 거부한 서버가 오류 응답을 생성한 시각(UTC). 콘솔은 이 값을 한국 시각으로 표시합니다. 인증·요청 형식 검증 등 발송 서비스 진입 전 오류에는 없을 수 있습니다.",
                "example": "2026-10-21T04:10:34.303Z"
              },
              "blockers": {
                "type": "array",
                "description": "`certificate_not_eligible` 일 때만 옵니다. 발급할 수 없는 번호와 그 이유입니다.",
                "items": {
                  "type": "object",
                  "description": "번호 하나가 발급되지 않는(또는 안내가 필요한) 이유.\n\n| code | 뜻 | 발급 |\n|---|---|---|\n| `number_not_owned` | 이 계정이 보유한 번호가 아님(반납·재배정 포함) | 막힘 |\n| `number_not_carrier_issued` | 한국AI통신이 개통한 070·대표번호가 아님(모바일 게이트웨이, 타사 번호) | 막힘 |\n| `business_info_incomplete` | 사업자 계정인데(관리번호 제외) 상호·사업자등록번호·대표자명·사업장 주소 중 빈 칸 | 막힘 |\n| `identity_unverified` | 개인 계정 번호 또는 관리번호인데 그 번호에 본인확인 정보가 없음 | 막힘 |\n| `account_restricted` | 이용 제한 계정 | 막힘 |\n| `business_recheck_pending` | 사업자 계정인데 사업자 정보 재확인이 진행 중(통과 전) — 관리번호를 뺀 계정의 모든 번호 | 막힘 |\n| `holder_is_personal` | 개인 명의로 찍힌다는 안내 | 가능 |",
                  "properties": {
                    "number": {
                      "type": "string",
                      "description": "422 응답의 blockers 에만 있다",
                      "example": "07012340002"
                    },
                    "code": {
                      "type": "string",
                      "enum": [
                        "number_not_owned",
                        "number_not_carrier_issued",
                        "business_info_incomplete",
                        "identity_unverified",
                        "account_restricted",
                        "business_recheck_pending",
                        "holder_is_personal"
                      ],
                      "example": "number_not_carrier_issued"
                    },
                    "message": {
                      "type": "string",
                      "example": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
                    }
                  },
                  "required": [
                    "code",
                    "message"
                  ]
                }
              },
              "numbers": {
                "type": "array",
                "description": "`ringback_audio_in_use` 일 때만 옵니다. 그 연결음 음원을 쓰는 번호입니다.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "07012345678"
                ]
              }
            }
          }
        }
      }
    }
  }
}
```