Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Connections API

Download OpenAPI (YAML)Version 1.0

Base URL: https://localhost:8090

Configure the external services ThunderID connects to. This is a thin layer over the identity-provider and notification-sender services: each connection type has a strict, vendor-specific schema and is delegated to the underlying provider, so a configured connection is a real identity provider or message sender. Multiple instances per type are supported.

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

authorizationCode flow, token URL https://localhost:8090/oauth2/token, authorization URL https://localhost:8090/oauth2/authorize

1 scopes
ScopeDescription
systemAccess to system management APIs

clientCredentials flow, token URL https://localhost:8090/oauth2/token

1 scopes
ScopeDescription
systemAccess to system management APIs

Connections​

Discover available connection types and configure their instances.

List configured connection instances​

GET /connections

Returns a paginated list of the configured connection instances across the identity-provider, notification-sender, authorization PDP and HTTP endpoint connection types, optionally filtered by functional category. Omit the category parameter to return all instances. An ouId filter lists the connections the organization unit owns, then those shared into it, with isOwnedByOU telling them apart. A shared connection carries the ouId of the organization unit in the filter, not its owner's.

Scopes: system

Parameters

NameInTypeRequiredDescription
categoryquerystring

Filter instances by functional category. Omit to return all instances.

Allowed values: identity-provider, sms-provider, authorization-pdp, email-provider, http

filterquerystring

Filter connections by organization unit with ouId eq "<id>", the only supported expression. It lists the connections the unit owns, then those shared into it.

limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

A page of the configured connection instances

ConnectionListResponse
400

The category is not recognized (CON-1001), the filter is not a single ouId eq "<id>" expression (CON-1039), or the limit or offset is invalid.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

List configured AuthZEN PDP connections​

GET /connections/authzen-pdp

Scopes: system

Responses

CodeDescriptionSchema
200

Configured AuthZEN PDP connections

array of ConnectionInstanceSummary
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create an AuthZEN PDP connection​

POST /connections/authzen-pdp

Scopes: system

Request body (required): application/json

Schema: AuthZENPDPConnectionCreateRequest

9 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

endpointstring (uri)Yes

HTTP endpoint for a single AuthZEN access evaluation.

batchEndpointstring (uri)

Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint.

timeoutMsinteger

Timeout for each PDP request in milliseconds.

Default: 1000

retryCountinteger

Number of retries for transient PDP or network failures.

Default: 1

subjectAttributeMappingsarray of AuthZENPDPSubjectAttributeMapping
authenticationOutboundAuthentication

How ThunderID authenticates itself on an outbound call. The type selects the method and properties carries that method's fields, so a new method needs no change to this schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor supports and the fields each one takes.

Credential values are stored encrypted and returned as "******". On update, a masked value retains the matching stored credential while the connection target is unchanged. For api_key, properties contains HTTP header names and values; a header name cannot contain a dot. Omitting a header from a supplied api_key block deletes it. Omitting the whole authentication block keeps the existing configuration. Setting type to none removes authentication.

Responses

CodeDescriptionSchema
201

Connection created

AuthZENPDPConnectionResponse
400

Invalid AuthZEN PDP connection request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

An AuthZEN PDP connection with the same name already exists

Error
500

Internal server error

Error

Get an AuthZEN PDP connection​

GET /connections/authzen-pdp/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details

AuthZENPDPConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Update an AuthZEN PDP connection​

PUT /connections/authzen-pdp/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: AuthZENPDPConnectionUpdateRequest

9 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

endpointstring (uri)Yes

HTTP endpoint for a single AuthZEN access evaluation.

batchEndpointstring (uri)

Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint.

timeoutMsinteger

Timeout for each PDP request in milliseconds.

Default: 1000

retryCountinteger

Number of retries for transient PDP or network failures.

Default: 1

subjectAttributeMappingsarray of AuthZENPDPSubjectAttributeMapping
authenticationOutboundAuthentication

How ThunderID authenticates itself on an outbound call. The type selects the method and properties carries that method's fields, so a new method needs no change to this schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor supports and the fields each one takes.

Credential values are stored encrypted and returned as "******". On update, a masked value retains the matching stored credential while the connection target is unchanged. For api_key, properties contains HTTP header names and values; a header name cannot contain a dot. Omitting a header from a supplied api_key block deletes it. Omitting the whole authentication block keeps the existing configuration. Setting type to none removes authentication.

Responses

CodeDescriptionSchema
200

Connection updated

AuthZENPDPConnectionResponse
400

Invalid AuthZEN PDP connection request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

An AuthZEN PDP connection with the same name already exists

Error
500

Internal server error

Error

Delete an AuthZEN PDP connection​

DEL /connections/authzen-pdp/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The connection cannot be deleted because it is still in use

Error
500

Internal server error

Error

Get AuthZEN PDP connection usages​

GET /connections/authzen-pdp/{id}/usages

Returns the resource servers that reference this AuthZEN PDP connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

List configured HTTP endpoint connections​

GET /connections/http

Scopes: system

Responses

CodeDescriptionSchema
200

Configured HTTP endpoint connections

array of ConnectionInstanceSummary
400

The HTTP endpoint connections exceed the composite-mode record limit

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create an HTTP endpoint connection​

POST /connections/http

Scopes: system

Request body (required): application/json

Schema: HTTPConnectionCreateRequest

9 properties
NameTypeRequiredDescription
namestringYes

Unique per deployment.

descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

urlstring (uri)Yes

Absolute http or https URL of the endpoint, with a DNS name or IP literal host, a port from 1 to 65535 and no user name or password; credentials go in authentication. Must be https when authentication.type is not none, so a stored credential never crosses the network in clear. Stored with a lower-case scheme and host and without a default port.

timeoutMsinteger

Timeout of each call in milliseconds. 0 or omitted means 10000.

Default: 10000

headersarray of HTTPConnectionHeader

Plain headers sent on every call. Names are unique, case-insensitively, and values have no line breaks. A PUT replaces the whole list, so omitted means none. Names are compared case-insensitively. Headers that commonly carry credentials (Authorization, Proxy-Authorization, Cookie, X-Api-Key, Api-Key, X-Auth-Token, X-Access-Token), headers the HTTP client manages (Host, Content-Length, Content-Type, Transfer-Encoding, Connection, TE, Trailer, Upgrade, Keep-Alive, Expect) and any header the api_key authentication sets are refused with CON-1020.

authenticationOutboundAuthentication

How ThunderID authenticates to the endpoint: none, basic (username, password), bearer (token) or api_key (one property per header, the header name as the key). Omit it to send no credentials, on update as much as on create. Call GET /connections/meta?vendor=http for the methods this deployment supports and the fields each one takes.

Secrets (the password, the token and every api_key header value) are stored encrypted and returned as "******"; api_key header names are returned in clear. On update, an omitted password or token keeps the stored one only while the authentication type, the username and the URL origin (scheme, host and port) are unchanged; otherwise the update fails with CON-1021. Unlike the shared rule, a password or token sent as "******" is refused with CON-1021, on create and on update, and the stored secret is unchanged. An api_key header sent as "******" keeps that header's stored value under the same rule; on create it is refused.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

Responses

CodeDescriptionSchema
201

Connection created

HTTPConnectionResponse
400

Invalid HTTP endpoint connection request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

An HTTP endpoint connection with the same name already exists

Error
500

Internal server error

Error

Get an HTTP endpoint connection​

GET /connections/http/{id}

Returns the connection with every secret masked as ******.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details

HTTPConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

HTTP endpoint connection not found

Error
500

Internal server error

Error

Update an HTTP endpoint connection​

PUT /connections/http/{id}

Replaces the connection. An omitted basic password or bearer token keeps its stored value only while the authentication type, its non-secret properties (such as the username) and the URL origin (scheme, host and port, with default ports normalized) are unchanged. Otherwise the credential is discarded and must be supplied again, so a connection cannot be pointed at another server with its stored password. Each api_key header is sent on its own: a header sent as "******" keeps its stored value under the same rule, and a header left out is removed.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: HTTPConnectionUpdateRequest

9 properties
NameTypeRequiredDescription
namestringYes

Unique per deployment.

descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

urlstring (uri)Yes

Absolute http or https URL of the endpoint, with a DNS name or IP literal host, a port from 1 to 65535 and no user name or password; credentials go in authentication. Must be https when authentication.type is not none, so a stored credential never crosses the network in clear. Stored with a lower-case scheme and host and without a default port.

timeoutMsinteger

Timeout of each call in milliseconds. 0 or omitted means 10000.

Default: 10000

headersarray of HTTPConnectionHeader

