Users
Register user
Changed onOnce partner has been authorized by user, partner must register the user before being able to access its data. API user-id and Polar User Id (polar-user-id) are interchangeable terms.
post/v3/users
Request
- Base URLhttps://www.polaraccesslink.com
- AuthOAuth 2Authorization codehttps://flow.polar.com/oauth2/authorizationToken URLhttps://polarremote.com/v2/oauth2/tokenScopesaccesslink.read_all
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"member-id": "User_id_999"
}Response
User's base information.
Example response
{
"polar-user-id": 2278512,
"member-id": "i09u9ujj",
"registration-date": "2011-10-14T12:50:37.000Z",
"first-name": "Eka",
"last-name": "Toka",
"birthdate": "1985-09-06",
"gender": "MALE",
"weight": 66,
"height": 170,
"extra-info": [
{
"value": "2",
"name": "number-of-children"
}
]
}Changes
- warning
removed the optional property
from the response with the status (media type: application/json) - warning
removed the optional property
from the response with the status (media type: application/xml) - info
added the non-success response with the status
- info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/xml)
- warning
- info
added the non-success response with the status
- info