Vekta API
Notes

Update a note

Changes a note. Fields you don't send stay the same.

Responds with:

  • 404 not_found: the note doesn't exist, is hidden from you, or isn't yours or one of your athletes'.
  • 403 subscription_required: that user doesn't have an active Vekta subscription.
  • 403 forbidden: the note was created in a workspace where you aren't a coach or admin, or someone other than its creator changes hideUntil.
  • 400 bad_request: an empty payload, or other invalid parameters or payload.
PATCH
/notes/{noteId}

Authorization

AuthorizationBearer <token>

Your Vekta API key, sent as Authorization: Bearer vk_..., or an OAuth access token of an app you connected, sent as Authorization: Bearer <access token>.

In: header

Path Parameters

noteId*string

Id of a note, from GET /users/{userId}/notes

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Properties1 <= properties
title?string
date?string

Local date (YYYY-MM-DD)

Formatdate
type?string
Value in"rest day" | "availability" | "training" | "medical" | "nutrition" | "mental" | "other"
content?string | null
time?string | null
hideUntil?string | null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/notes/not_01JK4W2N9XQ3F5H7B8C6D2E9GT" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "not_01JK4W2N9XQ3F5H7B8C6D2E9GT",  "createdBy": "usr_01JGXW3KQ2B8C4D5E6F7G8H9J0",  "workspaceId": "wke_01JGXW3KQ2B8C4D5E6F7G8H9J0",  "hideUntil": null,  "type": "training",  "title": "Race week reminders",  "content": "Keep the intensity low and hydrate well.",  "date": "2026-08-10",  "time": null}