Plain headers sent on every call. Names are unique, case-insensitively, and values have no line breaks. A PUT replaces the whole list, so omitted means none. Names are compared case-insensitively. Headers that commonly carry credentials (Authorization, Proxy-Authorization, Cookie, X-Api-Key, Api-Key, X-Auth-Token, X-Access-Token), headers the HTTP client manages (Host, Content-Length, Content-Type, Transfer-Encoding, Connection, TE, Trailer, Upgrade, Keep-Alive, Expect) and any header the api_key authentication sets are refused with CON-1020.

authenticationOutboundAuthentication

How ThunderID authenticates to the endpoint: none, basic (username, password), bearer (token) or api_key (one property per header, the header name as the key). Omit it to send no credentials, on update as much as on create. Call GET /connections/meta?vendor=http for the methods this deployment supports and the fields each one takes.

Secrets (the password, the token and every api_key header value) are stored encrypted and returned as "******"; api_key header names are returned in clear. On update, an omitted password or token keeps the stored one only while the authentication type, the username and the URL origin (scheme, host and port) are unchanged; otherwise the update fails with CON-1021. Unlike the shared rule, a password or token sent as "******" is refused with CON-1021, on create and on update, and the stored secret is unchanged. An api_key header sent as "******" keeps that header's stored value under the same rule; on create it is refused.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

Responses

CodeDescriptionSchema
200

Connection updated

HTTPConnectionResponse
400

Invalid HTTP endpoint connection request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

HTTP endpoint connection not found

Error
409

An HTTP endpoint connection with the same name already exists

Error
500

Internal server error

Error

Delete an HTTP endpoint connection​

DEL /connections/http/{id}

Refused while other resources use the connection, and while its usages cannot be determined. Deleting a connection that does not exist succeeds.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

400

The HTTP endpoint connection is declarative and cannot be deleted

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

The HTTP endpoint connection cannot be deleted because other resources use it

Error
500

Internal server error

Error

Get HTTP endpoint connection usages​

GET /connections/http/{id}/usages

Returns the resources that use this HTTP endpoint connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

HTTP endpoint connection not found

Error
500

Internal server error

Error

List configured Google connections​

GET /connections/google

Scopes: system

Responses

CodeDescriptionSchema
200

Configured connection instances

array of ConnectionInstanceSummary
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create a Google connection​

POST /connections/google

Scopes: system

Request body (required): application/json

Schema: GoogleConnectionCreateRequest

12 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstringYes

Write-only. Omit to keep the stored value on update.

redirectUristringYes
scopesarray of string
promptstring
jwksEndpointstring
issuerstring
tokenExchangeEnabledboolean
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

Responses

CodeDescriptionSchema
201

Connection created

GoogleConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get a Google connection​

GET /connections/google/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details (secrets masked)

GoogleConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Update a Google connection​

PUT /connections/google/{id}

Omit clientSecret to keep the stored value.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: GoogleConnectionUpdateRequest

12 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstring

Write-only. Omit to keep the stored value on update.

redirectUristringYes
scopesarray of string
promptstring
jwksEndpointstring
issuerstring
tokenExchangeEnabledboolean
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

Responses

CodeDescriptionSchema
200

Connection updated

GoogleConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Delete a Google connection​

DEL /connections/google/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get Google connection usages​

GET /connections/google/{id}/usages

Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.

Each usage entry includes a behaviorOnDelete field describing what happens to the referencing resource if the connection is deleted:

  • fallback: the reference is kept as-is.
  • cascade: the resource is permanently deleted along with the connection.
  • restrict: the resource blocks deletion of the connection.

When usage data is unavailable (e.g. the server has not fully initialised), totalResults and summary are null rather than 0/empty. Consumers must treat null as "unknown" and 0 as "confirmed empty".

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

List configured GitHub connections​

GET /connections/github

Scopes: system

Responses

CodeDescriptionSchema
200

Configured connection instances

array of ConnectionInstanceSummary
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create a GitHub connection​

POST /connections/github

Scopes: system

Request body (required): application/json

Schema: GitHubConnectionCreateRequest

9 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstringYes

Write-only. Omit to keep the stored value on update.

redirectUristringYes
scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

Responses

CodeDescriptionSchema
201

Connection created

GitHubConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get a GitHub connection​

GET /connections/github/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details (secrets masked)

GitHubConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Update a GitHub connection​

PUT /connections/github/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: GitHubConnectionUpdateRequest

9 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstring

Write-only. Omit to keep the stored value on update.

redirectUristringYes
scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

Responses

CodeDescriptionSchema
200

Connection updated

GitHubConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Delete a GitHub connection​

DEL /connections/github/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get GitHub connection usages​

GET /connections/github/{id}/usages

Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.

Each usage entry includes a behaviorOnDelete field describing what happens to the referencing resource if the connection is deleted:

  • fallback: the reference is kept as-is.
  • cascade: the resource is permanently deleted along with the connection.
  • restrict: the resource blocks deletion of the connection.

When usage data is unavailable (e.g. the server has not fully initialised), totalResults and summary are null rather than 0/empty. Consumers must treat null as "unknown" and 0 as "confirmed empty".

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

List configured OIDC connections​

GET /connections/oidc

Scopes: system

Responses

CodeDescriptionSchema
200

Configured connection instances

array of ConnectionInstanceSummary
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create an OIDC connection​

POST /connections/oidc

Scopes: system

Request body (required): application/json

Schema: OIDCConnectionCreateRequest

17 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstringYes

Write-only. Omit to keep the stored value on update.

redirectUristringYes
authorizationEndpointstringYes
tokenEndpointstringYes
userInfoEndpointstring
jwksEndpointstring
issuerstring
scopesarray of string
promptstring
tokenExchangeEnabledboolean
idJagEnabledboolean

Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set.

trustedTokenAudiencestring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

Responses

CodeDescriptionSchema
201

Connection created

OIDCConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get an OIDC connection​

GET /connections/oidc/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details (secrets masked)

OIDCConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Update an OIDC connection​

PUT /connections/oidc/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: OIDCConnectionUpdateRequest

17 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstring

Write-only. Omit to keep the stored value on update.

redirectUristringYes
authorizationEndpointstringYes
tokenEndpointstringYes
userInfoEndpointstring
jwksEndpointstring
issuerstring
scopesarray of string
promptstring
tokenExchangeEnabledboolean
idJagEnabledboolean

Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set.

trustedTokenAudiencestring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

Responses

CodeDescriptionSchema
200

Connection updated

OIDCConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Delete an OIDC connection​

DEL /connections/oidc/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get OIDC connection usages​

GET /connections/oidc/{id}/usages

Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.

Each usage entry includes a behaviorOnDelete field describing what happens to the referencing resource if the connection is deleted:

  • fallback: the reference is kept as-is.
  • cascade: the resource is permanently deleted along with the connection.
  • restrict: the resource blocks deletion of the connection.

When usage data is unavailable (e.g. the server has not fully initialised), totalResults and summary are null rather than 0/empty. Consumers must treat null as "unknown" and 0 as "confirmed empty".

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

List configured Twilio connections​

GET /connections/twilio

Scopes: system

Responses

CodeDescriptionSchema
200

Configured connection instances

array of ConnectionInstanceSummary
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create a Twilio connection​

POST /connections/twilio

Scopes: system

Request body (required): application/json

Schema: TwilioConnectionCreateRequest

6 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

accountSidstringYes

Twilio Account SID (AC followed by 32 hex characters).

authTokenstringYes

Write-only. Omit to keep the stored value on update.

senderIdstringYes

Sender phone number or alphanumeric sender ID.

Responses

CodeDescriptionSchema
201

Connection created

TwilioConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get a Twilio connection​

GET /connections/twilio/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details (secrets masked)

TwilioConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Update a Twilio connection​

PUT /connections/twilio/{id}

Omit authToken to keep the stored value.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: TwilioConnectionUpdateRequest

6 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

accountSidstringYes

Twilio Account SID (AC followed by 32 hex characters).

authTokenstring

Write-only. Omit to keep the stored value on update.

senderIdstringYes

Sender phone number or alphanumeric sender ID.

Responses

CodeDescriptionSchema
200

Connection updated

TwilioConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Delete a Twilio connection​

DEL /connections/twilio/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get Twilio connection usages​

GET /connections/twilio/{id}/usages

Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only: it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.

Each usage entry includes a behaviorOnDelete field describing what happens to the referencing resource if the connection is deleted:

  • fallback: the reference is kept as-is.
  • cascade: the resource is permanently deleted along with the connection.
  • restrict: the resource blocks deletion of the connection.

When usage data is unavailable (e.g. the server has not fully initialised), totalResults and summary are null rather than 0/empty. Consumers must treat null as "unknown" and 0 as "confirmed empty".

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

List configured Vonage connections​

GET /connections/vonage

Scopes: system

Responses

CodeDescriptionSchema
200

Configured connection instances

array of ConnectionInstanceSummary
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create a Vonage connection​

POST /connections/vonage

