List all events for a webhook subscription
Changed onπ
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.
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/webhooks/subscriptions/{subscriptionId}/events
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Path parameters
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 (canceled, delivered, failed, pending, sending).
{
"eq": "canceled"
}Headers
The version of the API.
Response
Returns one page of 250 webhook events.
Example response
[
{
"_id": "msg_1srOrx2ZWZBpBUvZwXKQmoEYga2r"
}
]Changes
- warning
added the new
canceledenum value to the/response property for the response status - info
added the enum value
canceledto the propertyeqof thequeryrequest parameterstatus
- warning