Bounce Webhook
POST
/api/outreach/webhooks/bounce
const url = 'http://localhost:8000/api/outreach/webhooks/bounce';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"event":"bounce","hard":true,"message_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8000/api/outreach/webhooks/bounce \ --header 'Content-Type: application/json' \ --data '{ "event": "bounce", "hard": true, "message_id": "example" }'Platform-authenticated bounce/complaint hook (spec §6.6).
Verified by a platform-global shared secret BEFORE any workspace is trusted. The message_id→workspace lookup spans tenants and runs on a dedicated owner connection (no GUC); the write then enters workspace_scope.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
BounceEvent
object
event
Event
string
hard
Hard
boolean
message_id
required
Message Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}