Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

...

Voice sample collection for mental fitness requires 30-second voice audio sample. This voice sample request is made through a prompt. Users can be asked an insightful question or an open-ended question (“how are you feeling'). Sonde offers journaling capability such that the 30-second voice audio sample prompt can be transcribed. The transcribed text can be passed to partners for further analysis. Currently Sonde supports English language transcription.

Notes:

  • To access Journaling API, please contact Sonde at support@sondehealth.com. Please provide your company name and address

  • Refer Account for detail on how to create an account with Sonde

Limitation

  • Detection of voice sample and/or transcription including the intention of self-harm or harm to others is not supported.

...

Replace <access_token> with the value of access_token attribute from 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

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

...

...

  • .

countryCode should be the country information that you have used while creating the account with Sonde Health.

...

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"
  }
}'

  For detail information on capturing Mode, Please refer Capturing Mode

Response3:

The response is shown for illustration purposes.

...