“get_routing_wrapupcodes” PureCloudPlatformClientV2 - Missing Endpoint?

So, we’re trying to dynamically update wrap-up codes in Architect flows via the API - thought it’d be a quick win, but “get_routing_wrapupcodes” doesn’t seem to exist in purecloudplatformclientv2. The documentation is…sparse. NICE CXone does this cleanly, exposes a full CRUD interface on wrap-ups; Genesys Cloud feels deliberately limited.

We’ve got a Segment integration pushing user attributes, and the goal is to map those to wrap-up codes to tag interactions with CDP data, but this feels like a non-starter if we can’t even list the existing ones programmatically. The Python SDK version is 12.3.0. Trying to pull wrap-up codes via the REST API directly just returns 404.

{
 "message": "Endpoint not found",
 "code": 404,
 "status": 404,
 "details": [
 {
 "errorCode": "RESOURCE_NOT_FOUND"
 }
 ]
}

Guessing we need a hacky workaround involving scraping the UI or hitting the WFM API (which is a whole other can of worms). Is anyone else running into this?

1 Like

Cause: The wrap-up code API… it’s maybe not direct. We’re on Zoom Contact Center, and the Data Action connector sometimes needs a little help with the payload.

Solution: Try a POST to /api/v2/routing/wrapupcodes. The connector schema needs the wrapUpCode.name mapped exactly. Also, the wrapUpCode.active field - it must be true or it won’t show in Architect.