Get a permitted user profile
Returns the privacy-safe profile of one user. The Application needs an active installation on this user. Other users answer 404 `not_found`.
GET/api/v2/users/{userId}
Parameters #
| Property | Type | Location | Description |
|---|
userId | stringRequired | path | - |
Request #
curl --request GET 'https://strave.gg/api/v2/users/USER_ID' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'
Response #
200Response for status 200
application/json400Response for status 400
application/json401Response for status 401
application/json403Response for status 403
application/json404Response for status 404
application/json429Response for status 429
application/json500Response for status 500
application/json503Response for status 503
application/json| Property | Type | Description |
|---|
data | objectRequired | - |
└id | stringRequired | - |
└displayName | stringRequired | - |
└username | string | nullRequired | - |
└imageUrl | string | nullRequired | - |
└nationality | string | nullRequired | - |
└platforms | string[]Required | - |
└primaryPlatform | string | nullRequired | - |