Messaging

Connect a messaging integration

post/messaging/connect

Request

  • Base URL: https://api.xfa.tech
  • URL: https://api.xfa.tech/messaging/connect
  • Auth: HTTP bearer

Request body

organization_idstring required

The ID of the organization to connect

type'slack' | 'teams' required

Messaging provider to connect

codestring

The OAuth authorization code from the messaging platform

tenant_idstring

Microsoft tenant ID for Teams

statestring

The OAuth state value returned by the Teams consent flow

redirect_uristring

The redirect URI used during the OAuth authorization request

Response

Successfully connected messaging integration

connection_idstring

The ID of the created connection

connection_statusstring

Provider-neutral connection status, such as connected or tentative

Changes

No recorded changes to this operation across all 1 revision of this API.