---
title: "Create a new reservation note"
method: POST
path: "/api/v1/restaurants/{restaurant_id}/reservations/{reservation_id}/notes"
tags: ["Note"]
---

# Create a new reservation note

`POST /api/v1/restaurants/{restaurant_id}/reservations/{reservation_id}/notes`

## Request

- Base URL: `https://gotable.app`
- URL: `https://gotable.app/api/v1/restaurants/{restaurant_id}/reservations/{reservation_id}/notes`
- Auth: HTTP bearer

## Path parameters

- `restaurant_id` integer, required
- `reservation_id` integer, required

## Request body

- object
  - `content` string, required: The HTML contents of the note.
  - `author_id` integer, required: The unique ID of an account that has access to the restaurant.

## Response `201`

With a valid API token

- Note
  - `id` integer: The unique ID of the note
  - `author_id` integer: The unique Account ID of the author of the note
  - `author_name` string: The name of the author of the note
  - `content` string: The HTML content of the note
  - `restaurant_id` integer: The unique ID of the restaurant the note belongs to
  - `noteable` object, nullable: The record this note is attached to.
    - `type` 'reservation' | 'restaurant': The lowercased class name of the noteable.
    - `id` integer: The id of the noteable record.
  - `context` string, nullable: Optional context the note is scoped to. Currently used to attach restaurant notes to a specific date (ISO 8601).

## Other responses

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

---

[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)
