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
Features
- JWT token validation
- Database record retrieval
- Platform-specific response routing
- Error handling and logging
Flow
- Long-running operation starts
- System generates callback token
- Operation completes and calls callback endpoint
- Callback routes response to appropriate platform