Thrive AI Health
Api reference

List devices currently linked to the user

Paginated list of every provider the member has connected. `status=error` flags providers whose credentials have broken (typically a partner-side reconnect prompt).

GET
/v1/users/{user_id}/devices

Authorization

MemberBearer
AuthorizationBearer <token>

Member-scoped JWT minted by POST /v1/auth/token. Required on every /v1/users/{user_id}/... route; the token's sub claim must match the path user_id.

In: header

Path Parameters

user_id*User Id
Formatuuid

Query Parameters

limit?Limit
Default10
Range1 <= value <= 200
offset?Offset
Default0
Range0 <= value

Header Parameters

org-id?string|null
x-user-id?string|null
x-request-id?string|null
traceparent?string|null
Idempotency-Key?|null

Response Body

application/json

application/json

curl -X GET "https://loading/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/devices"
{
  "data": [
    {
      "provider_slug": "string",
      "device_name": "string",
      "connected_at": "2019-08-24T14:15:22Z",
      "last_sync_at": "2019-08-24T14:15:22Z",
      "status": "connected"
    }
  ],
  "pagination": {
    "limit": 25,
    "offset": 0,
    "total": 0
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}