Skip to main content
GET
/
account-health
/
connections
List Health Connections
curl --request GET \
  --url https://api.dontdie.com/account-health/connections \
  --header 'Authorization: Bearer <token>' \
  --header 'x-dd-client-id: <api-key>'
[
  {
    "id": "<string>",
    "userId": "<string>",
    "providerName": "fitbit",
    "providerUserId": "<string>",
    "createdAt": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format: Bearer

x-dd-client-id
string
header
required

Your API client ID for the request

Response

OK

id
string

The ID of the health connection

userId
string

The ID of the user

providerName
enum<string>

The name of the health provider

Available options:
fitbit,
garmin
providerUserId
string

The ID of the user on the health provider

createdAt
string

The date and time the health connection was created