--- title: "Wrap-up codes" slug: "wrap-up-codes-1" updated: 2024-10-25T15:00:50Z published: 2024-10-25T15:00:50Z canonical: "docs.voiso.com/wrap-up-codes-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.voiso.com/llms.txt > Use this file to discover all available pages before exploring further. # Wrap-up codes The **Warp-up Codes** API is part of Voiso's Agent Application APIs. Use it to obtain a list of all wrap-up codes and their descriptions that you can access based on your user API key. The API description is [here](/v1-api/apidocs/wrap-up-codes). ## Prerequisites - The requesting [user](https://docs.voiso.com/docs/users-users#adding-a-user) must be configured in your contact center. - You must have at least one [wrap-up code configured](https://docs.voiso.com/docs/administration-wrap-up-codes) for your contact center. ## Making requests The **Wrap-up codes** API requires the [base URL](/v1-api/apidocs/base-endpoint) (cluster_id) and the [user API key](/v1-api/apidocs/authentication) (user_api_key). This tells Voiso which user is making the request. Voiso responds with the list of wrap-up codes the requesting user can access. Use the API request to initiate a call. For example: ``` { "method": "GET", "url": "https://cluster1.voiso.com/api/v2/cdr/wrapup_codes", "params": { "key": "cc7c76b8987a27ab57...00ab6c3" } } ``` ## Response The following table describes the elements of the response. | Element | Description | Type | Notes | | --- | --- | --- | --- | | description | The name of the wrap-up code and its associated code number. | string | | | code | The wrap-up code number. | string | | ### Response sample ``` [ { "description": "0100: Qualified Lead", "code": "0100" }, { "description": "0101: Lead discarded", "code": "0101" }, { "description": "1007: Premium", "code": "1007" }, { "description": "2112: Rush Sale", "code": "2112" } ] ``` ## Troubleshooting The following issues are sometimes encountered: ### Invalid User API Key The **Wrap-up codes** API requires the user API key to validate the request. If you see this error, `"error": "Invalid User API Key"`, check that you are using the correct user API key. For more information about API keys, refer to [Authentication](/v1-api/apidocs/authentication).