Email API webhook events and what Paubox sends
Email API webhook events and what Paubox sends
When you add a webhook, you choose which events it listens for. This article explains what each event means and what's in the notification Paubox sends.
Email delivery events
These events are about email you send through Paubox Email API.
|
Event |
When Paubox sends it |
|---|---|
|
email.delivered |
The message reached the recipient's mail server. |
|
email.opened |
The recipient opened the message. Opens are only tracked when Open Tracking is on in Settings > Email API, or when your developer turns tracking on for a message. |
|
email.temporary_failure |
Delivery was delayed. Paubox keeps trying to deliver the message. |
|
email.failed |
Delivery failed, and Paubox won't try again. |
Each notification covers one recipient. A message sent to three people can produce three notifications for the same event.
What's in an email delivery notification
- The event name
- The sender and the recipient
- The subject line
- The time of the event
- The tracking ID Paubox returned when the message was sent, so your system can match the notification to the message
- The message ID
- Any custom headers starting with X- that were added when the message was sent
Inbound email event
|
Event |
When Paubox sends it |
|---|---|
|
email.received |
Someone sent an email to your Paubox receiving address. |
This notification includes the whole message. See "Get notified when email arrives" for details.
If your account has Paubox Forms, the list may also include forms.submission, which Paubox sends when someone submits one of your forms.
Event names your developer will see
The dashboard shows short event names, but the notification Paubox sends uses the longer name in the right-hand column. Your developer should look for these names.
|
Name in the dashboard |
Name in the notification |
|---|---|
|
email.delivered |
api_mail_log_delivered |
|
email.opened |
api_mail_log_opened |
|
email.temporary_failure |
api_mail_log_temporary_failure |
|
email.failed |
api_mail_log_permanent_failure |
|
email.received |
email.inbound.received |
Tip: On the Webhooks tab, hover over an event to see the name it's sent as.
Look after the information in your notifications
Notifications include details such as email addresses and subject lines. Inbound email notifications include the full message. Only send notifications to systems your organization has approved to handle that information.
Full payload examples for developers are at https://docs.paubox.com/email-api/webhooks.