# List event dates

Endpoint: GET /locations/{location_id}/events/dates
Version: 2.0.0
Security: BearerPartnerUser

## Security:

  - `BearerPartnerUser` (unknown)
    http bearer Bearer {PartnerToken}, User {UserToken}

## Path parameters:

  - `location_id` (integer, required)

## Query parameters:

  - `filter[from]` (string, required)

  - `filter[to]` (string, required)

## Response 200:

  - `200` (unknown)
    Dates containing matching events

## Response 200 fields (application/json):

  - `data` (array, required)
    One JSON:API resource per date that has at least one matching event

  - `data.type` (string, required)
    Example: activity_date

  - `data.id` (string, required)
    Example: 2026-07-18

  - `data.attributes` (object, required)

  - `data.attributes.date` (string, required)
    Example: 2026-07-18

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: false

  - `data` (object | null)
    Response data.
    Example: null

  - `meta` (object)
    Additional response data.

  - `meta.message` (string)
    Error message.
    Example: Authentication needed.

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: false

  - `data` (object | null)
    Response data.
    Example: null

  - `meta` (object)
    Additional response data.

  - `meta.message` (string)
    Error message.
    Example: Access denied.

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `success` (boolean)
    Response status.
    Example: false

  - `data` (object | null)
    Response data.
    Example: null

  - `meta` (object | array)
    Additional response data (empty object or empty array)
    Example: {}

