{
"id": "<string>",
"type": "click",
"created": "2023-11-07T05:31:56Z",
"data": {
"message_id": "<string>",
"from": "jsmith@example.com",
"to": "jsmith@example.com",
"subject": "<string>",
"sent_on": "2023-11-07T05:31:56Z",
"link": "<string>",
"clicked_on": "2023-11-07T05:31:56Z"
}
}Webhook Events
Link clicked
Sent when the recipient clicks a link in an email that has click_tracking enabled. Automated clicks by mail security scanners are filtered out.
Sent to the webhook URL configured in your dashboard for emails sent with Send Email. Every event is a POST with a JSON body, and all events share the same envelope: id, type, created and data. data.message_id matches the message_id returned by Send Email.
Retries: respond with any 2xx status within 10 seconds. Otherwise the event is retried 3 more times, after 1, 5 and 15 minutes. Events can occasionally arrive more than once or out of order, so use id to ignore duplicates. If an event is missed, Retrieve Sent Email returns the email’s current activity.
WEBHOOK
click
{
"id": "<string>",
"type": "click",
"created": "2023-11-07T05:31:56Z",
"data": {
"message_id": "<string>",
"from": "jsmith@example.com",
"to": "jsmith@example.com",
"subject": "<string>",
"sent_on": "2023-11-07T05:31:56Z",
"link": "<string>",
"clicked_on": "2023-11-07T05:31:56Z"
}
}Body
application/json
Response
200
Return any 2xx status to acknowledge the event.