API Authentication and Authorization
Login
Method | URL |
---|---|
POST |
Parameters
Parameters | Type | Required | Description |
---|---|---|---|
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
{
"email": "example@example.com",
"password": "hiddenpassword",
"remember": true
}
Response
{
"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.
Method | URL |
---|---|
POST |
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
{
"api_key": "string",
"api_secret": "string"
}
Response
{
"status": true,
"token": "hidden_token",
"session": "hidden_session",
"expire": 1666024005
}