Scopes: system

Request body (required): application/json

Schema: VonageConnectionCreateRequest

6 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

apiKeystringYes

Vonage API key.

apiSecretstringYes

Write-only. Omit to keep the stored value on update.

senderIdstringYes

Sender phone number or alphanumeric sender ID.

Responses

CodeDescriptionSchema
201

Connection created

VonageConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get a Vonage connection​

GET /connections/vonage/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details (secrets masked)

VonageConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Update a Vonage connection​

PUT /connections/vonage/{id}

Omit apiSecret to keep the stored value.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: VonageConnectionUpdateRequest

6 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

apiKeystringYes

Vonage API key.

apiSecretstring

Write-only. Omit to keep the stored value on update.

senderIdstringYes

Sender phone number or alphanumeric sender ID.

Responses

CodeDescriptionSchema
200

Connection updated

VonageConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Delete a Vonage connection​

DEL /connections/vonage/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get Vonage connection usages​

GET /connections/vonage/{id}/usages

Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only: it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.

Each usage entry includes a behaviorOnDelete field describing what happens to the referencing resource if the connection is deleted:

  • fallback: the reference is kept as-is.
  • cascade: the resource is permanently deleted along with the connection.
  • restrict: the resource blocks deletion of the connection.

When usage data is unavailable (e.g. the server has not fully initialised), totalResults and summary are null rather than 0/empty. Consumers must treat null as "unknown" and 0 as "confirmed empty".

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

List configured SMS gateway connections​

GET /connections/sms-gateway

The SMS gateway connection is a generic HTTP webhook sender, for SMS providers without a dedicated vendor integration.

Scopes: system

Responses

CodeDescriptionSchema
200

Configured connection instances

array of ConnectionInstanceSummary
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create an SMS gateway connection​

POST /connections/sms-gateway

Scopes: system

Request body (required): application/json

Schema: SMSGatewayConnectionCreateRequest

10 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

urlstringYes

The HTTP endpoint to call to send an SMS.

httpMethodstring

Allowed values: GET, POST

httpHeadersstring

Comma-separated general HTTP headers, for example X-Campaign-ID: campaign-1. Values are returned unchanged. Commas are not supported within header values. Omit on update to retain them, or send an empty string to remove them.

authenticationOutboundAuthentication

Optional HTTP authentication using none, bearer, basic, or api_key. Authenticated remote URLs must use HTTPS; loopback HTTP is allowed. General httpHeaders retain their existing behavior and cannot use a header name also set by authentication.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

contentTypestring

Allowed values: JSON, FORM

Responses

CodeDescriptionSchema
201

Connection created

SMSGatewayConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get an SMS gateway connection​

GET /connections/sms-gateway/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details

SMSGatewayConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Update an SMS gateway connection​

PUT /connections/sms-gateway/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: SMSGatewayConnectionUpdateRequest

10 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

urlstringYes

The HTTP endpoint to call to send an SMS.

httpMethodstring

Allowed values: GET, POST

httpHeadersstring

Comma-separated general HTTP headers, for example X-Campaign-ID: campaign-1. Values are returned unchanged. Commas are not supported within header values. Omit on update to retain them, or send an empty string to remove them.

authenticationOutboundAuthentication

Optional HTTP authentication using none, bearer, basic, or api_key. Authenticated remote URLs must use HTTPS; loopback HTTP is allowed. General httpHeaders retain their existing behavior and cannot use a header name also set by authentication.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

contentTypestring

Allowed values: JSON, FORM

Responses

CodeDescriptionSchema
200

Connection updated

SMSGatewayConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Delete an SMS gateway connection​

DEL /connections/sms-gateway/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get SMS gateway connection usages​

GET /connections/sms-gateway/{id}/usages

Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only: it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.

Each usage entry includes a behaviorOnDelete field describing what happens to the referencing resource if the connection is deleted:

  • fallback: the reference is kept as-is.
  • cascade: the resource is permanently deleted along with the connection.
  • restrict: the resource blocks deletion of the connection.

When usage data is unavailable (e.g. the server has not fully initialised), totalResults and summary are null rather than 0/empty. Consumers must treat null as "unknown" and 0 as "confirmed empty".

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

List configured SMTP connections​

GET /connections/email-smtp

Scopes: system

Responses

CodeDescriptionSchema
200

Configured connection instances

array of ConnectionInstanceSummary
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create an SMTP connection​

POST /connections/email-smtp

Creates an email provider backed by an SMTP server.

Scopes: system

Request body (required): application/json

Schema: SMTPConnectionCreateRequest

11 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

hoststringYes

Hostname of the SMTP server.

portintegerYes
fromAddressstring (email)Yes

Address used in the From header and the SMTP envelope.

fromNamestring

Display name shown beside fromAddress in the From header, so a recipient sees Acme Support <[email protected]>. Optional: without it the From header carries the bare address. It must not contain a line break. The SMTP envelope sender is always the bare fromAddress, whether or not a name is set.

tlsstring

How the connection to the SMTP server is secured. Defaults to starttls when omitted. implicit dials TLS directly (SMTPS, usually port 465). none sends in the clear and cannot carry credentials, so it cannot be combined with an authentication method other than none.

Allowed values: none, starttls, implicit. Default: starttls

authenticationOutboundAuthentication

How ThunderID authenticates to the SMTP server. Omit it to send no credentials. Call GET /connections/meta?vendor=email-smtp for the methods this deployment supports and the fields each one takes.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

Responses

CodeDescriptionSchema
201

Connection created

SMTPConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get an SMTP connection​

GET /connections/email-smtp/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details (secrets masked)

SMTPConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Update an SMTP connection​

PUT /connections/email-smtp/{id}

Omit password to keep the stored value. The stored password is kept only while host, port, authentication type and username are unchanged; changing any of them requires the password to be supplied again.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: SMTPConnectionUpdateRequest

11 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

hoststringYes

Hostname of the SMTP server.

portintegerYes
fromAddressstring (email)Yes

Address used in the From header and the SMTP envelope.

fromNamestring

Display name shown beside fromAddress in the From header, so a recipient sees Acme Support <[email protected]>. Optional: without it the From header carries the bare address. It must not contain a line break. The SMTP envelope sender is always the bare fromAddress, whether or not a name is set.

tlsstring

How the connection to the SMTP server is secured. Defaults to starttls when omitted. implicit dials TLS directly (SMTPS, usually port 465). none sends in the clear and cannot carry credentials, so it cannot be combined with an authentication method other than none.

Allowed values: none, starttls, implicit. Default: starttls

authenticationOutboundAuthentication

How ThunderID authenticates to the SMTP server. Omit it to send no credentials. Call GET /connections/meta?vendor=email-smtp for the methods this deployment supports and the fields each one takes.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

Responses

CodeDescriptionSchema
200

Connection updated

SMTPConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Delete an SMTP connection​

DEL /connections/email-smtp/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get SMTP connection usages​

GET /connections/email-smtp/{id}/usages

Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only: it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.

Each usage entry includes a behaviorOnDelete field describing what happens to the referencing resource if the connection is deleted:

  • fallback: the reference is kept as-is.
  • cascade: the resource is permanently deleted along with the connection.
  • restrict: the resource blocks deletion of the connection.

When usage data is unavailable (e.g. the server has not fully initialised), totalResults and summary are null rather than 0/empty. Consumers must treat null as "unknown" and 0 as "confirmed empty".

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

List configured OAuth 2.0 connections​

GET /connections/oauth

Scopes: system

Responses

CodeDescriptionSchema
200

Configured connection instances

array of ConnectionInstanceSummary
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Create an OAuth 2.0 connection​

POST /connections/oauth

Scopes: system

Request body (required): application/json

Schema: OAuthConnectionCreateRequest

12 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstringYes

Write-only. Omit to keep the stored value on update.

redirectUristringYes
authorizationEndpointstringYes
tokenEndpointstringYes
userInfoEndpointstring

The provider's user profile API, called with the access token. Provider-specific, for example https://api.github.com/user. Omit it when the provider exposes no profile API and issues a JWT access token.

scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

Responses

CodeDescriptionSchema
201

Connection created

OAuthConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get an OAuth 2.0 connection​

GET /connections/oauth/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Connection details (secrets masked)

OAuthConnectionResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Update an OAuth 2.0 connection​

PUT /connections/oauth/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: OAuthConnectionUpdateRequest

12 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstring

Write-only. Omit to keep the stored value on update.

redirectUristringYes
authorizationEndpointstringYes
tokenEndpointstringYes
userInfoEndpointstring

The provider's user profile API, called with the access token. Provider-specific, for example https://api.github.com/user. Omit it when the provider exposes no profile API and issues a JWT access token.

scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

Responses

CodeDescriptionSchema
200

Connection updated

OAuthConnectionResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Delete an OAuth 2.0 connection​

DEL /connections/oauth/{id}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
204

Connection deleted

401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

A connection with the same name already exists

Error
500

Internal server error

Error

Get OAuth 2.0 connection usages​

GET /connections/oauth/{id}/usages

Returns the resources that reference this connection, aggregated across all resource types (for example, flows that use it). Informational only — it drives the pre-delete confirmation dialog in the UI and does not gate deletion on the server.

Each usage entry includes a behaviorOnDelete field describing what happens to the referencing resource if the connection is deleted:

  • fallback: the reference is kept as-is.
  • cascade: the resource is permanently deleted along with the connection.
  • restrict: the resource blocks deletion of the connection.

When usage data is unavailable (e.g. the server has not fully initialised), totalResults and summary are null rather than 0/empty. Consumers must treat null as "unknown" and 0 as "confirmed empty".

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Responses

CodeDescriptionSchema
200

Resources that reference this connection

ConnectionUsagesResponse
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Connection Metadata​

Describe the configurable options of each connection vendor.

Describe the configurable options of connection vendors​

GET /connections/meta

Returns the server-driven description of what each connection vendor can be configured with, so a console can render options it was not built against. Without a vendor filter every registered vendor is described; with one, the list holds that vendor alone. Only authentication is described today: which methods a vendor supports and which fields each one takes. A vendor whose credentials are a fixed contract, such as Twilio, reports no methods.

Scopes: system

Parameters

NameInTypeRequiredDescription
vendorquerystring

Limits the result to one connection vendor, as it appears in the /connections/{vendor} path. An unregistered vendor is rejected.

Allowed values: google, github, oidc, oauth, twilio, vonage, sms-gateway, email-smtp, authzen-pdp, http

Responses

CodeDescriptionSchema
200

The configurable options of the described vendors

ConnectionMetaResponse
400

Bad request

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
500

Internal server error

Error

Connection Sharing​

Record which organization units may use a connection, and resolve what one organization unit may do with it.

List sharing policies of a Google connection​

GET /connections/google/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for a Google connection​

POST /connections/google/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of a Google connection​

GET /connections/google/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of a Google connection​

PUT /connections/google/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of a Google connection​

DEL /connections/google/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of a Google connection for an organization unit​

GET /connections/google/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

List sharing policies of a GitHub connection​

GET /connections/github/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for a GitHub connection​

POST /connections/github/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of a GitHub connection​

GET /connections/github/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of a GitHub connection​

PUT /connections/github/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of a GitHub connection​

DEL /connections/github/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of a GitHub connection for an organization unit​

GET /connections/github/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

List sharing policies of an OIDC connection​

GET /connections/oidc/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for an OIDC connection​

POST /connections/oidc/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of an OIDC connection​

GET /connections/oidc/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of an OIDC connection​

PUT /connections/oidc/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of an OIDC connection​

DEL /connections/oidc/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of an OIDC connection for an organization unit​

GET /connections/oidc/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

List sharing policies of an OAuth connection​

GET /connections/oauth/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for an OAuth connection​

POST /connections/oauth/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of an OAuth connection​

GET /connections/oauth/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of an OAuth connection​

PUT /connections/oauth/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of an OAuth connection​

DEL /connections/oauth/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of an OAuth connection for an organization unit​

GET /connections/oauth/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

List sharing policies of a Twilio connection​

GET /connections/twilio/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for a Twilio connection​

POST /connections/twilio/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of a Twilio connection​

GET /connections/twilio/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of a Twilio connection​

PUT /connections/twilio/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of a Twilio connection​

DEL /connections/twilio/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of a Twilio connection for an organization unit​

GET /connections/twilio/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

List sharing policies of a Vonage connection​

GET /connections/vonage/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for a Vonage connection​

POST /connections/vonage/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of a Vonage connection​

GET /connections/vonage/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of a Vonage connection​

PUT /connections/vonage/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of a Vonage connection​

DEL /connections/vonage/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of a Vonage connection for an organization unit​

GET /connections/vonage/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

List sharing policies of an SMS gateway connection​

GET /connections/sms-gateway/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for an SMS gateway connection​

POST /connections/sms-gateway/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of an SMS gateway connection​

GET /connections/sms-gateway/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of an SMS gateway connection​

PUT /connections/sms-gateway/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of an SMS gateway connection​

DEL /connections/sms-gateway/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of an SMS gateway connection for an organization unit​

GET /connections/sms-gateway/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

List sharing policies of an SMTP connection​

GET /connections/email-smtp/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for an SMTP connection​

POST /connections/email-smtp/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of an SMTP connection​

GET /connections/email-smtp/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of an SMTP connection​

PUT /connections/email-smtp/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of an SMTP connection​

DEL /connections/email-smtp/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of an SMTP connection for an organization unit​

GET /connections/email-smtp/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

List sharing policies of an AuthZEN PDP connection​

GET /connections/authzen-pdp/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for an AuthZEN PDP connection​

POST /connections/authzen-pdp/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of an AuthZEN PDP connection​

GET /connections/authzen-pdp/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of an AuthZEN PDP connection​

PUT /connections/authzen-pdp/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of an AuthZEN PDP connection​

DEL /connections/authzen-pdp/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of an AuthZEN PDP connection for an organization unit​

GET /connections/authzen-pdp/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

List sharing policies of an HTTP connection​

GET /connections/http/{id}/sharing-policies

Returns the connection's sharing policies, declared ones included.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
limitqueryinteger

Maximum number of records to return.

Default: 30

offsetqueryinteger

Number of records to skip for pagination.

Default: 0

Responses

CodeDescriptionSchema
200

Sharing policies

ConnectionSharingPolicyListResponse
400

The page the listing asked for is not one it can return.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Create a sharing policy for an HTTP connection​

POST /connections/http/{id}/sharing-policies

Records one organization unit's decision about which other organization units may use this connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes

Request body (required): application/json

Schema: ConnectionSharingPolicyRequest

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
201

Sharing policy created

ConnectionSharingPolicy
400

The policy is not one the issuing organization unit may write.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Get a sharing policy of an HTTP connection​

GET /connections/http/{id}/sharing-policies/{policyId}

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
500

Internal server error

Error

Replace a sharing policy of an HTTP connection​

PUT /connections/http/{id}/sharing-policies/{policyId}

Replaces the policy's sections.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Request body (required): application/json

Schema: ConnectionSharingPolicyUpdateRequest

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

Responses

CodeDescriptionSchema
200

Sharing policy

ConnectionSharingPolicy
400

The replacement is not one this policy may become.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no such sharing policy on this connection

Error
409

The organization unit already holds a policy for this connection, or the policy is stale.

Error
500

Internal server error

Error

Delete a sharing policy of an HTTP connection​

DEL /connections/http/{id}/sharing-policies/{policyId}

Removes the policy and the policies its sharees issued.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
policyIdpathstringYes

Sharing policy ID

Responses

CodeDescriptionSchema
204

Sharing policy deleted

400

The policy exists but is not this endpoint's to remove.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

Connection not found

Error
500

Internal server error

Error

Overlay rules of an HTTP connection for an organization unit​

GET /connections/http/{id}/overlay-rules

Resolves what one organization unit may do with the connection.

Scopes: system

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)Yes
ouIdquerystringYes

The organization unit to resolve for.

Responses

CodeDescriptionSchema
200

Resolved overlay

ConnectionResolvedOverlay
400

The request does not say which organization unit to resolve for.

Error
401

Missing or invalid authentication token

Error
403

Insufficient permissions to perform this operation

Error
404

No such connection, or no policy reaches the organization unit.

Error
500

Internal server error

Error

Schemas​

ConnectionListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsintegerYes

Number of instances that match the listing operation.

startIndexintegerYes

Index of the first element of the page, which is equal to offset + 1.

countintegerYes

Number of elements in the returned page.

connectionsarray of ConnectionInstanceYes
linksarray of LinkYes

Type: object

2 properties
NameTypeRequiredDescription
hrefstring
relstring

ConnectionInstance​

Type: object

7 properties
NameTypeRequiredDescription
idstring (uuid)Yes
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Every kind of connection has one. In a list filtered by an organization unit, a connection shared into that unit carries the ID of that unit instead.

typestringYes

Lowercase vendor identifier. sms-gateway denotes a generic HTTP webhook SMS sender.

Allowed values: google, github, oidc, oauth, twilio, vonage, sms-gateway, authzen-pdp, email-smtp, http

categoriesarray of stringYes

Allowed values: identity-provider, sms-provider, authorization-pdp, email-provider, http

isOwnedByOUboolean

Whether the listed organization unit owns the connection rather than being shared it. Without an ouId filter, every listed connection is owned.

ConnectionInstanceSummary​

Type: object

3 properties
NameTypeRequiredDescription
idstring (uuid)Yes
namestringYes
descriptionstring

