Britive platform release 2026.10.02 is now live in production.

Create an ITSM connection

Prev Next
Post
/api/itsm-manager/connections

Create an ITSM Connection. ticketTypes is required for a connector that validates per ticket type (currently ServiceNow); the connection is only created once every selected ticket type is confirmed reachable.

Security
HTTP
Type bearer
Body parameters

ITSM Connection Data

Expand All
object
id
string
type
string
authType
string

Authentication type, one of the connector's supportedAuthTypes (see the ITSM metadata API). ServiceNow supports apiKeyAuth (default), clientCredentialsAuth (OAuth 2.0 Client Credentials) and jwtBearerAuth (OAuth 2.0 JWT Bearer). ServiceNow basicAuth is deprecated and is rejected (400, ITSM-0020) when creating a connection or switching one to it, but connections already using it can still be updated. To upgrade one, update it with a supported authType and that auth type's data; the basicAuth attributes are discarded and the connection can't be switched back. On update, changing authType always requires data for the new auth type (400 otherwise).

name
string
description
string
data
object

Connection attributes for the chosen authType, as listed in its connAttributes. For ServiceNow jwtBearerAuth these are loginUrl, clientId, clientSecret, subject (the ServiceNow user the token acts as) and keyId (the Kid of the JWT Verifier Map entry holding Britive's public certificate, downloaded in Britive from Admin > Security > SAML Configurations > Export OAuth2 Certificate, formerly Export WIF Certificate). Britive signs the assertion with its own key, so no private key is supplied. For jwtBearerAuth, clientId must be the ServiceNow OAuth client ID, made of 1 to 255 letters, digits, ".", "_" or "-", and not "Britive" (any case); anything else is rejected with 400. For ServiceNow clientCredentialsAuth and jwtBearerAuth, loginUrl must use https. Secret attributes (apiKey, password, clientSecret, apiToken) are write-only, and every response, including the create response, returns them as "*".

ticketTypes
Array of string

Which ticket types this connection should be tested and tracked against, for connectors that validate per ticket type (currently ServiceNow). Required on create for such connectors; optional on update (omit to keep the existing selection; an empty list resets it to the connector's default). Names are trimmed, lowercased and de-duplicated, and must be among the connector's supported ticket types. A connection with no stored selection (created before this field existed) uses the connector's default, for ServiceNow incident and change_request. An update can't remove a type that a profile's ITSM settings still use (400, ITSM-0021, checked before the connection is tested), and profile ITSM settings can only use the connection's selected types. Ignored, and not stored, for connectors that don't validate per ticket type.

string
Responses
201

ITSM Connection created successfully. Secret attributes in data are returned as "*".

Expand All
object
id
string
type
string
authType
string

Authentication type, one of the connector's supportedAuthTypes (see the ITSM metadata API). ServiceNow supports apiKeyAuth (default), clientCredentialsAuth (OAuth 2.0 Client Credentials) and jwtBearerAuth (OAuth 2.0 JWT Bearer). ServiceNow basicAuth is deprecated and is rejected (400, ITSM-0020) when creating a connection or switching one to it, but connections already using it can still be updated. To upgrade one, update it with a supported authType and that auth type's data; the basicAuth attributes are discarded and the connection can't be switched back. On update, changing authType always requires data for the new auth type (400 otherwise).

name
string
description
string
data
object

Connection attributes for the chosen authType, as listed in its connAttributes. For ServiceNow jwtBearerAuth these are loginUrl, clientId, clientSecret, subject (the ServiceNow user the token acts as) and keyId (the Kid of the JWT Verifier Map entry holding Britive's public certificate, downloaded in Britive from Admin > Security > SAML Configurations > Export OAuth2 Certificate, formerly Export WIF Certificate). Britive signs the assertion with its own key, so no private key is supplied. For jwtBearerAuth, clientId must be the ServiceNow OAuth client ID, made of 1 to 255 letters, digits, ".", "_" or "-", and not "Britive" (any case); anything else is rejected with 400. For ServiceNow clientCredentialsAuth and jwtBearerAuth, loginUrl must use https. Secret attributes (apiKey, password, clientSecret, apiToken) are write-only, and every response, including the create response, returns them as "*".

ticketTypes
Array of string

Which ticket types this connection should be tested and tracked against, for connectors that validate per ticket type (currently ServiceNow). Required on create for such connectors; optional on update (omit to keep the existing selection; an empty list resets it to the connector's default). Names are trimmed, lowercased and de-duplicated, and must be among the connector's supported ticket types. A connection with no stored selection (created before this field existed) uses the connector's default, for ServiceNow incident and change_request. An update can't remove a type that a profile's ITSM settings still use (400, ITSM-0021, checked before the connection is tested), and profile ITSM settings can only use the connection's selected types. Ignored, and not stored, for connectors that don't validate per ticket type.

string