Org Connections

Operations of the Connector Gateway API. Paths are relative to your deployment's API host.

GET /api/connector-gateway-api/org-connections

List org connections with credential status

Authentication: bearer token (Authorization: Bearer <token>)

StatusDescriptionBody
200application/json OrgConnectionResponseDtoDataArrayEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-gateway-api/org-connections

Connect organization to a provider

Authentication: bearer token (Authorization: Bearer <token>)

Request body: application/json CreateOrgConnectionDto

StatusDescriptionBody
201application/json CreatedOrgConnectionResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

GET /api/connector-gateway-api/org-connections/{id}

Get org connection by ID

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200application/json OrgConnectionResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

DELETE /api/connector-gateway-api/org-connections/{id}

Disconnect org from provider

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-gateway-api/org-connections/{id}/credentials

Add or update user credentials for connection (encrypted at rest)

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes

Request body: application/json AddCredentialsDto

StatusDescriptionBody
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

DELETE /api/connector-gateway-api/org-connections/{id}/credentials

Remove a named member’s credential from this connection (offboarding). The connection itself, and every other member’s credential on it, are untouched.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
overridequeryRemoveConnectionCredentialOverridenoProceed despite a refusal, having accepted what it costs. The only value admits a removal that project bindings resolve through — they will fail at the custody seam until the connection is re-provisioned. Omit it and such a removal is refused with PROJECT_BINDINGS_DEPEND_ON_CREDENTIAL.
userIdquerystringyesThe member whose credential is removed from this connection. Required — an admin-gated removal states its target rather than defaulting to the caller. Naming yourself is allowed and needs no org role; naming anybody else requires org admin.
StatusDescriptionBody
200application/json RemoveCredentialsResultDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

PATCH /api/connector-gateway-api/org-connections/{id}/default

Make this connection the default for its provider at its own space (org, project or personal): authors the connection.<provider> pointer there as the caller. A personal connection only by its owner (404 otherwise); an org or project connection only by an org admin (403). Refused (403/409/503) when the pointer cannot be authored.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200application/json CreatedOrgConnectionResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403The caller may not make this connection its space default (code is a ConnectionDefaultAuthorityErrorCode), or the registry refused the authoring (reason: forbidden).application/problem+json ConnectionDefaultProblemDto
404application/problem+json ProblemDetailsDto
409The registry refused the pointer (reason: refused, not_first_connection or provider_unrepresentable).application/problem+json ConnectionDefaultProblemDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto
503The registry could not be asked (reason: unavailable).application/problem+json ConnectionDefaultProblemDto

PATCH /api/connector-gateway-api/org-connections/{id}/disable

Disable this connection without deleting its credentials

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200application/json OrgConnectionResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

PATCH /api/connector-gateway-api/org-connections/{id}/enable

Enable a configured, disabled connection

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200application/json OrgConnectionResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

PUT /api/connector-gateway-api/org-connections/{id}/endpoint

Change this connection's endpoint. Suspends every credential on the connection until re-entered; audited; probed.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes

Request body: application/json ChangeConnectionEndpointDto

StatusDescriptionBody
200application/json ChangeConnectionEndpointResultDtoDataEnvelope
400The endpoint is refused: the connector takes no per-connection endpoint, the endpoint failed the egress guard, or the body is not valid JSON.application/problem+json ConnectionEndpointBadRequestProblemDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409The connection is revoked or the expected revision is stale; re-read and retry.application/problem+json ConnectionEndpointConflictProblemDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

GET /api/connector-gateway-api/org-connections/{id}/inbound-endpoints/{slug}

Whether a biome-contributed inbound endpoint can verify deliveries for this connection: unbound, secret-missing, secret-unresolvable or ready (the connection's webhook secret resolves through the credential broker), and the endpoint URL path to register with the external caller, /webhooks/inbound/<slug>/<endpointToken>, carrying the connection's platform-minted endpoint token. Report-only; the refusal at the edge is the gate.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
slugpathstringyes
StatusDescriptionBody
200application/json InboundEndpointReadinessDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

PUT /api/connector-gateway-api/org-connections/{id}/inbound-endpoints/{slug}

Route a biome-contributed inbound endpoint's deliveries for this connection's external installation to this organisation. Idempotent; re-binding refreshes the installation id.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
slugpathstringyes
StatusDescriptionBody
200application/json InboundEndpointInstanceDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422The connection cannot be bound: INBOUND_ENDPOINT_CONNECTION_NOT_ELIGIBLE, INBOUND_ENDPOINT_CONNECTION_NOT_ORG_OWNED (not an organisation-owned connection) or INBOUND_ENDPOINT_INSTALLATION_UNVERIFIED (app installation not verified).application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

DELETE /api/connector-gateway-api/org-connections/{id}/inbound-endpoints/{slug}

Stop routing a biome-contributed inbound endpoint's deliveries to this connection. Idempotent.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
slugpathstringyes
StatusDescriptionBody
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-gateway-api/org-connections/{id}/test

Test an org connection — actively resolves its credential; needs no project binding

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200application/json TestConnectionResponseDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

POST /api/connector-gateway-api/org-connections/{id}/webhook-endpoint-token/rotate

Issue a new endpoint token for this connection's inbound webhook URLs and refuse the previous one immediately. The new token is returned once and is not readable back.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200application/json WebhookEndpointTokenRotationDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409The connection has no webhook secret provisioned; PUT :id/webhook-secret first.application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

PUT /api/connector-gateway-api/org-connections/{id}/webhook-secret

Seal this connection's inbound webhook signing secret into the credential broker and return the URL path to register at the provider. The secret is never stored by this service and is not readable back.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes

Request body: application/json SetWebhookSecretDto

StatusDescriptionBody
200application/json WebhookEndpointDtoDataEnvelope
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto

DELETE /api/connector-gateway-api/org-connections/{id}/webhook-secret

Revoke this connection's inbound webhook signing secret and stop routing deliveries to it.

Authentication: bearer token (Authorization: Bearer <token>)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
400application/problem+json ProblemDetailsDto
401application/problem+json ProblemDetailsDto
403application/problem+json ProblemDetailsDto
404application/problem+json ProblemDetailsDto
409INBOUND_ENDPOINT_SECRET_IN_USE: inbound endpoint instances still verify with this secret; unbind them first.application/problem+json ProblemDetailsDto
422application/problem+json ProblemDetailsDto
500application/problem+json ProblemDetailsDto