Vekta API
Notes

Create a note

Adds a note to the user's calendar, under your name.

When you create it for one of your athletes, it's added to the workspace where you coach them. If you coach them in several workspaces, send workspaceId.

Responds with:

  • 404 not_found: workspaceId isn't a workspace where you coach this athlete, or the user doesn't exist or isn't one of your athletes.
  • 403 subscription_required: the user (or you, for me) doesn't have an active Vekta subscription.
  • 400 bad_request: workspaceId is sent for me or missing while you coach the athlete in several workspaces, or other invalid parameters or payload.
POST
/users/{userId}/notes

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

userId*string

Id of a user you have access to (see GET /users), or me for yourself

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

title*string
date*string

Local date (YYYY-MM-DD)

Formatdate
type?string

Defaults to other

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

The workspace to create it in, when the user is one of your athletes. Only needed if you coach them in several workspaces. Not accepted for me.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/users/me/notes" \  -H "Content-Type: application/json" \  -d '{    "title": "Race week reminders",    "date": "2026-08-10"  }'
{  "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}