새로운 문서를 작성 중입니다.새 문서로 이동
ClawOps Docs
API Reference

콜 플로우 녹음 블럭 파일 다운로드

GET
/v1/accounts/{accountId}/recordings/{callId}/verb/{recordingName}

콜 플로우의 녹음 블럭(VoiceML <Record>)이 남긴 개별 녹음 파일(WAV)을 반환합니다. 통화 전체 녹음과 달리 한 통화에 여러 개일 수 있어 파일 이름으로 지목합니다. 이 URL 은 callflow.ended 웹훅과 배치 발신 결과의 녹음 변수 값으로 전달되며, 만료되지 않으므로 그대로 보관해 두고 필요할 때 조회하면 됩니다. 녹음이 없거나 다른 계정의 통화일 경우 404 를 반환합니다.

Authorization

BearerAuth
AuthorizationBearer <token>

API Key를 Bearer 토큰으로 전달

In: header

Path Parameters

accountId*string
callId*string
recordingName*string

녹음 변수 값(URL)의 마지막 경로 조각. verbrec-{callId}-{timestamp} 형식입니다.

Response Body

audio/wav

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/accounts/AC1a2b3c4d/recordings/CA1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6/verb/verbrec-CA1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6-1785218466628"
"string"
{
  "error": "string",
  "code": "recipient_blocked"
}
{
  "error": "string",
  "code": "recipient_blocked"
}
{
  "error": "string",
  "code": "recipient_blocked"
}
{
  "error": "string",
  "code": "recipient_blocked"
}