Obtaining real-time user status

Hello Team,

I would like to obtain relative real-time (hourly) data on the amount of time spent on different user status by each agent on Purecloud. Eg. Available, On Queue, Busy etc

Is this the correct API to use?
POST/api/v2/analytics/users/aggregates/query

Thanks in advance!

Yes.

tSystemPresence is the high level category of the time.
tOrganizationalPresence is any custom defined sub-breakdown of that time.
tAgentRoutingStatus is the highest level routeability of them during a period.

Just remember they're three different perspectives and don't try to add them all together or mix and match them and you should be fine.

Hello Rios,

Thanks for the response! Appreciate the help(:

Hello Rios, got a follow-up question on this

If we would like to obtain hourly data
Eg. 9-10am data and attempt to pull the data at 10am

Can the API support such real-timeness or should we be expecting some delays? This will help us set the time for the hourly pull.

Thanks!

Hello @Eos_Rios quick check on the above question. Thanks!

Sorry, somehow completely missed that one. General rule is any API endpoint that doesn't have "Job" in the name is real time.

1 Like

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