Create Workspace Auth Connection

Create a new OAuth2 auth connection for the workspace

Headers

xi-api-keystringRequired

Request

This endpoint expects an object.
CreateOAuth2ClientCredsRequestobjectRequired
OR
CreateCustomHeaderAuthRequestobjectRequired
OR
CreateBasicAuthRequestobjectRequired
OR
CreateOAuth2JWTRequestobjectRequired
OR
CreatePrivateKeyJWTRequestobjectRequired
OR
CreateMTLSAuthRequestobjectRequired

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
mtlsobject
Response model for mTLS 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

422
Unprocessable Entity Error