List organizations the caller has access to.

​

Query Parameters

  • The maximum number of records to return.

  • Records after this cursor will be returned.

Responses

  • application/json
  • application/json
  • Unauthorized

  • application/json
  • Too many requests in past minute

  • Internal Server Error

Request Example for get/api/v1/Organizations
curl /api/v1/Organizations \
  --header 'ApiKey: YOUR_SECRET_TOKEN'
{
  "paging": {
    "cursor": {
      "after": null
    },
    "next": null
  },
  "data": [
    {
      "code": "YRI",
      "name": "Your Restaurants, Inc.",
      "locations": [
        {
          "location_id": 1,
          "location_number": null,
          "organization_location_identifier": null,
          "name": null,
          "open_date": null,
          "close_date": null,
          "address": {
            "street": "100 Main St",
            "suite": "400 East",
            "city": "Anytown",
            "county": "YourCounty",
            "state": "MN",
            "zip": "01234",
            "zip_plus_four": "5678"
          },
          "workers": [
            {
              "id": 123456,
              "first_name": "John",
              "last_name": "Doe",
              "middle_initial": "H",
              "phone": "9876543210",
              "alternative_phone": "1234567890",
              "email": "johnhdoe@example.com",
              "last_update": "2017-02-02",
              "hire_date": "2017-02-01",
              "birth_date": "2000-02-01",
              "term_code": "QUIT",
              "term_date": "2017-02-01",
              "home_location_id": null,
              "gender": "Other",
              "address": "2017-02-01",
              "client_worker_identification": {
                "company_code": "GR8",
                "identifier": "TK-1138"
              }
            }
          ],
          "tax_rates": [
            {
              "name": null,
              "rate": 1,
              "code": null,
              "type": "None"
            }
          ]
        }
      ]
    }
  ],
  "data_type": null,
  "available_requests": 1
}