> ## Documentation Index
> Fetch the complete documentation index at: https://docs.marzipan.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Check Event Availability

> Check ticket availability for an event, optionally for a specific date. For recurring events, an invalid date returns `available: false` with a message. Includes waitlist status and count.



## OpenAPI

````yaml /api-reference/openapi.json get /events/{event}/availability
openapi: 3.0.0
info:
  title: Marzipan API
  version: 1.0.0
servers:
  - url: https://api.marzipan.co/v1
security:
  - tenantAuth: []
tags:
  - name: Account
    description: >-
      Account management endpoints including registration, login, and user
      details
  - name: Carts
    description: Shopping cart management endpoints
  - name: Products
    description: Product catalog and search endpoints
  - name: Subscriptions
    description: Subscription management and renewal endpoints
  - name: CMS
    description: Content management system endpoints
  - name: Messaging
    description: Message and communication endpoints
  - name: Search
    description: Search functionality endpoints
  - name: Settings
    description: >-
      Storefront settings and market detection used to configure the web
      components and checkout.
  - name: Analytics
    description: Storefront visit and attribution tracking.
  - name: Rewards
    description: >-
      Loyalty and rewards programme endpoints for the authenticated customer,
      covering points balance, tier status, perks, exclusive products and
      transaction history.
  - name: Forms
    description: Render and submit dynamic storefront forms defined in the CMS.
  - name: Events
    description: >-
      Check event availability, browse occurrences and recurring dates, generate
      ticket QR codes, and manage event waitlists (join, leave, check status,
      and claim promoted spots).
paths:
  /events/{event}/availability:
    parameters:
      - name: event
        in: path
        required: true
        description: The unique identifier of the event.
        schema:
          type: string
          format: uuid
        example: b7a4c2e1-8f3d-4a6b-9c2e-1d5f7a8b3c4d
    get:
      tags:
        - Events
      summary: Check Event Availability
      description: >-
        Check ticket availability for an event, optionally for a specific date.
        For recurring events, an invalid date returns `available: false` with a
        message. Includes waitlist status and count.
      parameters:
        - name: date
          in: query
          required: false
          description: >-
            The date to check availability for (YYYY-MM-DD). Defaults to the
            event's start date. Used to validate a date against a recurring
            event's schedule.
          schema:
            type: string
            format: date
          example: '2026-08-15'
      responses:
        '200':
          description: Availability details for the event.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventAvailability'
              example:
                available: true
                ticketsAvailable: 42
                waitlistEnabled: true
                waitlistCount: 3
        '404':
          description: Event not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: No query results for model [Event].
components:
  schemas:
    EventAvailability:
      type: object
      description: Ticket availability for an event.
      properties:
        available:
          type: boolean
          description: Whether tickets are currently available.
        ticketsAvailable:
          type: integer
          description: The number of tickets available.
        waitlistEnabled:
          type: boolean
          description: Whether the waitlist is enabled for the event.
        waitlistCount:
          type: integer
          description: The number of entries currently on the waitlist.
        message:
          type: string
          description: >-
            An explanatory message, present when the event is unavailable or
            does not occur on the requested date.
    Error:
      type: object
      properties:
        message:
          type: string
          description: Error message
      required:
        - message
  securitySchemes:
    tenantAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your API token.
      bearerFormat: JWT

````