Overview
Use these use-cases (with curl language examples) as a guide for your app development.
Notes:
This measure is deprecated. It is recommended to integrate Respiratory Symptoms Risk (variant: V2)
...
Replace <access_token>
with the value of the access_token attribute of Response1.
Note - Partners can send their userIdentifier in query parameter in below API if they wish to register a user with Sonde Heath using their user identifier, this will help Partners to map Sonde data
For Api details Please check the REST API Reference .
Code Block |
---|
$ curl --request POST 'https://api.sondeservices.com/platform/v2/users' \ --header 'Authorization: <access_token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "yearOfBirth": "1985", "gender": "Female", "language": "HINDI", "device": { "type": "MOBILE", "manufacturer": "VIVO" } }' |
...
Call Storage Service to get the signed URL. In the Authorization header put the value of the access_token attribute from Response1 and the country-code in which you want to upload the wave file. (
For supported country codes
...
and audio meta info Please check the REST API Reference
...
.
For better measure accuracy it is recommended to upload the audio file which has the elicitation mentioned on page Vocal Biomarkers - Health Checks .
...
Code Block |
---|
$ curl --request POST 'https://api.sondeservices.com/platform/v1/storage/files' \
--header 'Authorization: <access_token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"fileType": "wav",
"countryCode": "US",
"userIdentifier": "<userIdentifier>",
"audioMetaInfo": {
"microphone": "DEVICE",
"capturingMode": "CUED",
"os": "IOS",
"application": "APP",
"device": "MOBILE",
"deviceModel": "Iphone 14"
}
}' |
Anchor | ||||
---|---|---|---|---|
|
...