Users
Get a user's profile
Your profile, or one of your athletes'.
Responds with:
404 not_found: the user doesn't exist or isn't one of your athletes.403 subscription_required: the user (or you, forme) doesn't have an active Vekta subscription.400 bad_request: invalid parameters or payload.
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
userId*string
Id of a user you have access to (see GET /users), or me for yourself
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/users/me"{ "id": "usr_01JGXW3KQ2B8C4D5E6F7G8H9J0", "firstName": "Alex", "lastName": "Rivera", "dateOfBirth": "1990-05-15", "gender": "male", "height": 180, "dataOnboardingStatus": "done", "userMetricReadiness": { "hasVektaCyclingCriticalPower": true, "hasVektaRunningCriticalPower": true, "hasVektaRunningCriticalSpeed": false }, "latestMetrics": [ { "type": "weight", "value": 71.5, "source": "user", "sport": "global" } ], "workspaces": [ { "id": "wke_01JGXW3KQ2B8C4D5E6F7G8H9J0", "name": "Endurance Squad", "slug": "endurance-squad", "role": "coach" } ]}