Get Bearer token

POST /v1/auth

This endpoint is used to generated the Bearer token needed for authentication to all other endpoints. Requires accountID + apiKey.

Body Required

Your AccountID and apiKey provided to you by Madden

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
  • All errors will return the same object with describing codes/messages

    Hide response attributes Show response attributes object
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
}