Create account recording configuration
Use this method to create an account recording configuration. More info.
Please log in to see full path URL. Learn why.
post
/ccaas/voice/2/account-recording-config
Authorizations:
Scopes:
Request Body schema:
application/jsoncollapse all -
inbound | boolean Enables inbound call recording. At least one of the parameters 'inbound' or 'outbound' must be set to true. |
outbound | boolean Enables outbound call recording. At least one of the parameters 'inbound' or 'outbound' must be set to true. |
autoCompose | boolean Default: false Enables composition of call recordings. If set to true, the call recording will be merged into a single audio or video file. |
mediaType required | string Enum: "AUDIO" "AUDIO_AND_VIDEO" Specifies whether the recording should be done on audio or both audio and video. |
enabled | boolean Default: false |
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
429
Too Many Requests
500
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Content type
application/json
Copy
Collapse all {- "inbound": true,
- "outbound": true,
- "autoCompose": false,
- "mediaType": "AUDIO_AND_VIDEO",
- "videoDownloadPreparation": false,
- "enabled": true,
- "enabledChangedAt": 1622024333000
}
Response samples
- 200
- 400
- 401
- 403
- 429
- 500
Content type
application/json
Successful response
Copy
Collapse all {- "inbound": true,
- "outbound": true,
- "autoCompose": false,
- "mediaType": "AUDIO_AND_VIDEO",
- "videoDownloadPreparation": false,
- "enabled": true,
- "enabledChangedAt": 1622024333000
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See