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

# GET /Webhooks

> Retrieve all webhook subscriptions for your NowBookIt location.

Retrieve all webhook subscriptions for your NowBookIt location.

<ParamField header="X-API-KEY" type="string" required>Your API key</ParamField>

<CodeGroup>
  ```shell curl theme={null}
  curl --location '[BASE_URL]/Webhooks' \
  --header 'X-API-KEY: your_api_key_here'
  ```
</CodeGroup>

Response is an array of WebhookModel objects.

| Field                   | Type    | Description                             |
| ----------------------- | ------- | --------------------------------------- |
| `event`                 | string  | The event type subscribed to            |
| `webhookUrl`            | string  | Your endpoint URL                       |
| `locationId`            | string  | NowBookIt location ID                   |
| `authenticationEnabled` | boolean | Whether auth credentials are configured |

**Valid event values:** `BOOKING_CREATED`, `BOOKING_UPDATED`, `GIFTCARDS_CREATED`, `GIFTCARDS_UPDATED`, `GIFTCARDS_CANCELLED`, `GIFTCARDS_REDEEMED`

**Example 200 Response**

```json theme={null}
[
  {
    "event": "BOOKING_CREATED",
    "webhookUrl": "https://your-system.com/webhooks/nbi/booking-created",
    "locationId": "loc-9",
    "authenticationEnabled": true
  },
  {
    "event": "BOOKING_UPDATED",
    "webhookUrl": "https://your-system.com/webhooks/nbi/booking-updated",
    "locationId": "loc-9",
    "authenticationEnabled": false
  }
]
```

| Status | Description                         |
| ------ | ----------------------------------- |
| `200`  | Subscriptions returned              |
| `400`  | API key not associated with a venue |
| `400`  | `No Venue Subscribed to your App.`  |
| `401`  | X-API-KEY missing or invalid        |


## OpenAPI

````yaml GET /Webhooks
openapi: 3.0.4
info:
  title: NowBookIt IPOS Partner API
  description: >-
    REST API for integrating your POS or external system with NowBookIt's
    reservation, sales, and gift card platform.
  version: v1
  contact:
    email: platform.integrations@nowbookit.com
servers:
  - url: https://ipos.dev.nowbookit.com
    description: Development
  - url: https://ipos.nowbookit.com
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /Webhooks:
    get:
      tags:
        - Webhooks
      summary: List Webhooks
      operationId: listWebhooks
      parameters:
        - name: X-API-KEY
          in: header
          description: API Key authentication header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Gets Webhooks
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookModel'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WebhookModel:
      type: object
      properties:
        authenticationEnabled:
          type: boolean
        event:
          $ref: '#/components/schemas/WebhookEvents'
        locationId:
          type: string
          nullable: true
        webhookUrl:
          type: string
          nullable: true
      additionalProperties: false
    WebhookEvents:
      enum:
        - BOOKING_CREATED
        - BOOKING_UPDATED
        - GIFTCARDS_CREATED
        - GIFTCARDS_UPDATED
        - GIFTCARDS_CANCELLED
        - GIFTCARDS_REDEEMED
      type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````