Skip to main content

Get Current License Details

This API helps you effortlessly access and retrieve current license details of your organization, including license type, edition, and number of users.

API: https://meeting.zoho.com/api/v2/{orgId}/license 

Method: Get 

OAuth Scope: ZohoMeeting.license.READ 

Path Params: orgId - organization id which is retrieved from currentUser api

Request Example:

Copiedhttps://meeting.zoho.com/api/v2/1234567/license

Response Example:

Copied{
    "representation": {
        "licenseType": "Trial",
        "trialExpiryTime": "1687197925237",
        "meetingAddon": {
            "licenseType": "Trial",
            "edition": "Trial",
            "noOfUsers": "20",
            "participantCount": "100",
            "noOfLicenseEnabled": "2",
            "noOfLicenseLeft": "18"
        },
        "webinarAddon": {
            "licenseType": "Trial",
            "edition": "Trial",
            "noOfUsers": "20",
            "attendeeCount": "100",
            "noOfLicenseEnabled": "2",
            "noOfLicenseLeft": "18"
        },
        "recordingAddon": {
            "enabled": false
        },
        "tollFreeAddon": {
            "enabled": false
        }
    },
    "resourceType": "/api/v2/1234567/license"
}

Show full

Show less

POSSIBLE ERROR CASES

1. Invalid DC or Invalid token
 

HTTP Code: 400
HTTP Body:

Copied{
    "error": {
        "code": 2000,
        "message": "INVALID_OAUTHTOKEN"
    }
}

Resolution: Check whether the entered DC is correct and entered token is not expired.

2. Invalid orgId

HTTP Code: 403
HTTP Body:

Copied{
    "error": {
        "code": 1025,
        "message": "Org doesn't matches with request uri"
    },
    "resourceType": "/meeting/api/v2/1234567/user"
}

Resolution: Check whether the entered organization id is correct.

3. Invalid Org Admin

HTTP Code: 403
HTTP Body:

Copied{
    "error": {
        "code": 1009,
        "message": "Invalid org admin"
    },
    "resourceType": "/meeting/api/v2/1234567/user"
}

Resolution: Only admin can access this API. Kindly contact the admin.