Get list of wrapup code groups

Returns a paginated list of all wrapup code groups in the contact center.

The Get list of wrapup code groups endpoint returns the wrap-up code groups you can access.

Requirements: Base URL, Authentication, Error codes

Scope: contact_center.wrapup_codes.read

What this does

When you send a Get list of wrapup code groups request,

Voiso
returns a paginated list of wrap-up code group objects.

Each group includes the wrap-up codes that belong to it.

Endpoint


GET /api/v4/contact_center/wrapup_code_groups

Query parameters

All query parameters are optional.

  • limit
    The number of items to return. Default is 100. Maximum is 100.
  • offset
    The number of items to skip before collecting results. Default is 0.

Example request

curl -X GET "https://{cluster_id}.voiso.com/api/v4/contact_center/wrapup_code_groups?limit=20&offset=40" \
  -H "Authorization: Bearer <contact_center_api_key>" \
  -H "Content-Type: application/json"

Response

If successful, the API returns a wrapup_code_groups array and pagination metadata.

{
  "wrapup_code_groups": [
    {
      "id": 1,
      "name": "Customer Support",
      "wrapup_codes": [
        {
          "id": 1,
          "name": "Issue Resolved",
          "code": "0002"
        }
      ]
    }
  ],
  "metadata": {
    "total": 100
  }
}

Notes

  • metadata.total is the total number of wrap-up code groups available. The number returned in the current response is wrapup_code_groups.length.

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.

429 Too many requests

What to do:

  • Reduce request frequency and retry with backoff.
Query Params
integer
0 to 1000
Defaults to 100

The number of items to return.

integer
≥ 0
Defaults to 0

The number of items to skip before starting to collect the result set.

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