Discussions
How non-admin OAUTH user get the callcenter name.
about 2 years ago by HAYASHI Yuichiro
Hi.
I'm using dialpad API with OAUTH.
When I make a call with dialpad, I have to choose which callcenter to use.
(api/v2/users/../initiate_call {group_id:[id],group_type:"callcenter"})
However, non-admin users cannot get callcenter names, so I can only display those IDs in the select box in my APP.
(I can get callcenter IDs from own user info (users/me -> group_details)).
Admin users can get names with API (callcenters/..), but non-admin users get 404.
Can I(non-admin) get the name from the ID?
Alternatively, can I get the callcenter ID from the admin's web page(e.g. https://dialpad.com/callcenters/...)? (without API)