Wiki
Clone wikimobile.mng-ads.com-mngperf / auth-reporting
auth-reporting
POST /auth-reporting : Authentication Service
Before you can make calls to reporting API, you must use your email and password to get an authorization token. The token remains active for 2 hours, during which you do not need to re-authenticate.
- Create a json file including your email and password
#!bash $ cat auth
#!json { "auth": { "email" : "YOUR_EMAIL", "password" : "YOUR_PASSWORD" } }
- Post the file to the authentication service
The request returns a token that remains valid for the 2 hours following your most recent call to the API.
#!bash
$ curl -X POST -d @auth https://xxxx.com/auth-reporting
-
success
#!json { "response":{ "status":"OK", "token":"05ef0ecc56aee3b7d36dd5db63261f45cb11b545" } }
-
error
#!json { "response":{ "error_id":"SYSTEM", "error":"Username or password not set in request" } }
Available API
Updated