Skip to content

Lob

PropertyValue
AlgorithmHMAC-SHA256
HeaderLob-Signature
Timestamp tolerance300 seconds (5 minutes)

Lob supports two header formats:

  • lob-signature — The HMAC signature
  • lob-signature-timestamp — The Unix timestamp
  • Lob-Signature — Combined t=timestamp,s=signature format

Signing formula:

hex(HMAC-SHA256("timestamp.payload", webhook_secret))

Transyt automatically detects and handles both formats.

  1. In the Lob Dashboard, go to Settings > Webhooks
  2. Add a new webhook with the URL:
    https://ingest.transyt.com/lob/{your-account-slug}
  3. Copy the webhook secret and use it when creating the Transyt account
Terminal window
curl -X POST https://ingest.transyt.com/admin/accounts \
-H "X-Admin-Token: YOUR_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"provider": "lob",
"account_slug": "main",
"app_key": "my-app",
"signing_secret_current": "your-lob-webhook-secret"
}'
Lob EventTransyt Event
letter.createdmail.created
letter.deliveredmail.delivered
letter.in_transitmail.in_transit
letter.returned_to_sendermail.returned
Lob EventTransyt Event
postcard.createdpostcard.created
postcard.deliveredpostcard.delivered
Lob EventTransyt Event
check.createdcheck.created
check.deliveredcheck.delivered

The external ID is a composite of resource_id:event_type, since the same resource (e.g., a letter) generates multiple events as it progresses through the mail system.