API: Get Account Details

Use this API endpoint to request the account details with its configuration data.

GET /account

Example Request
curl -X GET "https://api.corsizio.com/v1/account" \
     -H "Authorization: Bearer {YOUR_API_SECRET_KEY}"
Example Response
{
  "id": "5255ea833ccc44c65400000d",
  "name": "Example Account",
  "alias": "example",
  "timeZone": "America/Toronto",
  "currency": "usd",
  "siteUrl": "https://example.corsizio.com",
  "contact": {
    "phone": "555.666.8989",
    "email": "classes@example.com",
    "name": "Student Administrator"
  },
  "locations": [
    {
      "city": "Toronto",
      "country": "Canada",
      "label": "First Canadian Place, 100 King St W, Toronto, Ontario, Canada",
      "name": "First Canadian Place",
      "state": "Ontario",
      "street": "100 King St W",
      "zip": "M5X 1A9",
      "id": "526a918895e5ca2a6200000d"
    },
    {
      "label": "Super Hall, 555 Yonge Street",
      "name": "Super Hall",
      "street": "555 Yonge Street",
      "id": "526a98d9072671876200000d"
    }
  ],
  "categories": [
    {
      "label": "Healthy & Well"
      "id": "525da79b9786571a1d00000e",
    }
  ],
  "ageGroups": [
    {
      "label": "Child",
      "id": "525f20c3ca86697a2f00001c"
    },
    {
      "label": "Adult",
      "id": "525f20c3ca86697a2f00001a"
    }
  ],
  "genders": [
    {
      "label": "Men",
      "id": "525f20c3ca86697a2f03401c"
    },
    {
      "label": "Women",
      "id": "525f20c3ca86697a2f03401a"
    }
  ],
  "levels": [
    {
      "label": "Level 1",
      "id": "525f1ffaca86697a2f000012"
    },
    {
      "label": "Level 2",
      "id": "525f1ffaca86697a2f000011"
    }
  ],
  "priceRanges": [
    {
      "label": "Free",
      "from": 0,
      "to": 0,
      "value": "0:0",
      "id": "535d6fb4097e133f57000011"
    },
    {
      "label": "Under $50",
      "to": 50,
      "from": null,
      "value": "under:50",
      "id": "5273c5825b7355040300000e"
    },
    {
      "label": "$51 — $100",
      "from": 51,
      "to": 100,
      "value": "51:100",
      "id": "5260895b36d5ba9d3600000d"
    },
    {
      "label": "Over $101",
      "from": 101,
      "to": null,
      "value": "101:over",
      "id": "535d6e1b9f5368014a000013"
    }
  ]
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us