Profile
When a user is registered, a profile is created automatically. The user's profile contains personal information about the user and the device. For accurate measurements, it's important to keep this profile up-to-date.
Profile Schema
The JSON snippet below shows the structure of a user profile.
Update Profile
SDK
REST API
If you want to update the profile using the REST API, you need to know the userId
of the user that is currently logged in. The userId
is available in response of the /tokens
endpoint after a successful authentication attempt.
Update the profile of the authenticated user
PUT
https://api.fibricheck.com/profiles/v1?id={userId}
Query Parameters
userId
String
The user for which you want to update the profile information.
Get information about the authenticated user
For some API functionality, you need to have more information about the authenticated user. For example, to generate a periodic report you'll want to know the language in which to generate the report.
If you're using the SDK, the information will be fetched internally. If you are using the REST API endpoints, you can use the /me
call to get the necessary information.
Get information about the authenticated user
GET
https://api.fibricheck.com/users/v1/me
Last updated