Skip to content
Website API / Notes

Update a note

PATCHhttps://<your Reveata origin>/api/v1/websites/{website}/notes/{noteId}

Moves a note to another day or changes its text. Needs the editor role.

Related: List notes and Add a note in Notes.

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

1–253 characters

noteIdstringrequired

Pattern: ^[a-f0-9]{24}$

Headers

Authorizationstringrequired

Bearer followed by an account token or an OAuth access token with the notes:write scope.

Content-Typestringrequired

Send the body as JSON.

One of: application/json

Body fields

daystringoptional

Pattern: ^\d{4}-\d{2}-\d{2}$

textstringoptional

1–500 characters

Response

The note.

{
  "status": "string",
  "data": {
    "id": "string",
    "siteId": "string",
    "day": "string",
    "text": "string",
    "createdBy": "string",
    "author": {
      "name": "string",
      "email": "string",
      "image": "string"
    },
    "createdAt": "2026-01-01T00:00:00.000Z",
    "updatedAt": "2026-01-01T00:00:00.000Z"
  }
}

Response fields

FieldTypeDescription
status"ok"
dataobject
data.idstring
data.siteIdstring
data.daystring
data.textstring
data.createdBystring
data.authorobject | null | null
data.author.namestring | null | null
data.author.emailstring
data.author.imagestring | null | null
data.createdAtstring (date-time)
data.updatedAtstring (date-time)