v1
latestOpenAPI 3.1.02026-07-141045121.7 KBSubscriptions
List all events for a webhook subscription
🔑
Required OAuth scope: webhooks:read.
📖
This endpoint is paginated with a page size of 250 webhook events. For more information, see the Pagination guide.
Lists all events for a given webhook subscription.
get/api/v2/webhooks/subscriptions/{subscriptionId}/events
Path parameters
subscriptionIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the webhook subscription.
Query parameters
Filter on createdAt property with LHS bracket notation.
Expected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.
{
"lt": "2020-01-01T10:30:26.000Z",
"gte": "2020-01-01T10:30:26.000Z"
}Filter on status property with LHS bracket notation.
Expected value format is a string (delivered, failed, pending, sending).
{
"eq": "delivered"
}Headers
360-api-version'v2.0' required
The version of the API.
Response
Returns one page of 250 webhook events.
Example response
[
{
"_id": "msg_1srOrx2ZWZBpBUvZwXKQmoEYga2r"
}
]