/
CMS Authentication

CMS Authentication

Authentication:

In order to use the API, it is required first to login into the publisher account with the account’s
credentials in order to obtain a token.

Request URL:
https://manage.aniview.com/api/token?format=json

Request Method:
POST

Request payload:

{ "id": "<your@email.com>", "password": "<your_password>", "accountId": "<account_id/publisher_id>" }

Response Status Code:
401 - unauthorized
200 - success

Response Body:
The Response will include a JSON object of data, containing the returned token and the
accountId you are connected to.
For example:

{ "data": { "token": "<token>", "accountId": "<account_id/publisher_id>" } }

You will need to pass the token in all future requests. The token needs to be passed as a cookie, in the following format:

headers = {'Cookie': 'token=' + token}

 

Related content

CMS API
CMS API
More like this
CMS Feed API
CMS Feed API
More like this
CMS Basic Guide
CMS Basic Guide
Read with this
Ad Server API Documentation
Ad Server API Documentation
More like this
CMS Carousels API
CMS Carousels API
Read with this
Reporting API
Reporting API
More like this