ConnectionUsage​

Type: object

A single resource that references the connection.

4 properties
NameTypeRequiredDescription
resourceTypestringYes

Type of the referencing resource.

Allowed values: flow

idstring (uuid)Yes

Identifier of the referencing resource.

displayNamestringYes

Human-readable name of the referencing resource.

behaviorOnDeletestringYes

What happens to this resource when the connection is deleted.

  • fallback: the reference is kept as-is.
  • cascade: the resource is permanently deleted.
  • restrict: the resource blocks deletion of the connection.

Allowed values: fallback, cascade, restrict

ConnectionUsagesSummary​

Type: object

Per-resource-type count of usages, keyed by resource type (e.g. flow). Null when the counts could not be determined.

ConnectionUsagesResponse​

Type: object

Resources that reference a connection, aggregated across all resource types. Drives pre-delete confirmation dialogs; informational only.

4 properties
NameTypeRequiredDescription
totalResultsinteger

Total number of resources that reference the connection. Null when usage data is unavailable; 0 means confirmed empty.

countinteger

Number of results returned.

summaryConnectionUsagesSummary

Per-resource-type count of usages, keyed by resource type (e.g. flow). Null when the counts could not be determined.

usagesarray of ConnectionUsage

GoogleConnectionUpdateRequest​

Type: object

12 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstring

Write-only. Omit to keep the stored value on update.

redirectUristringYes
scopesarray of string
promptstring
jwksEndpointstring
issuerstring
tokenExchangeEnabledboolean
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

GoogleConnectionCreateRequest​

Type: GoogleConnectionUpdateRequest

12 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstringYes

Write-only. Omit to keep the stored value on update.

redirectUristringYes
scopesarray of string
promptstring
jwksEndpointstring
issuerstring
tokenExchangeEnabledboolean
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

GoogleConnectionResponse​

Type: object

14 properties
NameTypeRequiredDescription
idstring (uuid)
namestring
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection.

typestring
clientIdstring
clientSecretstring

Masked as "******".

redirectUristring
scopesarray of string
promptstring
jwksEndpointstring
issuerstring
tokenExchangeEnabledboolean
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

GitHubConnectionUpdateRequest​

Type: object

9 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstring

Write-only. Omit to keep the stored value on update.

redirectUristringYes
scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

GitHubConnectionCreateRequest​

Type: GitHubConnectionUpdateRequest

9 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstringYes

Write-only. Omit to keep the stored value on update.

redirectUristringYes
scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

GitHubConnectionResponse​

Type: object

11 properties
NameTypeRequiredDescription
idstring (uuid)
namestring
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection.

typestring
clientIdstring
clientSecretstring
redirectUristring
scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

OIDCConnectionUpdateRequest​

Type: object

17 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstring

Write-only. Omit to keep the stored value on update.

redirectUristringYes
authorizationEndpointstringYes
tokenEndpointstringYes
userInfoEndpointstring
jwksEndpointstring
issuerstring
scopesarray of string
promptstring
tokenExchangeEnabledboolean
idJagEnabledboolean

Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set.

trustedTokenAudiencestring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

OIDCConnectionCreateRequest​

Type: OIDCConnectionUpdateRequest

17 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstringYes

Write-only. Omit to keep the stored value on update.

redirectUristringYes
authorizationEndpointstringYes
tokenEndpointstringYes
userInfoEndpointstring
jwksEndpointstring
issuerstring
scopesarray of string
promptstring
tokenExchangeEnabledboolean
idJagEnabledboolean

Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set.

trustedTokenAudiencestring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

OIDCConnectionResponse​

Type: object

19 properties
NameTypeRequiredDescription
idstring (uuid)
namestring
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection.

typestring
clientIdstring
clientSecretstring
redirectUristring
authorizationEndpointstring
tokenEndpointstring
userInfoEndpointstring
jwksEndpointstring
issuerstring
scopesarray of string
promptstring
tokenExchangeEnabledboolean
idJagEnabledboolean

Enable ID-JAG issuance for this identity provider (draft-ietf-oauth-identity-assertion-authz-grant), so that self-issued ID tokens naming it as issuer can be trusted for the jwt-bearer grant. Requires issuer and jwksEndpoint to be set.

trustedTokenAudiencestring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

OAuthConnectionUpdateRequest​

Type: object

Generic OAuth 2.0 connection (no OpenID Connect discovery, no id_token). User attributes come from the provider's own profile API, given as userInfoEndpoint. That endpoint is provider-specific rather than an OpenID Connect UserInfo endpoint, and is optional: when it is omitted, the subject is read from the access token if the provider issues a JWT.

12 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstring

Write-only. Omit to keep the stored value on update.

redirectUristringYes
authorizationEndpointstringYes
tokenEndpointstringYes
userInfoEndpointstring

The provider's user profile API, called with the access token. Provider-specific, for example https://api.github.com/user. Omit it when the provider exposes no profile API and issues a JWT access token.

scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

OAuthConnectionCreateRequest​

Type: OAuthConnectionUpdateRequest

Generic OAuth 2.0 connection (no OpenID Connect discovery, no id_token). User attributes come from the provider's own profile API, given as userInfoEndpoint. That endpoint is provider-specific rather than an OpenID Connect UserInfo endpoint, and is optional: when it is omitted, the subject is read from the access token if the provider issues a JWT.

12 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created (IDP-1016), and the organization unit has to exist (IDP-1014). It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has (IDP-1015).

clientIdstringYes
clientSecretstringYes

Write-only. Omit to keep the stored value on update.

redirectUristringYes
authorizationEndpointstringYes
tokenEndpointstringYes
userInfoEndpointstring

The provider's user profile API, called with the access token. Provider-specific, for example https://api.github.com/user. Omit it when the provider exposes no profile API and issues a JWT access token.

scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

OAuthConnectionResponse​

Type: object

14 properties
NameTypeRequiredDescription
idstring (uuid)
namestring
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection.

typestring
clientIdstring
clientSecretstring
redirectUristring
authorizationEndpointstring
tokenEndpointstring
userInfoEndpointstring
scopesarray of string
promptstring
attributeConfigurationAttributeConfiguration

External-to-local attribute mapping configuration for the connection.

AuthZENPDPConnectionUpdateRequest​

Type: AuthZENPDPConnectionConfiguration

9 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

endpointstring (uri)Yes

HTTP endpoint for a single AuthZEN access evaluation.

batchEndpointstring (uri)

Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint.

timeoutMsinteger

Timeout for each PDP request in milliseconds.

Default: 1000

retryCountinteger

Number of retries for transient PDP or network failures.

Default: 1

subjectAttributeMappingsarray of AuthZENPDPSubjectAttributeMapping
authenticationOutboundAuthentication

How ThunderID authenticates itself on an outbound call. The type selects the method and properties carries that method's fields, so a new method needs no change to this schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor supports and the fields each one takes.

Credential values are stored encrypted and returned as "******". On update, a masked value retains the matching stored credential while the connection target is unchanged. For api_key, properties contains HTTP header names and values; a header name cannot contain a dot. Omitting a header from a supplied api_key block deletes it. Omitting the whole authentication block keeps the existing configuration. Setting type to none removes authentication.

AuthZENPDPConnectionConfiguration​

Type: object

8 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

endpointstring (uri)Yes

HTTP endpoint for a single AuthZEN access evaluation.

batchEndpointstring (uri)

Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint.

timeoutMsinteger

Timeout for each PDP request in milliseconds.

Default: 1000

retryCountinteger

Number of retries for transient PDP or network failures.

Default: 1

subjectAttributeMappingsarray of AuthZENPDPSubjectAttributeMapping

AuthZENPDPConnectionCreateRequest​

Type: AuthZENPDPConnectionUpdateRequest

9 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

endpointstring (uri)Yes

HTTP endpoint for a single AuthZEN access evaluation.

batchEndpointstring (uri)

Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint.

timeoutMsinteger

Timeout for each PDP request in milliseconds.

Default: 1000

retryCountinteger

Number of retries for transient PDP or network failures.

Default: 1

subjectAttributeMappingsarray of AuthZENPDPSubjectAttributeMapping
authenticationOutboundAuthentication

How ThunderID authenticates itself on an outbound call. The type selects the method and properties carries that method's fields, so a new method needs no change to this schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor supports and the fields each one takes.

Credential values are stored encrypted and returned as "******". On update, a masked value retains the matching stored credential while the connection target is unchanged. For api_key, properties contains HTTP header names and values; a header name cannot contain a dot. Omitting a header from a supplied api_key block deletes it. Omitting the whole authentication block keeps the existing configuration. Setting type to none removes authentication.

AuthZENPDPConnectionResponse​

Type: AuthZENPDPConnectionConfiguration

11 properties
NameTypeRequiredDescription
idstring (uuid)Yes
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

