Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ Find below a detailed description of the fields in a [Webhoook event](/managed-s
| `email_from` | Email FROM address |
| `email_to` | Email recipient address |
| `email_headers` | SMTP headers |
| `email_error` | SMTP message explaining the drop |
| `email_error` | **DEPRECATED** SMTP message explaining the drop |
| `email_next_try` | Next time the email will be sent to the recipient server |
| `email_try_count` | Total number of tries attempted for this email |
| `email_response_code` | SMTP response code |
| `email_response_message` | SMTP response message |


## Examples of payload by event type
Expand Down Expand Up @@ -67,25 +69,22 @@ Webhooks may trigger different [types of events](/managed-services/transactional
## email_dropped
```json
{
"id": string,
{
"id": uuid,
"type": "email_dropped",
"organization_id": string,
"project_id": string,
"domain_id": string,
"organization_id": uuid,
"project_id": uuid,
"domain_id": uuid,
"domain_name": string,
"created_at": date,
"email_sent_at": date,
"email_id": string,
"created_at": time,
"email_id": uuid,
"email_from": string,
"email_to": string,
"email_headers": [
{
"name": string,
"value": string
}
],
"email_headers": [{"key": string, "value": string}],
"email_sent_at": time,
"email_error": string,
}
"email_response_code": int,
"email_response_message": string
```
## email_delivered
```json
Expand All @@ -106,7 +105,9 @@ Webhooks may trigger different [types of events](/managed-services/transactional
"name": string,
"value": string
}
]
],
"email_response_code": int,
"email_response_message": string
}
```
## email_mailbox_not_found
Expand All @@ -128,7 +129,9 @@ Webhooks may trigger different [types of events](/managed-services/transactional
"name": string,
"value": string
}
]
],
"email_response_code": int,
"email_response_message": string
}
```
## email_spam
Expand All @@ -150,7 +153,9 @@ Webhooks may trigger different [types of events](/managed-services/transactional
"name": string,
"value": string
}
]
],
"email_response_code": int,
"email_response_message": string
}
```
## email_deferred
Expand All @@ -175,7 +180,9 @@ Webhooks may trigger different [types of events](/managed-services/transactional
],
"email_error": string,
"email_next_try": date,
"email_try_count": integer
"email_try_count": integer,
"email_response_code": int,
"email_response_message": string
}
```