Customer Self-Service Portal

error_code: 1100,"message: You are not authorized to perform this operation

Hi,

We need support to get monitor status in site 24x7 via REST API. I followed the doument here:
www.site24x7.com/help/api/#getting-started

Steps I did:
1) Created an access token with the following command:

curl  accounts.zoho.eu/oauth/v2/token -X POST -d "client_id=1000.***" -d "client_secret=***" -d "code=1000.***" -d "grant_type=authorization_code"


Code was obtained from the self client with the scope "Site24x7.Reports.Read"

 api-console.zoho.eu/client/1000.SA55EPV7G2JSGCURZUTQOBJRPY8FSR


2) Tried to get the monitor status with the generated access token using the following command:

curl www.site24x7.eu/api/current_status/3079000000007006 -X GET  -H "Accept: application/json; version=2.0" -H "Authorization: Zoho-oauthtoken <access token***>"


I get the following error, where I'm not authorized to perform this operation>

{"error_code":1100,"message":"You are not authorized to perform this operation"}


Please let us know what permission is requied to make the API call work ?

We also need to know how to increase or disable the expiry of access token.


Following is the account details:

Site24x7 Role :  Admin
Org Role :   User
Allowed Groups :
All Groups

 
Thanks and Regards,

Jerald Sabu M