feat: Add emailId field to webhook events for better correlation with send requests
Closes #344
This commit is contained in:
+16
-1
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user