Vekta API
Activity comments

Edit a comment

Replaces the content of a comment you wrote.

Responds with:

  • 404 not_found: the comment doesn't exist, or is on an activity that isn't yours or one of your athletes'.
  • 403 subscription_required: the activity's owner doesn't have an active Vekta subscription.
  • 403 forbidden: someone else (or Vekta) wrote the comment.
  • 400 bad_request: invalid parameters or payload.
PATCH
/activity-comments/{activityCommentId}

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

activityCommentId*string

Id of a comment, from the comments of an activity, or from the response when you create one

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 PATCH "https://example.com/activity-comments/act_01JK4W2N9XQ3F5H7B8C6D2E9GV" \  -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"  }}