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>)
| Status | Description | Body |
|---|---|---|
| 200 | application/json OrgConnectionResponseDtoDataArrayEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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
| Status | Description | Body |
|---|---|---|
| 201 | application/json CreatedOrgConnectionResponseDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto |
GET /api/connector-gateway-api/org-connections/{id}
Get org connection by ID
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json OrgConnectionResponseDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto |
DELETE /api/connector-gateway-api/org-connections/{id}
Disconnect org from provider
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
Request body: application/json AddCredentialsDto
| Status | Description | Body |
|---|---|---|
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | |
override | query | RemoveConnectionCredentialOverride | no | Proceed 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. |
userId | query | string | yes | The 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. |
| Status | Description | Body |
|---|---|---|
| 200 | application/json RemoveCredentialsResultDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json CreatedOrgConnectionResponseDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | The 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 |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | The registry refused the pointer (reason: refused, not_first_connection or provider_unrepresentable). | application/problem+json ConnectionDefaultProblemDto |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto | |
| 503 | The 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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json OrgConnectionResponseDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto |
PATCH /api/connector-gateway-api/org-connections/{id}/enable
Enable a configured, disabled connection
Authentication: bearer token (Authorization: Bearer <token>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json OrgConnectionResponseDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
Request body: application/json ChangeConnectionEndpointDto
| Status | Description | Body |
|---|---|---|
| 200 | application/json ChangeConnectionEndpointResultDtoDataEnvelope | |
| 400 | The 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 |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | The connection is revoked or the expected revision is stale; re-read and retry. | application/problem+json ConnectionEndpointConflictProblemDto |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | |
slug | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json InboundEndpointReadinessDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | |
slug | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json InboundEndpointInstanceDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | The 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 |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | |
slug | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json TestConnectionResponseDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | application/json WebhookEndpointTokenRotationDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | The connection has no webhook secret provisioned; PUT :id/webhook-secret first. | application/problem+json ProblemDetailsDto |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
Request body: application/json SetWebhookSecretDto
| Status | Description | Body |
|---|---|---|
| 200 | application/json WebhookEndpointDtoDataEnvelope | |
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | application/problem+json ProblemDetailsDto | |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/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>)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 400 | application/problem+json ProblemDetailsDto | |
| 401 | application/problem+json ProblemDetailsDto | |
| 403 | application/problem+json ProblemDetailsDto | |
| 404 | application/problem+json ProblemDetailsDto | |
| 409 | INBOUND_ENDPOINT_SECRET_IN_USE: inbound endpoint instances still verify with this secret; unbind them first. | application/problem+json ProblemDetailsDto |
| 422 | application/problem+json ProblemDetailsDto | |
| 500 | application/problem+json ProblemDetailsDto |