Get Bearer token
This endpoint is used to generated the Bearer token needed for authentication to all other endpoints. Requires accountID + apiKey.
POST /v1/auth
curl \
-X POST https://ma-api.maddenanalytics.com/v1/auth \
-d '{"accountID":"string","apiKey":"string"}'
Request example
{
"accountID": "string",
"apiKey": "string"
}
Response examples (200)
{
"accessToken": "string",
"tokenType": "string"
}
Response examples (default)
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}