This repository now contains a custom FreeScout module named ApiBridge.
The module replaces the stock API/Webhooks package with a leaner, maintainable
implementation that keeps API access and outbound webhooks in sync.
ApiBridge/– new FreeScout module that exposes REST endpoints and webhook dispatching.backend/– reserved for server-side utilities (unchanged).
- Copy or symlink
ApiBridgeinto your FreeScout installation, e.g.ln -s /home/gabriel/projects/GlobalDeskModules/ApiBridge /var/www/freescout/Modules/ApiBridge - From the FreeScout root run:
composer dump-autoload php artisan module:migrate ApiBridge - Activate API Bridge from the Modules screen inside FreeScout.
- REST API endpoints for conversations and customers under
/api/apibridge. - API key management with UI-based regeneration.
- Configurable CORS hosts.
- Webhook definitions stored in dedicated tables with retry/backoff support.
- Background command queue for failed webhook retries and log pruning.
- Visit Settings → API Bridge inside FreeScout.
- Regenerate the API key and share it with trusted integrations.
- Configure allowed CORS origins if you call the API from browsers.
- Create webhooks mapped to conversation/customer events.
- Use the API endpoints with header
X-Api-Key: <your-key>.
- Queue workers will pick up webhook retry jobs triggered by
apibridge:webhooks-process. - Clean up historical logs by running
apibridge:webhooks-clean-logs.
See the in-app settings view for the complete list of events and configuration options.