11-24-2025 05:39 AM
I Am trying to use Agent login api (https://developer.webex.com/webex-contact-center/docs/api/v1/agents/login) for WebeEx CC, However getting 403 forbidden error.
I have authorized a service app from control hub with below scopes and payload to login.
curl -L --request POST \
--url https://api.wxcc-us1.cisco.com/v2/agents/login \
--header 'Authorization: Bearer M2ExMDY4ZmMtNjMxZi00NjNiLThjYjAtOGZlZGFhNTJmYzZjNWVjODdjNzctZjkx_PF84_3f2f84c5-5dcd-4bfe-97d2-8bbd1fb33cf7' \
--header 'Content-Type: application/json' \
--data '{
"dialNumber": "1050",
"teamId": "d37b98d5-8ace-4192-9ebe-c5a6cf3dec1d",
"isExtension": true,
"roles": [ "agent" ],
"deviceType": "BROWSER"
}'
Also unable to find any related documentation on how to use login api, with same service app i am able to invoke other APIs.
11-24-2025 06:22 AM
Is your app successfully authorized, and I see you are using authorization as bearer ? What is the authentication method setup from CH? Can you little bit explain what exactly you are trying to achieve and setup used? because 403 can be multiple reason, either wrong header sent in the Post or permission issue..
11-26-2025 09:55 AM
Yes my app is successfully authorized, Authentication method setup is bearer token so i am using the same.
We are trying to build campaign manager application, for which we want to use login api so that when agent logged in to campaign manager it will trigger login api so that same agent will get logged in to Webex CC as well to receive calls.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide