Webhooks
iMessage Event
Fired for iMessage events on an agent identity with an active iMessage subscription. Covers inbound delivery (imessage.received) and inbound tapbacks (imessage.reaction_received) routed through the shared-number assignment table. The request body uses the standard {event_type, timestamp, data} envelope with data.message or data.reaction. Pool numbers are intentionally omitted from the payload; agents address iMessage by identity/conversation, not by the shared pool line. This is fire-and-forget: the response status is logged but does not affect iMessage processing.
If your organization has a signing key, every webhook includes three headers:
- X-Inkbox-Request-ID — UUID for deduplication.
- X-Inkbox-Timestamp — Unix timestamp in seconds.
- X-Inkbox-Signature — sha256={HMAC-SHA256 hex digest} over {request_id}.{timestamp}.{raw_body}.
postWebhook/imessage
Payload
Response
Successful Response
{"stackTrail":"webhooks:/imessage:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}