Legacy Dev Forum Posts

 View Only

Sign Up

Get Agent WrapUp Code for ID

  • 1.  Get Agent WrapUp Code for ID

    Posted 06-05-2025 18:06

    ConcordAbush | 2020-07-29 21:21:36 UTC | #1

    I have a rule/action triggering and sending data over to a Push service. One of the fields we are getting is AgentWrapUp. When a call is answered and an Agent selects a code this field is populated by a GUID. I am trying to find a way to get the definition of that AgentWrapUp so that we know what the reason is for the call ending when an agent is involved.

    When an agent does not answer it appears to be a system generated response which is just fine. I just need to know if that GUID represents our custom codes and if it does what that code is. I have looked through a few API's and have not found a call yet that gives me all of the codes in a list or a way to get a specific code. I do know i have not seen this in the Analytics, Conversation or Presence Api's.

    Any help would be greatly appreciated.


    tim.smith | 2020-07-29 21:26:35 UTC | #2

    Your application can use GET /api/v2/routing/queues/{queueId}/wrapupcodes to get the list of wrap up codes so it can resolve the GUID to the name. Be sure to cache this list in your app and not request the list for every record; this list won't change unless you change the queue's configuration.


    ConcordAbush | 2020-07-29 22:30:00 UTC | #3

    That was exactly what I needed thank you.


    system | 2020-08-29 22:30:05 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 8434