feat: Add emailId field to webhook events for better correlation with send requests

Closes #344
This commit is contained in:
Dries Augustyns
2026-04-13 17:15:41 +02:00
parent 52cb2b6c77
commit ae64c2dbb5
4 changed files with 127 additions and 54 deletions
+16 -1
View File
@@ -471,7 +471,7 @@
},
"email": {
"type": "string",
"description": "Email record ID"
"description": "Plunk email record ID. Use this to correlate webhook events (which include this ID as 'emailId' in the event data) with your send requests."
}
}
}
@@ -483,6 +483,21 @@
}
}
}
},
"example": {
"success": true,
"data": {
"emails": [
{
"contact": {
"id": "cnt_abc123",
"email": "[email protected]"
},
"email": "ac32f08e-c6b9-45d3-9824-a73dff1e3bbf"
}
],
"timestamp": "2025-01-15T10:30:00.000Z"
}
}
}
}