xfa-tech Messaging API

The Messaging API from xfa-tech — 6 operation(s) for messaging.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

POST /messaging/connect Connect a messaging integration #
POST /messaging/teams/consent-url Create a Microsoft Teams admin consent URL #
POST /messaging/teams/disconnect-teardown/consent-url Create a Microsoft Teams disconnect teardown admin consent URL #
POST /messaging/teams/disconnect-teardown/callback Complete a Microsoft Teams disconnect teardown callback #
DELETE /messaging/{connectionId} Disconnect a messaging integration #
GET /messaging/organization/{organizationId} List messaging connections for an organization #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/xfa-tech:xfa-tech-messaging-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

xfa-tech-messaging-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: XFA Messaging API
  version: '1'
servers:
- url: https://api.xfa.tech
  description: Production stack API url
- url: https://test-api.xfa.tech
  description: Test stack API url
security:
- bearerAuth: []
tags:
- name: Messaging
paths:
  /messaging/connect:
    post:
      summary: Connect a messaging integration
      tags:
      - Messaging
      x-internal: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organization_id:
                  type: string
                  description: The ID of the organization to connect
                type:
                  type: string
                  enum:
                  - slack
                  - teams
                  description: Messaging provider to connect
                code:
                  type: string
                  description: The OAuth authorization code from the messaging platform
                tenant_id:
                  type: string
                  description: Microsoft tenant ID for Teams
                state:
                  type: string
                  description: The OAuth state value returned by the Teams consent flow
                redirect_uri:
                  type: string
                  description: The redirect URI used during the OAuth authorization request
              required:
              - organization_id
              - type
      responses:
        '200':
          description: Successfully connected messaging integration
          content:
            application/json:
              schema:
                type: object
                properties:
                  connection_id:
                    type: string
                    description: The ID of the created connection
                  connection_status:
                    type: string
                    description: Provider-neutral connection status, such as connected or tentative
        '400':
          description: Invalid request
        '403':
          description: Not authorized
      operationId: postMessagingConnect
      x-operation-id-source: derived
  /messaging/teams/consent-url:
    post:
      summary: Create a Microsoft Teams admin consent URL
      tags:
      - Messaging
      x-internal: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organization_id:
                  type: string
                  description: The ID of the organization requesting Teams consent
                redirect_uri:
                  type: string
                  description: The dashboard URI where Microsoft redirects after admin consent
              required:
              - organization_id
              - redirect_uri
      responses:
        '200':
          description: Returns Teams consent URL details
          content:
            application/json:
              schema:
                type: object
                properties:
                  state:
                    type: string
                  consent_url:
                    type: string
                  expires_at:
                    type: integer
                    format: int64
        '400':
          description: Invalid request
        '403':
          description: Not authorized
      operationId: postMessagingTeamsConsentUrl
      x-operation-id-source: derived
  /messaging/teams/disconnect-teardown/consent-url:
    post:
      summary: Create a Microsoft Teams disconnect teardown admin consent URL
      tags:
      - Messaging
      x-internal: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamsDisconnectTeardownConsentURLRequest'
      responses:
        '200':
          description: Returns Teams disconnect teardown consent URL details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsDisconnectTeardownConsentURLResponse'
        '400':
          description: Invalid request
        '403':
          description: MFA required or invalid
        '404':
          description: Connection not found
      operationId: postMessagingTeamsDisconnectTeardownConsentUrl
      x-operation-id-source: derived
  /messaging/teams/disconnect-teardown/callback:
    post:
      summary: Complete a Microsoft Teams disconnect teardown callback
      tags:
      - Messaging
      x-internal: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamsDisconnectTeardownCallbackRequest'
      responses:
        '200':
          description: Returns Teams disconnect teardown results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamsDisconnectTeardownCallbackResponse'
        '400':
          description: Invalid request
        '403':
          description: MFA required or invalid
        '404':
          description: Connection not found
      operationId: postMessagingTeamsDisconnectTeardownCallback
      x-operation-id-source: derived
  /messaging/{connectionId}:
    delete:
      summary: Disconnect a messaging integration
      tags:
      - Messaging
      x-internal: true
      parameters:
      - in: path
        name: connectionId
        description: ID of the messaging connection to disconnect
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Successfully disconnected messaging integration
        '403':
          description: Not authorized
        '404':
          description: Connection not found
      operationId: deleteMessagingByConnectionId
      x-operation-id-source: derived
  /messaging/organization/{organizationId}:
    get:
      summary: List messaging connections for an organization
      tags:
      - Messaging
      x-internal: true
      parameters:
      - in: path
        name: organizationId
        description: ID of Organization
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Returns the list of messaging connections for the organization
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    connection_id:
                      type: string
                    organization_id:
                      type: string
                    type:
                      type: string
                    provider:
                      type: string
                    team_id:
                      type: string
                    team_name:
                      type: string
                    connection_status:
                      type: string
                    connected:
                      type: boolean
        '403':
          description: Not authorized
      operationId: getMessagingOrganizationByOrganizationId
      x-operation-id-source: derived
components:
  schemas:
    TeamsDisconnectTeardownCallbackRequest:
      type: object
      properties:
        organization_id:
          type: string
          description: The ID of the organization completing Teams disconnect teardown
        state:
          type: string
          description: The admin-consent state returned by Microsoft
        code:
          type: string
          description: The delegated authorization code returned by Microsoft
      required:
      - organization_id
      - state
      - code
    TeamsDisconnectTeardownCallbackResponse:
      type: object
      properties:
        catalog:
          type: string
          enum:
          - deleted
          - skipped_shared_tenant
          - skipped_missing_catalog
          - error
          description: Catalog app teardown status
        tenant_shared:
          type: boolean
          description: Whether another active Teams connection shares the Microsoft tenant
        entra:
          type: object
          properties:
            show:
              type: boolean
            app_id:
              type: string
            app_name:
              type: string
            deep_link:
              type: string
          required:
          - show
          - app_id
          - app_name
          - deep_link
        uninstall:
          type: string
          enum:
          - queued
          - skipped
          description: User-installation teardown status
      required:
      - catalog
      - tenant_shared
      - entra
      - uninstall
    TeamsDisconnectTeardownConsentURLRequest:
      type: object
      properties:
        organization_id:
          type: string
          description: The ID of the organization that owns the Teams connection
        connection_id:
          type: string
          description: The Teams messaging connection ID to tear down
        redirect_uri:
          type: string
          description: The dashboard URI where Microsoft redirects after teardown admin consent
      required:
      - organization_id
      - connection_id
      - redirect_uri
    TeamsDisconnectTeardownConsentURLResponse:
      type: object
      properties:
        state:
          type: string
        consent_url:
          type: string
      required:
      - state
      - consent_url
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT