Create Workspace Auth Connection

Create a new OAuth2 auth connection for the workspace

Headers

xi-api-keystringOptional

Request

Auth connection to create
oauth2_client_credentialsobjectRequired

Request model for creating auth connections - inherits common settings and includes sensitive fields

OR
custom_header_authobjectRequired
OR
basic_authobjectRequired

Request model for creating Basic Auth connections - inherits common settings and includes sensitive fields

OR
oauth2_jwtobjectRequired

Request model for creating OAuth2 JWT auth connections - inherits common settings and includes sensitive fields

OR
private_key_jwtobjectRequired

Request model for creating Private Key JWT auth connections - inherits common settings and includes sensitive fields

Response

Successful Response
oauth2_client_credentialsobject
Response model for oauth2 client creds
OR
basic_authobject
Response model for basic auth
OR
bearer_authobject
Response model for bearer auth
OR
oauth2_jwtobject
Response model for OAuth2 JWT auth connections
OR
private_key_jwtobject
Response model for Private Key JWT auth connections
OR
custom_header_authobject
Response model for Custom Header Auth auth connections
OR
api_integration_oauth2_auth_codeobject

Response model for integration-managed OAuth2 Auth Code auth connections

OR
whatsapp_authobject

Errors