cURL
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, "supports_pull": false } ]
Get all connections for a user, enriched with provider capability metadata.
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Status of a user connection to a provider.
active
revoked
expired
Was this page helpful?