Skip to main content
GET
/
v1
/
organizations
/
{organization}
/
slots
List Slots
curl --request GET \
  --url https://api.aspect-dev.systems/v1/organizations/{organization}/slots \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "type": "slots",
      "attributes": {
        "id": "<string>",
        "date_time": "<string>",
        "state": "active",
        "remaining_capacity": 123
      },
      "relationships": {
        "division": {
          "data": {
            "type": "divisions",
            "id": "<string>"
          }
        },
        "location": {
          "data": {
            "type": "locations",
            "id": "<string>"
          }
        },
        "schedule": {
          "data": {
            "type": "schedules",
            "id": "<string>"
          }
        },
        "rates": {
          "data": [
            {
              "type": "rates",
              "id": "<string>"
            }
          ]
        },
        "tags": {
          "data": [
            {
              "type": "tags",
              "id": "<string>"
            }
          ]
        },
        "entries": {
          "data": [
            {
              "type": "entries",
              "id": "<string>"
            }
          ]
        }
      }
    }
  ],
  "links": {
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>"
  },
  "meta": {
    "path": "<string>",
    "per_page": 123,
    "next_cursor": "<string>",
    "prev_cursor": "<string>"
  },
  "included": [
    {
      "id": "<string>",
      "type": "divisions",
      "attributes": {
        "id": "<string>",
        "name": "<string>",
        "industry": "golf"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization
string
required

Query Parameters

include
string

Available includes are division, location, schedule, rates, tags, entries. You can include multiple options by separating them with a comma.

page[size]
integer
default:30

The number of results that will be returned per page.

page[cursor]
string

The cursor to start the pagination from.

filter[division_id]
string

Filter by division ID.

Example:

310476121357873150

filter[date]
string

Filter by date.

Example:

"2025-06-26"

filter[state]
string

Filter by state.

Example:

"active"

Response

Paginated set of SlotResource

data
SlotResource · object[]
required
meta
object
required
included
(DivisionResource · object | LocationResource · object | ScheduleResource · object | SlotRateResource · object | TagResource · object | EntryResource · object)[]