Open Connector
Connection API

Connection API

Create, inspect, activate, pause, resume, revoke, and remove relationships between product and custom endpoints.

Create, inspect, activate, pause, resume, revoke, and remove relationships between product and custom endpoints.

Use the shared request contract for authentication, pagination, preconditions, idempotency, and common errors. Exact response members are defined in API data types and the downloadable OpenAPI contract.

List connections

GET/api/v1/connector/organizations/{organization_id}/connections
Scope
connections:read
Auth
Bearer API key

Lists connections visible to the principal.

Query parameters
limitintegeroptional

Number of records; bounds are inclusive.

default50rule1–200
cursorstringoptional

Opaque continuation; preserve the original filters.

200Result

Returns a data array of Connection records, pagination.next_cursor, and request_id.

Create a connection

POST/api/v1/connector/organizations/{organization_id}/connections
Scope
connections:write
Auth
Bearer API key
Repeat calls
Organization-scoped Idempotency-Key; 24 hours

Creates a draft relationship with immutable endpoint identities.

Requires Idempotency-Key.

Both endpoints must belong to the owning organization. Unsupported Status endpoints return 422 product_unavailable. Creation grants no exchange; add and approve directional grants.

Request body
namestringrequired

Display name; renaming preserves identity.

rule1–120 characters
endpointsEndpoint[]required

Exactly one a endpoint and one b endpoint; identities are immutable.

rule2–2 items
201Created

Returns data as Connection, plus request_id.

Read a connection

GET/api/v1/connector/organizations/{organization_id}/connections/{connection_id}
Scope
connections:read
Auth
Bearer API key

Returns participant identities, the active grant generation, health, and synchronization time.

200Result

Returns data as Connection, plus request_id.

Activate a connection

POST/api/v1/connector/organizations/{organization_id}/connections/{connection_id}/activate
Scope
connections:write
Auth
Bearer API key
Repeat calls
Organization-scoped Idempotency-Key; 24 hours

Activates a draft connection and its approved grants.

Requires If-Match from a current read. Requires Idempotency-Key.

Poll the returned operation, then read the connection. Activation requires both endpoint approvals for every selected grant.

Pause and revocation do not cancel accepted native product work. Invalid lifecycle transitions return 409 invalid_state.

Request body
reasonstringrequired

Audited reason; empty values are rejected.

rule1–2000 characters
202Accepted

Returns operation.id for operation polling and request_id; acceptance does not establish completion.

Pause a connection

POST/api/v1/connector/organizations/{organization_id}/connections/{connection_id}/pause
Scope
connections:write
Auth
Bearer API key
Repeat calls
Organization-scoped Idempotency-Key; 24 hours

Stops subsequent exchange after the operation acknowledges Paused.

Requires If-Match from a current read. Requires Idempotency-Key.

Poll the returned operation, then read the connection. Activation requires both endpoint approvals for every selected grant.

Pause and revocation do not cancel accepted native product work. Invalid lifecycle transitions return 409 invalid_state.

Request body
reasonstringrequired

Audited reason; empty values are rejected.

rule1–2000 characters
202Accepted

Returns operation.id for operation polling and request_id; acceptance does not establish completion.

Resume a connection

POST/api/v1/connector/organizations/{organization_id}/connections/{connection_id}/resume
Scope
connections:write
Auth
Bearer API key
Repeat calls
Organization-scoped Idempotency-Key; 24 hours

Rechecks active grants and refreshes permitted present state.

Requires If-Match from a current read. Requires Idempotency-Key.

Poll the returned operation, then read the connection. Activation requires both endpoint approvals for every selected grant.

Pause and revocation do not cancel accepted native product work. Invalid lifecycle transitions return 409 invalid_state.

Request body
reasonstringrequired

Audited reason; empty values are rejected.

rule1–2000 characters
202Accepted

Returns operation.id for operation polling and request_id; acceptance does not establish completion.

Revoke a connection

POST/api/v1/connector/organizations/{organization_id}/connections/{connection_id}/revoke
Scope
connections:write
Auth
Bearer API key
Repeat calls
Organization-scoped Idempotency-Key; 24 hours

Revokes subsequent exchange and all connection grants; fresh approval is required to reconnect.

Requires If-Match from a current read. Requires Idempotency-Key.

Poll the returned operation, then read the connection. Activation requires both endpoint approvals for every selected grant.

Pause and revocation do not cancel accepted native product work. Invalid lifecycle transitions return 409 invalid_state.

Request body
reasonstringrequired

Audited reason; empty values are rejected.

rule1–2000 characters
202Accepted

Returns operation.id for operation polling and request_id; acceptance does not establish completion.

Delete a connection

DELETE/api/v1/connector/organizations/{organization_id}/connections/{connection_id}
Scope
connections:write
Auth
Bearer API key

Deletes a revoked connection after its transport dependencies are resolved.

Requires If-Match from a current read.

Active grants or unresolved deliveries return 409 connection_in_use. Resolve the listed dependencies; use native product retirement for hosted capacity or protected routes.

204Removed

Returns no body.