Zapier integration API
Authentication
Query Parameters
Parameter | Type | Description |
---|---|---|
restaurant_id |
string (required) | Your GoTable restaurant ID |
api_key |
string (required) | Your Zapier API key |
Test authentication
GET https://gotable.app/zapier/auth
Example request
GET /zapier/auth?restaurant_id=123&api_key=2b7d28ba0f350b14d19eaf6b12168033889833d63fd47 Host: gotable.app Content-Type: application/json Accept: application/json
Subscribe
POST https://gotable.app/zapier/subscription
Request Body (JSON)
Field | Type | Description |
---|---|---|
hookUrl |
string (required) | The Zapier webhook URL. Must be unique for this restaurant. |
event |
string (required) | The event name |
Valid event
values:
- create_reservation (triggers when a new reservation is created)
- update_reservation (triggers when a reservation is updated)
- cancel_reservation (triggers when a reservation is cancelled)
- reject_reservation (triggers when a reservation rejected)
- check_in_reservation (triggers when a reservation is checked in)
- check_out_reservation (triggers when a reservation is checked out)
Example Request
POST /zapier/subscription?restaurant_id=123&api_key=2b7d28ba0f350b14d19eaf6b12168033889833d63fd47 Host: gotable.app Content-Type: application/json Accept: application/json { "hookUrl": "https://hooks.zapier.com/hooks/catch/123456/abcde", "event": "create_reservation" }
Unsubscribe
DELETE https://gotable.app/zapier/subscription
Request Body (JSON)
Field | Type | Description |
---|---|---|
hookUrl |
string (required) | The Zapier webhook URL. |
Example Request
DELETE /zapier/subscription?restaurant_id=123&api_key=2b7d28ba0f350b14d19eaf6b12168033889833d63fd47 Host: gotable.app Content-Type: application/json Accept: application/json { "hookUrl": "https://hooks.zapier.com/hooks/catch/123456/abcde" }
Perform list
Will return the last reservations, filtered or ordered by event
with a maximum of 10 reservations
GET https://gotable.app/zapier/reservations
Query Parameters
Parameter | Type | Description |
---|---|---|
restaurant_id |
string (required) | Your GoTable restaurant ID |
api_key |
string (required) | Your Zapier API key |
event |
string (required) | The event name |
Valid event
values:
- create_reservation (last created reservations)
- update_reservation (last updated reservations)
- cancel_reservation (cancelled reservations)
- reject_reservation (rejected reservations)
- check_in_reservation (checked in reservations)
- check_out_reservation (checked out reservations)
Example Request
GET /zapier/reservations?restaurant_id=123&api_key=2b7d28ba0f350b14d19eaf6b12168033889833d63fd47&event=update_reservation Host: gotable.app Content-Type: application/json Accept: application/json