typestringYes

Allowed values: authzen-pdp

authenticationOutboundAuthentication

How ThunderID authenticates itself on an outbound call. The type selects the method and properties carries that method's fields, so a new method needs no change to this schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor supports and the fields each one takes.

Credential values are stored encrypted and returned as "******". On update, a masked value retains the matching stored credential while the connection target is unchanged. For api_key, properties contains HTTP header names and values; a header name cannot contain a dot. Omitting a header from a supplied api_key block deletes it. Omitting the whole authentication block keeps the existing configuration. Setting type to none removes authentication.

namestringYes
descriptionstring
endpointstring (uri)Yes

HTTP endpoint for a single AuthZEN access evaluation.

batchEndpointstring (uri)

Optional HTTP endpoint for batched AuthZEN access evaluations. When omitted, ThunderID sends each evaluation to endpoint.

timeoutMsinteger

Timeout for each PDP request in milliseconds.

Default: 1000

retryCountinteger

Number of retries for transient PDP or network failures.

Default: 1

subjectAttributeMappingsarray of AuthZENPDPSubjectAttributeMapping

AuthZENPDPSubjectAttributeMapping​

Type: object

2 properties
NameTypeRequiredDescription
entityTypestringYes

Handle of the user type or agent type to which this mapping applies.

attributesarray of objectYes

HTTPConnectionUpdateRequest​

Type: object

9 properties
NameTypeRequiredDescription
namestringYes

Unique per deployment.

descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

urlstring (uri)Yes

Absolute http or https URL of the endpoint, with a DNS name or IP literal host, a port from 1 to 65535 and no user name or password; credentials go in authentication. Must be https when authentication.type is not none, so a stored credential never crosses the network in clear. Stored with a lower-case scheme and host and without a default port.

timeoutMsinteger

Timeout of each call in milliseconds. 0 or omitted means 10000.

Default: 10000

headersarray of HTTPConnectionHeader

Plain headers sent on every call. Names are unique, case-insensitively, and values have no line breaks. A PUT replaces the whole list, so omitted means none. Names are compared case-insensitively. Headers that commonly carry credentials (Authorization, Proxy-Authorization, Cookie, X-Api-Key, Api-Key, X-Auth-Token, X-Access-Token), headers the HTTP client manages (Host, Content-Length, Content-Type, Transfer-Encoding, Connection, TE, Trailer, Upgrade, Keep-Alive, Expect) and any header the api_key authentication sets are refused with CON-1020.

authenticationOutboundAuthentication

How ThunderID authenticates to the endpoint: none, basic (username, password), bearer (token) or api_key (one property per header, the header name as the key). Omit it to send no credentials, on update as much as on create. Call GET /connections/meta?vendor=http for the methods this deployment supports and the fields each one takes.

Secrets (the password, the token and every api_key header value) are stored encrypted and returned as "******"; api_key header names are returned in clear. On update, an omitted password or token keeps the stored one only while the authentication type, the username and the URL origin (scheme, host and port) are unchanged; otherwise the update fails with CON-1021. Unlike the shared rule, a password or token sent as "******" is refused with CON-1021, on create and on update, and the stored secret is unchanged. An api_key header sent as "******" keeps that header's stored value under the same rule; on create it is refused.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

HTTPConnectionCreateRequest​

Type: HTTPConnectionUpdateRequest

9 properties
NameTypeRequiredDescription
namestringYes

Unique per deployment.

descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

urlstring (uri)Yes

Absolute http or https URL of the endpoint, with a DNS name or IP literal host, a port from 1 to 65535 and no user name or password; credentials go in authentication. Must be https when authentication.type is not none, so a stored credential never crosses the network in clear. Stored with a lower-case scheme and host and without a default port.

timeoutMsinteger

Timeout of each call in milliseconds. 0 or omitted means 10000.

Default: 10000

headersarray of HTTPConnectionHeader

Plain headers sent on every call. Names are unique, case-insensitively, and values have no line breaks. A PUT replaces the whole list, so omitted means none. Names are compared case-insensitively. Headers that commonly carry credentials (Authorization, Proxy-Authorization, Cookie, X-Api-Key, Api-Key, X-Auth-Token, X-Access-Token), headers the HTTP client manages (Host, Content-Length, Content-Type, Transfer-Encoding, Connection, TE, Trailer, Upgrade, Keep-Alive, Expect) and any header the api_key authentication sets are refused with CON-1020.

authenticationOutboundAuthentication

How ThunderID authenticates to the endpoint: none, basic (username, password), bearer (token) or api_key (one property per header, the header name as the key). Omit it to send no credentials, on update as much as on create. Call GET /connections/meta?vendor=http for the methods this deployment supports and the fields each one takes.

Secrets (the password, the token and every api_key header value) are stored encrypted and returned as "******"; api_key header names are returned in clear. On update, an omitted password or token keeps the stored one only while the authentication type, the username and the URL origin (scheme, host and port) are unchanged; otherwise the update fails with CON-1021. Unlike the shared rule, a password or token sent as "******" is refused with CON-1021, on create and on update, and the stored secret is unchanged. An api_key header sent as "******" keeps that header's stored value under the same rule; on create it is refused.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

HTTPConnectionResponse​

Type: object

9 properties
NameTypeRequiredDescription
idstring (uuid)Yes
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection.

typestringYes

Allowed values: http

urlstringYes
timeoutMsintegerYes
headersarray of HTTPConnectionHeaderYes
authenticationOutboundAuthenticationYes

How ThunderID authenticates itself on an outbound call. The type selects the method and properties carries that method's fields, so a new method needs no change to this schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor supports and the fields each one takes.

Credential values are stored encrypted and returned as "******". On update, a masked value retains the matching stored credential while the connection target is unchanged. For api_key, properties contains HTTP header names and values; a header name cannot contain a dot. Omitting a header from a supplied api_key block deletes it. Omitting the whole authentication block keeps the existing configuration. Setting type to none removes authentication.

HTTPConnectionHeader​

Type: object

2 properties
NameTypeRequiredDescription
namestringYes
valuestringYes

TwilioConnectionUpdateRequest​

Type: object

6 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

accountSidstringYes

Twilio Account SID (AC followed by 32 hex characters).

authTokenstring

Write-only. Omit to keep the stored value on update.

senderIdstringYes

Sender phone number or alphanumeric sender ID.

TwilioConnectionCreateRequest​

Type: TwilioConnectionUpdateRequest

6 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

accountSidstringYes

Twilio Account SID (AC followed by 32 hex characters).

authTokenstringYes

Write-only. Omit to keep the stored value on update.

senderIdstringYes

Sender phone number or alphanumeric sender ID.

TwilioConnectionResponse​

Type: object

8 properties
NameTypeRequiredDescription
idstring (uuid)
namestring
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection.

typestring
accountSidstring
authTokenstring

Masked as "******".

senderIdstring

VonageConnectionUpdateRequest​

Type: object

6 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

apiKeystringYes

Vonage API key.

apiSecretstring

Write-only. Omit to keep the stored value on update.

senderIdstringYes

Sender phone number or alphanumeric sender ID.

VonageConnectionCreateRequest​

Type: VonageConnectionUpdateRequest

6 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

apiKeystringYes

Vonage API key.

apiSecretstringYes

Write-only. Omit to keep the stored value on update.

senderIdstringYes

Sender phone number or alphanumeric sender ID.

VonageConnectionResponse​

Type: object

8 properties
NameTypeRequiredDescription
idstring (uuid)
namestring
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection.

typestring
apiKeystring
apiSecretstring

Masked as "******".

senderIdstring

SMSGatewayConnectionUpdateRequest​

Type: object

10 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

urlstringYes

The HTTP endpoint to call to send an SMS.

httpMethodstring

Allowed values: GET, POST

httpHeadersstring

Comma-separated general HTTP headers, for example X-Campaign-ID: campaign-1. Values are returned unchanged. Commas are not supported within header values. Omit on update to retain them, or send an empty string to remove them.

authenticationOutboundAuthentication

Optional HTTP authentication using none, bearer, basic, or api_key. Authenticated remote URLs must use HTTPS; loopback HTTP is allowed. General httpHeaders retain their existing behavior and cannot use a header name also set by authentication.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

contentTypestring

Allowed values: JSON, FORM

SMSGatewayConnectionCreateRequest​

Type: SMSGatewayConnectionUpdateRequest

10 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

urlstringYes

The HTTP endpoint to call to send an SMS.

httpMethodstring

Allowed values: GET, POST

httpHeadersstring

Comma-separated general HTTP headers, for example X-Campaign-ID: campaign-1. Values are returned unchanged. Commas are not supported within header values. Omit on update to retain them, or send an empty string to remove them.

authenticationOutboundAuthentication

