Skip to main content
GET
/
api
/
v1
/
users
/
{user_id}
/
connections
Get Connections Endpoint
curl --request GET \
  --url https://api.example.com/api/v1/users/{user_id}/connections \
  --header 'Authorization: Bearer <token>'
[
  {
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "provider": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "active",
    "last_synced_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "provider_user_id": "<string>",
    "provider_username": "<string>",
    "scope": "<string>",
    "max_historical_days": 123,
    "rest_pull": false,
    "webhook_stream": false,
    "webhook_ping": false,
    "webhook_callback": false,
    "live_sync_mode": "pull"
  }
]

Documentation Index

Fetch the complete documentation index at: https://openwearables.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Open-Wearables-API-Key
string | null

Path Parameters

user_id
string<uuid>
required

Response

Successful Response

user_id
string<uuid>
required
provider
string
required
id
string<uuid>
required
status
enum<string>
required

Status of a user connection to a provider.

Available options:
active,
revoked,
expired
last_synced_at
string<date-time> | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
provider_user_id
string | null
provider_username
string | null
scope
string | null
max_historical_days
integer | null
rest_pull
boolean
default:false
webhook_stream
boolean
default:false
webhook_ping
boolean
default:false
webhook_callback
boolean
default:false
live_sync_mode
enum<string> | null
Available options:
pull,
webhook