get
https://{defaultHost}/api/v4/contact_center/wrapup_codes/
Returns detailed information about a specific wrapup code.
The Get wrapup code details endpoint returns information for a single wrap-up code.
Requirements: Base URL, Authentication, Error codes
Scope: contact_center.wrapup_codes.read
What this does
When you send a Get wrapup code details request with a wrapup code ID,
Voiso
returns the wrap-up code object.
Endpoint
GET /api/v4/wrapup_codes/{wrapup_code_id}
Path parameters
- wrapup_code_id
The unique identifier of the wrapup code.
Example request
curl -X GET "https://{cluster_id}.voiso.com/api/v4/wrapup_codes/12" \
-H "Authorization: Bearer <contact_center_api_key>" \
-H "Content-Type: application/json"Response
If successful, the API returns a wrapup_code object.
{
"wrapup_code": {
"id": 12,
"name": "Payment collected",
"code": "PAY-01",
"group": {
"id": 3,
"name": "Billing"
}
}
}Notes
- You can get the wrapup code ID from the Wrap-up Codes UI in Voiso, or by using the Get list of wrapup codes 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 ID does not exist or is not accessible.
429 Too many requests
What to do:
- Reduce request frequency and retry with backoff.