cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
361
Views
1
Helpful
3
Replies

Can't use /v1/agents/statistics

sebSteve
Level 1
Level 1

I am trying to use /v1/agents/statistics but if i use the orgId (1) attached to my access token it can't find the agent but if i use the organization's orgId (2) returned by /v1/organizations or /v1/organizations/{orgId (1)} i don't have access. How could i remedy this?

3 Replies 3

Is the result the same if you do it from the webex developer site

Get Agent Statistics | Webex Contact Center for Developers (webex-cx.com)

Is the orgId the same as it auto fill on that site ?

Please rate helpful posts and if applicable mark "Accept as a Solution".
Thanks, Thomas G. J.

Also to be clear excluding the agentId field doesn't help

It is the same as the one in my authentication token after the "_" which i do have access to but returns "

Error while finding tenantId for orgId". I'm guessing there's 2 different orgIds being stored and used for the company as my auth token one is in the format of string-string-...-string wherease if I use the organizations api with or without specifying the orgId (both Ids return the same output) i get one in the format of a long string without dahses. For some reason when I use get Agent Statistics api i only seem to have access to the one in the format string-string-... which can't find the agents i got from https://webexapis.com/v1/people