한국AI통신 공식 개발자 문서 · 운영사 팀러너스 주식회사 · koreaaitel.com
KAT Cloud(katcloud.kr)는 한국AI통신과 관계없는 별도 회사가 운영하는 서비스입니다. 공식 채널 안내
통화
통화 제어 (종료)
진행 중인 통화를 종료합니다. 현재 Status=completed만 지원합니다.
벨이 울리는 중(queued/ringing)에도 호출할 수 있고, 이때는 통화가 연결되기 전에 취소됩니다.
200 이 아니면 취소되지 않은 것입니다. 실패는 조용히 성공으로 처리되지 않으니 상태 코드를 확인하세요.
| 응답 | 의미 | 처리 |
|---|---|---|
| 200 | 통화를 끊었거나 이미 끝난 통화입니다. 이미 끝난 통화면 최종 상태가 실립니다. | 종료된 것으로 봅니다. |
| 404 | 통화를 찾을 수 없습니다. | 다시 요청하지 않습니다. |
409 hangup_not_applicable | 이번 요청으로 끊지 못했습니다. 통화가 끝나는 순간과 요청이 겹치면 생깁니다. | 잠시 뒤 다시 요청합니다. 그사이 끝났으면 200 이 돌아옵니다. |
409 MEDIA_BYPASS_CALL_CONTROL_UNSUPPORTED | 미디어 우회 통화라 끊을 수 없습니다. | 다시 요청하지 않습니다. |
| 502, 503 | 일시적으로 끊지 못했습니다. | 다시 요청합니다. |
Authorization
BearerAuth AuthorizationBearer <token>
API Key를 Bearer 토큰으로 전달
In: header
Path Parameters
accountId*string
계정 ID
callId*string
통화 ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/accounts/AC1a2b3c4d/calls/CA1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6" \ -H "Content-Type: application/json" \ -d '{ "Status": "completed" }'{
"callId": "CAabcdef1234567890",
"status": "completed"
}{
"error": "string",
"code": "recipient_blocked",
"callId": "CA1a2b3c4d5e6f",
"ip": "52.79.213.41",
"processedAt": "2026-10-21T04:10:34.303Z",
"blockers": [
{
"number": "07012340002",
"code": "number_not_carrier_issued",
"message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
}
],
"numbers": [
"07012345678"
]
}{
"error": "string",
"code": "recipient_blocked",
"callId": "CA1a2b3c4d5e6f",
"ip": "52.79.213.41",
"processedAt": "2026-10-21T04:10:34.303Z",
"blockers": [
{
"number": "07012340002",
"code": "number_not_carrier_issued",
"message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
}
],
"numbers": [
"07012345678"
]
}{
"error": "string",
"code": "recipient_blocked",
"callId": "CA1a2b3c4d5e6f",
"ip": "52.79.213.41",
"processedAt": "2026-10-21T04:10:34.303Z",
"blockers": [
{
"number": "07012340002",
"code": "number_not_carrier_issued",
"message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
}
],
"numbers": [
"07012345678"
]
}{
"error": "string",
"code": "recipient_blocked",
"callId": "CA1a2b3c4d5e6f",
"ip": "52.79.213.41",
"processedAt": "2026-10-21T04:10:34.303Z",
"blockers": [
{
"number": "07012340002",
"code": "number_not_carrier_issued",
"message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
}
],
"numbers": [
"07012345678"
]
}{
"error": "string",
"code": "recipient_blocked",
"ip": "52.79.213.41",
"processedAt": "2026-10-21T04:10:34.303Z",
"blockers": [
{
"number": "07012340002",
"code": "number_not_carrier_issued",
"message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
}
],
"numbers": [
"07012345678"
],
"callId": "CA1234567890abcdef",
"status": "in-progress"
}{
"error": "string",
"code": "recipient_blocked",
"callId": "CA1a2b3c4d5e6f",
"ip": "52.79.213.41",
"processedAt": "2026-10-21T04:10:34.303Z",
"blockers": [
{
"number": "07012340002",
"code": "number_not_carrier_issued",
"message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
}
],
"numbers": [
"07012345678"
]
}{
"error": "string",
"code": "recipient_blocked",
"callId": "CA1a2b3c4d5e6f",
"ip": "52.79.213.41",
"processedAt": "2026-10-21T04:10:34.303Z",
"blockers": [
{
"number": "07012340002",
"code": "number_not_carrier_issued",
"message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
}
],
"numbers": [
"07012345678"
]
}