FitnessSyncer for Researchers

FitnessSyncer for Researchers offers a set of tools to enable researchers to leverage the FitnessSyncer platform to get the data required for their studies. For more information on our offerings, please Contact Us.

List Research Users

If you have started with FitnessSyncer for Researchers and have requested the ability to use our API, this API lists the participants of one of your studies. Each participant carries the pseudonym that identifies them in that study’s exports when the study has a pseudonym key of its own, and their e-mail address as well when the study is not anonymized and your organization role allows you to see identified participants.

No credential of any kind is ever returned. You read each participant’s sources and data with your own credential, through the existing source and data APIs. Your credential must have been granted researcher_read. On a study whose participants you may not see, a source carries no name and no context.

A study whose participants you may not see identified and which has no pseudonym key of its own is refused with 409. A personal study is answered only to an account holding a research agreement. When you may not see identified participants, they are listed in the order of their pseudonyms rather than the order they joined.

GEThttps://api.fitnesssyncer.com/api/researchers/users/
Scoperesearcher_read
Response 200Research User List
Example request
curl -H "Authorization: Bearer AccessToken" "https://api.fitnesssyncer.com/api/researchers/users/"
Query Parameter NameDescription
studyThe id of the study whose participants you wish to list.
offsetHow many entries should we skip? Default is 0.
limitHow many entries would you like to return? Default and max is 100.

Response

The HTTP Response Code will be a 200 on success and the body will be a Research User List.

Types

Research User List

JSON ItemData TypeDescription
usersArray of Research User APIList of Users

Research User API

JSON ItemData TypeDescription
userStringThe participant’s account e-mail address. This is present only when you may see identified participants, which means the study is not anonymized and your organization role allows it; otherwise it is absent and the pseudonym is all you receive.
pseudonymStringThe opaque code that identifies this participant in that study’s exports. It is the same code the exported CSV’s anonymized user column carries, it is stable for one participant within one study, and it differs between studies. This is present when the Research Study has a pseudonym key of its own.
joinedLongWhen the participant consented, in milliseconds since the epoch, and 0 for a participant carried over from before the roster existed, whose consent date was never recorded. This is present only when you may see identified participants, because on a pseudonymous Research Study a consent instant would join straight back to your own recruitment log and name the person the pseudonym stands for.