Optional HTTP authentication using none, bearer, basic, or api_key. Authenticated remote URLs must use HTTPS; loopback HTTP is allowed. General httpHeaders retain their existing behavior and cannot use a header name also set by authentication.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

contentTypestring

Allowed values: JSON, FORM

SMSGatewayConnectionResponse​

Type: object

10 properties
NameTypeRequiredDescription
idstring (uuid)
namestring
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection.

typestring
urlstring
httpMethodstring
httpHeadersstring

Comma-separated general HTTP headers returned unchanged.

authenticationOutboundAuthentication

How ThunderID authenticates itself on an outbound call. The type selects the method and properties carries that method's fields, so a new method needs no change to this schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor supports and the fields each one takes.

Credential values are stored encrypted and returned as "******". On update, a masked value retains the matching stored credential while the connection target is unchanged. For api_key, properties contains HTTP header names and values; a header name cannot contain a dot. Omitting a header from a supplied api_key block deletes it. Omitting the whole authentication block keeps the existing configuration. Setting type to none removes authentication.

contentTypestring

SMTPConnectionUpdateRequest​

Type: object

11 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstring

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

hoststringYes

Hostname of the SMTP server.

portintegerYes
fromAddressstring (email)Yes

Address used in the From header and the SMTP envelope.

fromNamestring

Display name shown beside fromAddress in the From header, so a recipient sees Acme Support <[email protected]>. Optional: without it the From header carries the bare address. It must not contain a line break. The SMTP envelope sender is always the bare fromAddress, whether or not a name is set.

tlsstring

How the connection to the SMTP server is secured. Defaults to starttls when omitted. implicit dials TLS directly (SMTPS, usually port 465). none sends in the clear and cannot carry credentials, so it cannot be combined with an authentication method other than none.

Allowed values: none, starttls, implicit. Default: starttls

authenticationOutboundAuthentication

How ThunderID authenticates to the SMTP server. Omit it to send no credentials. Call GET /connections/meta?vendor=email-smtp for the methods this deployment supports and the fields each one takes.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

SMTPConnectionCreateRequest​

Type: SMTPConnectionUpdateRequest

11 properties
NameTypeRequiredDescription
namestringYes
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection. Required when the connection is created, and the organization unit has to exist. It cannot be changed afterwards: on an update, leave it out to keep the owner, or give the one the connection has.

hoststringYes

Hostname of the SMTP server.

portintegerYes
fromAddressstring (email)Yes

Address used in the From header and the SMTP envelope.

fromNamestring

Display name shown beside fromAddress in the From header, so a recipient sees Acme Support <[email protected]>. Optional: without it the From header carries the bare address. It must not contain a line break. The SMTP envelope sender is always the bare fromAddress, whether or not a name is set.

tlsstring

How the connection to the SMTP server is secured. Defaults to starttls when omitted. implicit dials TLS directly (SMTPS, usually port 465). none sends in the clear and cannot carry credentials, so it cannot be combined with an authentication method other than none.

Allowed values: none, starttls, implicit. Default: starttls

authenticationOutboundAuthentication

How ThunderID authenticates to the SMTP server. Omit it to send no credentials. Call GET /connections/meta?vendor=email-smtp for the methods this deployment supports and the fields each one takes.

authentication.typestringYes

The authentication method. none sends no credentials.

authentication.propertiesobject

The selected method's field values, keyed by field name.

SMTPConnectionResponse​

Type: object

11 properties
NameTypeRequiredDescription
idstring (uuid)
namestring
descriptionstring
ouIdstringYes

ID of the organization unit that owns the connection.

typestring
hoststring
portinteger
fromAddressstring (email)
fromNamestring
tlsstring

Allowed values: none, starttls, implicit

authenticationOutboundAuthentication

How ThunderID authenticates itself on an outbound call. The type selects the method and properties carries that method's fields, so a new method needs no change to this schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor supports and the fields each one takes.

Credential values are stored encrypted and returned as "******". On update, a masked value retains the matching stored credential while the connection target is unchanged. For api_key, properties contains HTTP header names and values; a header name cannot contain a dot. Omitting a header from a supplied api_key block deletes it. Omitting the whole authentication block keeps the existing configuration. Setting type to none removes authentication.

OutboundAuthentication​

Type: object

How ThunderID authenticates itself on an outbound call. The type selects the method and properties carries that method's fields, so a new method needs no change to this schema. Call GET /connections/meta?vendor={vendor} to discover the methods a vendor supports and the fields each one takes.

Credential values are stored encrypted and returned as "******". On update, a masked value retains the matching stored credential while the connection target is unchanged. For api_key, properties contains HTTP header names and values; a header name cannot contain a dot. Omitting a header from a supplied api_key block deletes it. Omitting the whole authentication block keeps the existing configuration. Setting type to none removes authentication.

2 properties
NameTypeRequiredDescription
typestringYes

The authentication method. none sends no credentials.

propertiesobject

The selected method's field values, keyed by field name.

ConnectionMetaResponse​

Type: object

Server-driven description of the configurable options of connection vendors.

1 property
NameTypeRequiredDescription
vendorsarray of ConnectionVendorMeta

Every registered vendor, or the one named by the vendor filter. Filtering narrows the list rather than changing the shape of the response.

ConnectionVendorMeta​

Type: object

Server-driven description of one connection vendor's configurable options.

3 properties
NameTypeRequiredDescription
vendorstring
authenticationobject
authentication.methodsarray of OutboundAuthMethod

The outbound authentication methods this vendor supports, in the order a console should offer them. Empty when the vendor has no configurable choice, such as a provider whose credentials are a fixed vendor contract.

OutboundAuthMethod​

Type: object

4 properties
NameTypeRequiredDescription
typestring
displayNamestring

Label for the method. Either plain text or an i18n template pattern.

fieldsarray of OutboundAuthField

The method's fields, in the order a console should render them.

additionalPropertiesOutboundAuthField

One field of an authentication method, described with the same vocabulary as an entity type's property schema so a console can reuse its schema-driven form renderer.

OutboundAuthField​

Type: object

One field of an authentication method, described with the same vocabulary as an entity type's property schema so a console can reuse its schema-driven form renderer.

5 properties
NameTypeRequiredDescription
keystring
typestring

Allowed values: string

requiredboolean
credentialboolean

A secret: stored encrypted, returned masked, omit on update to keep it.

displayNamestring

Label for the field. Either plain text or an i18n template pattern.

AttributeConfiguration​

Type: object

External-to-local attribute mapping configuration for the connection.

4 properties
NameTypeRequiredDescription
userTypeResolutionUserTypeResolutionYes

Resolves which local user type an incoming federated identity maps to. User types are referenced by their handle.

userTypeAttributeMappingsarray of UserTypeAttributeMapping

Per-user-type attribute mapping profiles.

accountLinkingAccountLinking

Configures how an incoming federated identity is matched to an existing local user when it has no recorded link. Every configured attribute that has a value must match.

authorizationMappingAuthorizationMapping

A connection's authorization mapping configuration, evaluated at federated sign-in, token exchange, and ID-JAG consumption: explicit value-to-target rules, direct name-based lookups, or both together, in which case their resolved targets union.

AccountLinking​

Type: object

Configures how an incoming federated identity is matched to an existing local user when it has no recorded link. Every configured attribute that has a value must match.

1 property
NameTypeRequiredDescription
attributesarray of string

External attribute names used together to find the local user. Each one matches on every local attribute it is mapped to, and on the local attribute of the same name. A name that is not made of letters, digits and underscores matches only through its mappings, so it must be mapped for every user type, and saving the connection rejects it otherwise. The reserved names userID, federatedIdpId, credentialUpdatedAt and linkedIds are rejected, both as linking attributes and as the local attributes they are mapped to. If an attribute has a value but no local attribute to match on, the connection matches no one. This can still happen at sign-in when the identity resolves to a user type that has no attribute mappings. Each attribute's local attributes are combined with every other's, one lookup per combination, and saving rejects a configuration that needs more than 10 lookups for any user type.

UserTypeResolution​

Type: object

Resolves which local user type an incoming federated identity maps to. User types are referenced by their handle.

3 properties
NameTypeRequiredDescription
defaultstringYes

Handle of the fallback local user type, used when claim-driven resolution is not configured or the external attribute's value does not match a mapping.

externalAttributestring

External claim whose value selects the local user type.

valueMappingobject

Maps an external attribute value to the handle of a local user type.

UserTypeAttributeMapping​

Type: object

Attribute mapping profile for a single local user type.

2 properties
NameTypeRequiredDescription
userTypestringYes

Handle of the local user type this profile applies to.

attributesarray of AttributeMapping

External-to-local attribute mappings for this user type.

AttributeMapping​

Type: object

Maps a single external IDP attribute to a local user attribute.

2 properties
NameTypeRequiredDescription
externalAttributestringYes

