Get wrapup code details

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.
Path Params
integer
required

The unique identifier of the wrapup code.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json