cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
644
Views
0
Helpful
1
Replies

Integration

Patience Umoru
Cisco Employee
Cisco Employee

Hi Team I am trying to pull meeting information and participant information for everyone on my team. I have created the integration and enabled the correct parameters:

 

https://webexapis.com/v1/authorize?client_id=Cfaa55ec5c748505c5b448e88a3f5237cd3a3e80bd982c7d293c1328308b3318d&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A8888%2F&scope=meeting%3Aadmin_participants_read%20meeting%3Aadmin_schedule_read%20...

 

But when I run the my code for a user other than me i get:

description":"At least one of the following scopes is required: 'meeting:admin_schedule_read'

1 Accepted Solution

Patience Umoru
Cisco Employee
Cisco Employee

Hi, to be able to make this request you would need to be a full admin to make this request. I say this because the reason for that error is that the token you have used doesn't have any of the admin level scopes applied to it, which are required to pull data on behalf of other hosts. I checked your account in CH and it seems you don't have the full admin role yet. Just having the scopes will not return the desire result you would need to be an admin to make this request.  In order to obtain the admin level scopes on the access token the user needs to be made a full admin of the org and meeting site. You'll need to have one of your org admins login to Control Hub and the meeting site and make you a full admin under both. After that is done then you will need to authorize with the integration again to generate a new access token and the admin level scope should get applied to it. Once you make your user a full admin within the org, then you can use the meetings API with the hostEmail to get all meetings for that host. you can have a read:  here https://developer.webex.com/docs/meetings#adminorganization-level-authentication-and-scopes

View solution in original post

1 Reply 1

Patience Umoru
Cisco Employee
Cisco Employee

Hi, to be able to make this request you would need to be a full admin to make this request. I say this because the reason for that error is that the token you have used doesn't have any of the admin level scopes applied to it, which are required to pull data on behalf of other hosts. I checked your account in CH and it seems you don't have the full admin role yet. Just having the scopes will not return the desire result you would need to be an admin to make this request.  In order to obtain the admin level scopes on the access token the user needs to be made a full admin of the org and meeting site. You'll need to have one of your org admins login to Control Hub and the meeting site and make you a full admin under both. After that is done then you will need to authorize with the integration again to generate a new access token and the admin level scope should get applied to it. Once you make your user a full admin within the org, then you can use the meetings API with the hostEmail to get all meetings for that host. you can have a read:  here https://developer.webex.com/docs/meetings#adminorganization-level-authentication-and-scopes