Skip to main content

API Authentication and Authorization

Login

Parameters

Parameters

Type

Required

Description

email

String

Yes

It is the e-mail address entered when registering to Medianova Cloud Panel.

password

String

Yes

It is the password of your user on the Medianova Cloud Panel.

remember

Bool

No

It is for the browser to keep session information in Medianova Cloud Panel entries.

Request

CODE
{
"email": "example@example.com", 
"password": "hiddenpassword", 
"remember": true
}

Response

CODE
{
"status": true, 
"required_2fa": false, 
"token": "hidden_token", 
"session": "hidden_session", 
"expire": 1662560457
}

Login with API Token

After generating token here, you will be given API credentials to access our API. You will be allowed to access analytic stats and do operations taht works within our API. The validity period of the api key and refresh token is 30 days, validity period of Access token is 4 hours.

Parameters

Parameters

Type

Required

Description

api_key

String

Yes

API token is the key information required for login.

api_secret

String

Yes

API token is the secret information required for login.

Request

CODE
{
"api_key": "string", 
"api_secret": "string"
}

Response

CODE
{
"status": true,
"token": "hidden_token", 
"session": "hidden_session", 
"expire": 1666024005
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.