Webhooks
Handle outreach webhook (backwards compatibility)
Backwards-compatible alias that proxies to the outreach trigger handler. Authenticated via API key. New integrations should call the canonical /api/outreach/trigger endpoint directly; this route is kept so older customer integrations continue to work.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Arbitrary outreach payload forwarded to outreach trigger handler
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/webhook/outreach" \ -H "Content-Type: application/json" \ -d '{ "apiKey": "tk_live_5f7b1c2e8a1d4e0012c3b4a5", "contact": { "firstName": "Alex", "lastName": "Morgan", "phoneNumber": "+14165550100", "email": "alex@example.com" }, "automationId": "5f7b1c2e8a1d4e0012c3b4a5" }'{ "success": true, "message": "Data processed successfully", "data": { "contactId": "64b2c3d4e5f60012345678aa", "applicationId": "64d2f9c5e8a1d4e001a0b1c2", "conversationId": "64d2f9c5e8a1d4e001a0b1c3", "phoneNumberId": "64d2f9c5e8a1d4e001a0b1d0", "mergeOutcome": "created", "starterMessage": { "status": "sent", "phoneNumberId": "64d2f9c5e8a1d4e001a0b1d0", "fromPhoneNumber": "+15550000002" } }}