Skip to main content
WEBHOOK
This webhook is sent when a mail piece is delivered. The payload includes the recipient, order, and order item state at delivery.

Authorizations

Authorization
string
header
required

Bearer token authentication using your thanks.io API key

Body

application/json
event_type
string
required
Example:

"order_item.delivered"

event_id
string
required
Example:

"7199e4e0-516b-11f0-ba5f-f135ea42fb62"

data
object
required

Flat payload object used by webhook events. Each property is a dotted key matching the published webhook payload structure.

timestamp
integer
required
Example:

1750818235

date_time
string
required
Example:

"2025-06-25 02:23:55"

Response

200

Webhook received