External claim name emitted by the IDP. May be a dot-notation path into a nested claim (e.g. "address.email"). A literal name containing dots is matched first.

localAttributestringYes

Target local attribute name. Must exist in the user type's schema.

AuthorizationMapping​

Type: object

A connection's authorization mapping configuration, evaluated at federated sign-in, token exchange, and ID-JAG consumption: explicit value-to-target rules, direct name-based lookups, or both together, in which case their resolved targets union.

2 properties
NameTypeRequiredDescription
rulesarray of AuthorizationRuleMapping

Maps values of external claims to local roles, groups, or permissions. A claim value satisfying no rule confers nothing, even where it matches the name of a local role or group.

directarray of AuthorizationDirectMapping

Feeds every value of an external claim directly onto local roles, groups, or permissions of one target type, using each value as the name (or permission string) to look up, rather than an explicit per-value rule table. A value with no unambiguous match confers nothing.

AuthorizationRuleMapping​

Type: object

Maps values of a single external claim to local roles, groups, or permissions. The result is the union of every matching rule's targets; a value satisfying no rule confers nothing.

4 properties
NameTypeRequiredDescription
claimstringYes

Source claim. May be a dot-notation path into a nested claim (e.g. "address.country").

valueTypestring

How the claim's value(s) are interpreted. Defaults to "string" (a single scalar value) when omitted. "array", or "string" combined with delimiter, is multi-valued and requires the includes/not_includes operators; every other combination is single-valued and requires a different operator. "number" values are compared exactly when they have at most 1024 characters and an exponent within ±400; beyond that they are compared as 64-bit floating-point numbers.

Allowed values: string, number, boolean, array. Default: string

delimiterstring

Splits a single string claim value into multiple tokens, making it multi-valued. Only valid when valueType is "string" or omitted.

valuesarray of AuthorizationRuleYes

At least one rule. Every matching rule's targets are unioned together.

AuthorizationRule​

Type: object

Grants targets when the owning mapping's claim value(s) satisfy operator against value.

3 properties
NameTypeRequiredDescription
operatorstringYes

equals/not_equals and the ordering operators (greater_than, less_than, greater_than_or_equal, less_than_or_equal) are scalar comparisons and require the owning mapping to be single-valued; the ordering operators additionally require valueType "number". includes/not_includes test set membership and require the owning mapping to be multi-valued.

Allowed values: equals, not_equals, greater_than, less_than, greater_than_or_equal, less_than_or_equal, includes, not_includes

valuestringYes

Value compared against the claim, always given as a string regardless of valueType (e.g. "true" for boolean, "5" for number).

targetsarray of AuthorizationTargetYes

Roles, groups, or permissions granted when this rule matches.

AuthorizationTarget​

Type: object

A single local role, group, or permission a matching rule confers. The referenced role, group, or permission must already exist; the connection is rejected otherwise.

4 properties
NameTypeRequiredDescription
typestringYes

Allowed values: role, group, permission

idstring

Role or group id. Required when type is "role" or "group".

resourceServerIdstring

Resource server id the permission belongs to. Required when type is "permission"; a permission is only meaningful on one resource server.

permissionstring

Permission handle on resourceServerId. Required when type is "permission".

AuthorizationDirectMapping​

Type: object

Feeds every value of a single external claim directly onto local roles, groups, or permissions of targetType, using each value as the name (or permission string) to look up. A value with no unambiguous match (none, or more than one, since role and group names are only unique within an organization unit) confers nothing.

4 properties
NameTypeRequiredDescription
claimstringYes

Source claim. May be a dot-notation path into a nested claim (e.g. "address.country"). A list claim (a JSON array) is split into its elements automatically; a single value, including a number or boolean, is used as its own one-element token.

delimiterstring

Splits a single string claim value into multiple tokens. Not needed for a list claim.

targetTypestringYes

What every claim value resolves to. A value is matched by exact name against existing roles or groups (regardless of organization unit); for "permission" it is validated directly against resourceServerId's defined permissions, since a permission is a string rather than a separately named entity.

Allowed values: role, group, permission

resourceServerIdstring

Resource server id claim values are validated against. Required when targetType is "permission"; not allowed otherwise.

ConnectionSharingPolicyRequest​

Type: any of: any, any

One organization unit's decision about this connection.

4 properties
NameTypeRequiredDescription
initiatingOuIdstring

The organization unit whose decision this is.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRootsSelected

Named root organization units of other trees, and nothing below them.

versioninteger

The policy version the caller believes it is editing.

ConnectionSharingPolicyUpdateRequest​

Type: any of: any, any, any

A replacement for a policy's sections.

4 properties
NameTypeRequiredDescription
allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

versionintegerYes

The policy version the caller believes it is editing.

ConnectionAllUnits​

Type: object

Every organization unit in the deployment, at any depth, including units created later.

1 property
NameTypeRequiredDescription
excludedOuIdsarray of string

Organization units withheld from the section, each taking everything beneath it out of reach as well.

ConnectionChildUnits​

Type: one of: ConnectionChildUnitsAll, ConnectionChildUnitsSelected

The organization units beneath the issuer.

ConnectionChildUnitsAll​

Type: object

Everything beneath the issuing organization unit, at any depth, including units created later.

2 properties
NameTypeRequiredDescription
modestringYes

Allowed values: all

excludedOuIdsarray of string

Organization units withheld from the section, each taking everything beneath it out of reach as well.

ConnectionChildUnitsSelected​

Type: object

Named organization units directly beneath the issuer.

2 properties
NameTypeRequiredDescription
modestringYes

Allowed values: selected

unitsarray of ConnectionChildUnitYes

The organization units reached.

ConnectionChildUnit​

Type: object

2 properties
NameTypeRequiredDescription
ouIdstringYes

A direct child of the issuing organization unit.

reachstringYes

How far the connection carries from the named organization unit.

Allowed values: unit, subtree

ConnectionOtherTreeRoots​

Type: one of: ConnectionOtherTreeRootsSelected, ConnectionOtherTreeRootsAll

The root organization units of other trees, as a policy carries them.

ConnectionOtherTreeRootsSelected​

Type: object

Named root organization units of other trees, and nothing below them.

2 properties
NameTypeRequiredDescription
modestringYes

Allowed values: selected

unitsarray of ConnectionRootUnitYes

The root organization units reached.

ConnectionOtherTreeRootsAll​

Type: object

The root organization unit of every other tree, including trees created later.

2 properties
NameTypeRequiredDescription
modestringYes

Allowed values: all

excludedOuIdsarray of string

Root organization units withheld from the section, and with them their trees.

ConnectionRootUnit​

Type: object

1 property
NameTypeRequiredDescription
ouIdstringYes

The root organization unit of another tree.

ConnectionSharingPolicy​

Type: object

A recorded sharing policy.

9 properties
NameTypeRequiredDescription
idstring

The policy's own identifier.

initiatingOuIdstring

The organization unit whose decision this policy is.

stagestring

share when the owner issued it, reshare when a sharee did.

Allowed values: share, reshare

parentPolicyIdstring

The policy that made this one's issuer able to see the connection.

isReadOnlyboolean

Indicates if the policy is defined in declarative configuration and cannot be modified.

versioninteger

Bumped on every edit, and carried back on the next one.

allUnitsConnectionAllUnits

Every organization unit in the deployment, at any depth, including units created later.

childUnitsConnectionChildUnits

The organization units beneath the issuer.

otherTreeRootsConnectionOtherTreeRoots

The root organization units of other trees, as a policy carries them.

ConnectionSharingPolicyListResponse​

Type: object

5 properties
NameTypeRequiredDescription
totalResultsinteger

How many policies the connection has, not how many this page holds.

startIndexinteger

The one-based position of the first policy in this page.

countinteger

How many policies this page holds.

policiesarray of ConnectionSharingPolicy
linksarray of Link

Links to the first, previous, next and last pages, where they exist.

ConnectionResolvedOverlay​

Type: object

What one organization unit may do with the connection.

5 properties
NameTypeRequiredDescription
ouIdstring
isOwnedByOUboolean

Whether the organization unit owns the connection rather than being shared it.

visibleboolean

Whether the organization unit can see the connection at all.

policyIdsarray of string

Every policy that contributed, so an answer is traceable to its inputs.

rulesobject

The effective rule per field.

ConnectionOverlayRule​

Type: object

What a reached organization unit may do with one field.

4 properties
NameTypeRequiredDescription
editableboolean
valuearray of string
allowedValuesarray of string
excludedValuesarray of string

Error​

Type: object

3 properties
NameTypeRequiredDescription
codestringYes
messageI18nMessageYes
descriptionI18nMessage

I18nMessage​

Type: object

2 properties
NameTypeRequiredDescription
keystringYes
defaultValuestringYes

Was this page helpful?