HTTP & Webhooks
All webhook routes are defined in routes/api.php and auto-loaded by the service provider.
Messaging Routes
For each driver in messaging.drivers, the package registers:
GET /webhooks/messaging/{driver}→MessagingWebhookController@authPOST /webhooks/messaging/{driver}→MessagingWebhookController@ingest
Verification
Each driver is responsible for verification. For WhatsApp:
- Compares
hub_verify_tokenwithconfig('task-tracker.messaging.drivers.whatsapp.secret') - Returns
hub_challengewhen valid
Payload Parsing
MessagingWebhookController@ingest delegates to the configured driver, which uses its adapter to generate IncomingMessage[]. The WhatsApp driver only accepts text messages.