Vekta API
Events

List a user's events

The user's planned events and races, most recent first.

You can filter by date.

Responds with:

  • 404 not_found: 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: invalid parameters or payload.
GET
/users/{userId}/events

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

Query Parameters

from?string

First date to include (YYYY-MM-DD)

Formatdate
to?string

Last date to include (YYYY-MM-DD)

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/users/me/events"
[  {    "id": "evt_01JK4W2N9XQ3F5H7B8C6D2E9GT",    "createdBy": "usr_01JGXW3KQ2B8C4D5E6F7G8H9J0",    "workspaceId": "wke_01JGXW3KQ2B8C4D5E6F7G8H9J0",    "name": "Gran Fondo",    "description": null,    "date": "2026-09-14",    "time": "09:30:00",    "sport": "cycling",    "subSport": "road",    "distance": 120000,    "elevationGain": 2400,    "duration": 18000,    "work": 3200,    "carbIntake": 60,    "activityId": null  }]