Skip to content

API Endpoints

Public Endpoints

Method Endpoint Description
GET / Health check
GET /slack/install Slack OAuth initiation
GET /slack/oauth/callback Slack OAuth callback

Webhook Endpoints

Method Endpoint Description
POST /slack/message Slack message webhook
POST /teams/message Teams message webhook
POST /callback/:token Async callback handler

Authenticated Endpoints

Method Endpoint Description
POST /file-importer File upload and processing (JWT required)

GraphQL Endpoint

Method Endpoint Description
POST /graphql GraphQL API for web applications

Callback System

The callback controller handles asynchronous responses for long-running operations.

Endpoint

POST /callback/:token

Features

  • JWT token validation
  • Database record retrieval
  • Platform-specific response routing
  • Error handling and logging

Flow

  1. Long-running operation starts
  2. System generates callback token
  3. Operation completes and calls callback endpoint
  4. Callback routes response to appropriate platform