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

# Get Event (Legacy)

> Legacy single-event endpoint — use Get Event for new integrations

<Warning>
  **Deprecated.** This endpoint returns the original flat response shape. It is maintained for backwards compatibility only. For new integrations, use [`GET /events/{id}`](/api-reference/event/get), which supports the standard public API conventions (`object` discriminators, `expand[]`, slim canonical shapes, and the standard error envelope).
</Warning>

This endpoint returns comprehensive information about a specific event, including its location, resources, staff assignments, and associated booking details.

### Response

The response includes a detailed event object containing:

* Event identification and basic details
* Location information (venue name, address)
* Assigned resources (equipment, machines)
* Staff assignments
* Associated addons
* Booking status and details
* Event brief reference

### Common Use Cases

* Retrieving event details for display
* Checking resource and staff assignments
* Verifying event location and timing
* Accessing booking information
* Confirming addon selections

### Notes

* The event ID must be valid and associated with your company
* Returns a 404 error if the event is not found
* All event times are returned in ISO 8601 format with timezone
* Access requires a valid API key with appropriate permissions

### Migrating to `GET /events/{id}`

The new endpoint returns a slim default body with foreign-key ids; relations move behind `expand[]`. Key mappings:

| Legacy (top-level flat)                                     | v2 (nested via expand)                                        |
| ----------------------------------------------------------- | ------------------------------------------------------------- |
| `leadCompanyName`                                           | `booking.lead.companyName` (with `expand[]=booking.lead`)     |
| `booking.eventTypeName`                                     | `booking.eventType.name` (with `expand[]=booking.eventType`)  |
| `location`, `resources`, `staff`, `addons` (always present) | Available via `expand[]=location`, `expand[]=resources`, etc. |


## OpenAPI

````yaml GET /event/getEventData/{event_id}
openapi: 3.0.1
info:
  title: Flashquotes API
  description: API for accessing event, form, and invoice data from Flashquotes
  version: 1.0.0
  contact:
    name: Flashquotes Support
    email: support@flashquotes.com
servers:
  - url: https://app.flashquotes.com/api
    description: Production server
security:
  - apiKey: []
paths:
  /event/getEventData/{event_id}:
    get:
      summary: Get Event Details (Legacy)
      description: >-
        Legacy endpoint returning the original flat event shape. Maintained for
        backwards compatibility. New integrations should use GET /events/{id}.
      parameters:
        - name: event_id
          in: path
          required: true
          description: The unique identifier of the event
          schema:
            type: string
      responses:
        '200':
          description: Event data retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyEvent'
        '401':
          description: Invalid or missing API key
        '404':
          description: Event not found
      deprecated: true
components:
  schemas:
    LegacyEvent:
      type: object
      description: Legacy event shape returned by GET /event/getEventData/{event_id}.
      properties:
        id:
          type: string
        name:
          type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        location:
          type: object
          properties:
            name:
              type: string
            address:
              type: string
            city:
              type: string
            state:
              type: string
            zip:
              type: string
        resources:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              quantity:
                type: integer
        staff:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              firstName:
                type: string
              lastName:
                type: string
              email:
                type: string
        addons:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              quantity:
                type: integer
              price:
                type: number
        booking:
          type: object
          properties:
            id:
              type: string
            entityToInvoice:
              type: string
            email:
              type: string
            phone:
              type: string
        eventBriefUrl:
          type: string
          description: URL to access the event brief
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication

````