> ## 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.

# Validate Waitlist Claim Link

> Validate a signed waitlist claim link and return the entry details needed to complete a claim. The link is verified against its signature and expiry, and the entry must be in a claimable (promoted) state.



## OpenAPI

````yaml /api-reference/openapi.json post /events/waitlist/validate
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/waitlist/validate:
    post:
      tags:
        - Events
      summary: Validate Waitlist Claim Link
      description: >-
        Validate a signed waitlist claim link and return the entry details
        needed to complete a claim. The link is verified against its signature
        and expiry, and the entry must be in a claimable (promoted) state.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - eventWaitlist
                - expires
                - signature
              properties:
                eventWaitlist:
                  type: string
                  format: uuid
                  description: The identifier of the waitlist entry.
                expires:
                  type: string
                  description: The expiry timestamp from the signed URL.
                signature:
                  type: string
                  description: The signature from the signed URL.
            example:
              eventWaitlist: 1a2b3c4d-5e6f-4071-8a9b-0c1d2e3f4a5b
              expires: '1786000000'
              signature: 9f8e7d6c5b4a3928170615243342515e6d7c8b9a0f1e2d3c4b5a6978
      responses:
        '200':
          description: The claim link is valid.
          content:
            application/json:
              schema:
                type: object
                properties:
                  valid:
                    type: boolean
                  quantity:
                    type: integer
                    description: The number of tickets held for the entry.
                  eventName:
                    type: string
                    description: The name of the event product.
                  eventId:
                    type: string
                    format: uuid
                    description: The identifier of the event product.
                  expiresAt:
                    type: string
                    format: date-time
                    nullable: true
                    description: When the promoted spot expires.
              example:
                valid: true
                quantity: 2
                eventName: Summer Jazz Night
                eventId: 3f1c9d20-5b8e-4c11-a2d7-6e9f0a1b2c3d
                expiresAt: '2026-08-10T18:00:00Z'
        '422':
          description: The link is invalid, expired, or the spot is no longer claimable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
              example:
                message: The event waitlist field is required.
                errors:
                  eventWaitlist:
                    - The event waitlist field is required.
components:
  schemas:
    ValidationError:
      type: object
      properties:
        message:
          type: string
          description: Validation error message
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Field-specific validation errors
      required:
        - message
        - errors
  securitySchemes:
    tenantAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your API token.
      bearerFormat: JWT

````