Vekta API
Activity comments

Comment an activity

Adds a comment to the activity, under your name.

The activity's owner and their coaches get a notification in the mobile app. This endpoint only counts toward the per API key rate limit.

Responds with:

  • 404 not_found: the activity doesn't exist, or isn't yours or one of your athletes'.
  • 403 subscription_required: the activity's owner doesn't have an active Vekta subscription.
  • 400 bad_request: invalid parameters or payload.
POST
/activities/{activityId}/comments

Authorization

bearer
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

activityId*string

Id of an activity, from GET /users/{userId}/activities

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

content*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/activities/act_01JK4W2N9XQ3F5H7B8C6D2E9GT/comments" \  -H "Content-Type: application/json" \  -d '{    "content": "Great pacing on the last climb!"  }'
{  "id": "act_01JK4W2N9XQ3F5H7B8C6D2E9GV",  "content": "Great pacing on the last climb!",  "fromVekta": false,  "createdAt": "2026-08-05 09:12:33.481+00",  "user": {    "id": "usr_01JGXW3KQ2B8C4D5E6F7G8H9J0",    "firstName": "Alex",    "lastName": "Rivera"  }}