Import third party recording. Prerequisite is CreateCall API should be called before.
| callId | string or null <= 255 characters Required: call_id from Create Call Record API. |
| instanceId | string or null <= 255 characters Unique identifier for the voice import instance. |
| metadata | string or null <= 4096 characters Optional: partner metadata in JSON format. We support dual channel audio input for now, where channel 0 is buyer, and channel 1 is seller by default. For example, {"sellerChannel":0}. If sellerChannel = 1, it is default and metadata can be empty. |
| recordingUrl | string or null <= 1024 characters Required: signed recording URL. The recording URL in import request should be valid for at least 8 hours |
{- "callId": "string",
- "instanceId": "string",
- "metadata": "string",
- "recordingUrl": "string"
}object |
Created
JSON error message
{- "data": {
- "attributes": {
- "callId": "string",
- "instanceId": "string",
- "metadata": "string",
- "recordingUrl": "string"
}, - "relationships": { },
- "type": "string"
}
}{- "data": {
- "attributes": {
- "callId": "string",
- "instanceId": "string",
- "metadata": "string",
- "recordingUrl": "string"
}, - "id": 0,
- "relationships": { },
- "type": "string"
}
}