Integrations

Get a connection

GET
/integrations/connections/{connection_id}

Return a connection the caller manages (as owner or organization admin, see access) with status, setup state, next_step (the one operation that brings it closer to usable in a Space, with known arguments, what the caller supplies and a reason; null when ready), contract digest and 30-day usage statistics. A connection you only use through a grant shared with you comes back read-only and redacted (shared: true, owner_name, grant_ids; no configuration, identity or test details). provider_scopes and credential_expires_at describe the current credential and are null unless you manage the connection or administer its organization. Credentials are never returned.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

connection_id*string

Resource identifier: connection_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/integrations/connections/123e4567-e89b-42d3-a456-426614174000"
{  "id": "123e4567-e89b-42d3-a456-426614174000",  "provider_key": "klaviyo",  "auth_scheme": "example",  "label": "Customer documents",  "external_identity": "example",  "owner": {    "id": "123e4567-e89b-42d3-a456-426614174000",    "email": "ada@example.com",    "name": "Customer documents",    "image_url": "example"  },  "public_config": {},  "status": "ACTIVE",  "enabled": false,  "environment": "example",  "safe_error_code": "example",  "test_summary": {},  "pending_step": {},  "provider_contract_digest": "example",  "last_tested_at": "example",  "created_at": "example",  "updated_at": "example",  "setup_required": false,  "offered_operations": [],  "scope": {},  "issue": "example",  "next_step": {},  "provider_scopes": [],  "credential_expires_at": "example"}