Releasesv0.1.0
Connections

The user's provider connections

GET
/v1/users/{id}/connections

Authorization

tenantKey
headerAuthorizationBearer <token>

Tenant API key, ohs_sk_ + 43 base62 characters.

Path Parameters

id*string
Formatuuid

Header Parameters

Authorization*string

The tenant API key, as a bearer secret.

Response Body

Connections, one per provider.

application/json
  1. response
data*array<>
curl -X GET 'http://localhost:8080/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/connections' \  -H 'Authorization: Bearer ohs_sk_...'
{  "data": [    {      "provider": "string",      "status": "active",      "scopes": [        "string"      ],      "last_sync_at": "2019-08-24T14:15:22Z",      "initial_backfill_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "health": {        "healthy": true,        "reason": "needs_reauth",        "action": "reconnect",        "since": "2019-08-24T14:15:22Z",        "retry_at": "2019-08-24T14:15:22Z"      }    }  ]}
Edit on GitHub