---
title: "Find a table by ID"
method: GET
path: "/api/v1/restaurants/{restaurant_id}/tables/{table_id}"
tags: ["Table"]
---

# Find a table by ID

`GET /api/v1/restaurants/{restaurant_id}/tables/{table_id}`

## Request

- Base URL: `https://gotable.app`
- URL: `https://gotable.app/api/v1/restaurants/{restaurant_id}/tables/{table_id}`
- Auth: HTTP bearer

## Path parameters

- `restaurant_id` integer, required
- `table_id` integer, required

## Response `200`

With a valid API token

- Table
  - `id` integer: The unique ID of the table
  - `restaurant_id` integer: The unique ID of the restaurant
  - `label` string: Indentifying human readable table name
  - `section` string, nullable: Restaurant section, room or group this table belongs to
  - `minimum_party_size` integer, nullable: Smallest party size that can be seated at this table
  - `maximum_party_size` integer, nullable: Largest party size that can be seated at this table
  - `created_at` string, datetime: The datetime the table was created
  - `updated_at` string, datetime: The datetime the table was last updated
  - `links` Link[]: An array of useful links for this table
    - `href` string: The URL to the related resource.
    - `method` 'GET' | 'POST' | 'PUT' | 'DELETE': The HTTP method that should be used to follow the link.
    - `rel` string: The relationship of this link to the current resource.

## Other responses

- `401`: With an invalid API token
- `403`: With an unauthorized API token
- `404`: With a non-existant Table ID

---

[API](https://skmtc.dev/gotable/apis/gotable-api-v1.md) · [All operations](https://skmtc.dev/gotable/apis/gotable-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/gotable/apis/gotable-api-v1/revisions/abe658488f5b?raw)
