한국AI통신 공식 개발자 문서 · 운영사 팀러너스 주식회사 · koreaaitel.com

KAT Cloud(katcloud.kr)는 한국AI통신과 관계없는 별도 회사가 운영하는 서비스입니다. 공식 채널 안내

계정·운영

Webhook 등록

Markdown으로 보기
POST
/v1/accounts/{accountId}/webhooks

이벤트 알림을 받을 webhook URL을 등록합니다. 하나의 계정에 여러 webhook을 등록할 수 있습니다.

Authorization

BearerAuth
AuthorizationBearer <token>

API Key를 Bearer 토큰으로 전달

In: header

Path Parameters

accountId*string

계정 ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/accounts/AC1a2b3c4d/webhooks" \  -H "Content-Type: application/json" \  -d '{    "url": "https://my-app.com/webhook",    "events": [      "message.sent",      "transcript.completed",      "recording.completed"    ]  }'
{
  "id": "clxyz123",
  "account_id": "AC1a2b3c4d",
  "url": "https://my-app.com/webhook",
  "events": [
    "message.sent",
    "message.received"
  ],
  "active": true,
  "created_at": "2019-08-24T14:15:22Z",
  "lastDelivery": {
    "event": "message.sent",
    "status": "pending",
    "responseStatus": 0,
    "createdAt": "2019-08-24T14:15:22Z"
  }
}
{
  "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"
  ]
}