Update agent recording configuration
Use this method to create or update an agent recording configuration. More info.
Please log in to see full path URL. Learn why.
put
/ccaas/voice/2/agent-recording-configs/{agentId}
Authorizations:
Scopes:
path Parameters
agentId required | string Agent id of agent recording config to update. |
Request Body schema:
application/jsoncollapse all -
inbound | boolean Default: false Inbound record call direction enabled. At least one of the parameters 'inbound' or 'outbound' must be set to true. |
outbound | boolean Default: false Outbound record call direction enabled. At least one of the parameters 'inbound' or 'outbound' must be set to true. |
mediaType required | string Enum: "AUDIO" "AUDIO_AND_VIDEO" Specifies whether the recording should be done on audio or both audio and video. |
useDefault | boolean Default: false Use account recording config as default. |
enabled | boolean Default: false |
Responses
200
OK
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
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 {- "agentId": "05261D01CC88F5A8C0C7C3A1EF74E430",
- "inbound": true,
- "outbound": true,
- "mediaType": "AUDIO_AND_VIDEO",
- "useDefault": true,
- "enabled": false,
- "enabledChangedAt": 1622024333000
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 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