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

How can I access the license/subscription plan of the user logged in?

kevins99
Level 1
Level 1

Hi, 

I need to somehow access the license details of the user logging in to the Webex account. Eg. Meet plan, call plan, enterprise etc. Is there an API call for this that preferably does not need admin scopes?

Failing this, I need to be able to check if the user logged in has cloud recording facility enabled. 
Could someone please guide me to the relevant endpoints for the same.

Thanks in advance!

1 Reply 1

sandiban
Cisco Employee
Cisco Employee

Hi @kevins99,

I'm afraid, if you don't have the Admin access to your Webex profile, you'll not be able to view the licenses provided/attached to that person.
We've this REST api endpoint to list down the person details which I provide here.
In this above provided API endpoint, you can share the Email or, displayName or, personId (if you already have personId handy) of the person, and based on that, you can fetch the person details.

Now if you don't have the Admin access to your Webex Profile, you can only find some of the basic information of that person, like - personId, orgId, firstName, lastName, status, type, siteUrl, etc...

But license details would be only included in the result if you have the Full Admin access to your Token along with spark-admin:people_read scope and if the person belongs to your Org.
(FYI, even if you have the Full Admin access to your Org, but the person you're searching for belong to a different Org, then license and roles information would not be included in the outcome)

 

And looking at your second query - 

Failing this, I need to be able to check if the user logged in has cloud recording facility enabled. 

If I understand correctly, I hope you want to check the person has joined a live meeting, if he/she has the capability to record the meeting.
If that's the requirement, then it's doable. You don't need Admin access to fetch that information.

You can visit this /list-meeting-participant api endpoint for a meeting and need to provide the meetingId to fetch the details.

Look out for the exact participant you want to check for from the list and check the status of the field "coHost" for that person. If it's True, then the participant has the recording capability for that meeting. Else, if it's False, then he/she doesn't have that capability.

And, if that person is already Host of the meeting, then obviously he/she has the recording capability for that meeting.

Note: meetingId can be fetched from here using the meetingNumber, which is available in meeting invitation email.

 

Please let us know for any further assistance on this.

Regards,
Sandip