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

# Legacy Api

> REST API for integrating your POS or external system with NowBookIt's reservation, sales, and gift card platform.

The Legacy Api is NowBookIt's REST API for point-of-sale and technology partners.

<Info>
  **Base URL** and **API key** are provided during onboarding. All endpoints require the `X-API-KEY` request header. Contact [platform.integrations@nowbookit.com](mailto:platform.integrations@nowbookit.com) to get started.
</Info>

## Get started

<Steps>
  <Step title="Obtain your API key">
    Contact your NowBookIt partner manager. You'll receive your `X-API-KEY` and base URL — both are required for every request.
  </Step>

  <Step title="Pick your integration pattern">
    Use the **REST API** to read bookings, post sales, and manage gift cards. Use **Outbound Webhooks** to receive real-time events from NowBookIt. Use **Partner Inbound Webhooks** if your system fires events and you want to push them into NowBookIt.
  </Step>

  <Step title="Start with bookings">
    `GET /Bookings` with `UpdatedFromDate` + `UpdatedToDate` is the most common first endpoint — sync any bookings changed since your last poll.
  </Step>

  <Step title="Post sales back">
    After a table closes, use `POST /Sales` with the booking ID or table number. NowBookIt matches the transaction to the booking and updates the diary automatically.
  </Step>
</Steps>

***

## What's available

<CardGroup cols={3}>
  <Card title="Bookings" icon="calendar" href="/ipos/bookings/list">
    Read, create, and update bookings. Check availability, reassign tables, update status and party size.
  </Card>

  <Card title="Reservations" icon="clock" href="/ipos/reservations/create">
    Push a reservation directly from your POS into NowBookIt.
  </Card>

  <Card title="Sales" icon="receipt" href="/ipos/sales/create">
    Post POS transactions linked to bookings by booking ID or table number.
  </Card>

  <Card title="Gift Cards" icon="gift" href="/ipos/gift-cards/list">
    Look up, redeem, and cancel gift cards issued through NowBookIt.
  </Card>

  <Card title="Customers" icon="user" href="/ipos/customers/list">
    Search customer profiles and manage marketing subscriptions.
  </Card>

  <Card title="Webhooks" icon="bolt" href="/ipos/webhooks/index">
    Subscribe to real-time events for bookings and gift cards.
  </Card>
</CardGroup>
