List Categories

GET /v1/categories

List all Categories for an account.

Responses

  • OK

    Hide response attributes Show response attributes object
    • id integer

      ID of category

    • name string

      Name of the category

  • All errors will return the same object with a describing code & message

    Hide response attributes Show response attributes object
GET /v1/categories
curl \
 -X GET https://ma-api.maddenanalytics.com/v1/categories \
 -H "Authorization: $API_KEY"
Response examples (200)
[
  {
    "id": 42,
    "name": "string"
  }
]
Response examples (default)
{
  "error": "Error Type (if any)",
  "message": "Message describing the error",
  "statusCode": 400
}