get
https://{defaultHost}/api/v4/contact_center/wrapup_code_groups/
Returns detailed information about a specific wrapup code group.
The Get wrapup code group details endpoint returns information for a single wrap-up code group, including the wrap-up codes in that group.
Requirements: Base URL, Authentication, Error codes
Scope: contact_center.wrapup_codes.read
What this does
When you send a Get wrapup code group details request with a wrapup code group ID,
Voiso
returns the wrap-up code group object and its wrap-up codes.
Endpoint
GET /api/v4/contact_center/wrapup_code_groups/{wrapup_code_group_id}
Path parameters
- wrapup_code_group_id
The unique identifier of the wrapup code group.
Example request
curl -X GET "https://{cluster_id}.voiso.com/api/v4/contact_center/wrapup_code_groups/1" \
-H "Authorization: Bearer <contact_center_api_key>" \
-H "Content-Type: application/json"Response
If successful, the API returns a wrapup_code_group object.
{
"wrapup_code_group": {
"id": 1,
"name": "Customer Support",
"wrapup_codes": [
{
"id": 1,
"name": "Issue Resolved",
"code": "0002"
},
{
"id": 2,
"name": "Follow up required",
"code": "0003"
}
]
}
}Notes
- You can get the wrapup code group ID from the Wrap-up Codes UI in Voiso, or by using the Get list of wrapup code groups endpoint.
Troubleshooting
401 Unauthorized
What to check:
- You are sending
Authorization: Bearer <contact_center_api_key>.
403 Forbidden
What to check:
- The API key is valid, but does not have access to wrap-up code resources.
404 Not found
This usually means the wrapup code group ID does not exist or is not accessible.
429 Too many requests
What to do:
- Reduce request frequency and retry with backoff.