List
projects.webhook_endpoints.events.list(strwebhook_endpoint_id, EventListParams**kwargs) -> EventListResponse
GET/projects/{projectId}/webhook-endpoints/{webhookEndpointId}/events
List the project’s webhook events
List
import os
from scenario_sdk import Scenario
client = Scenario(
api_key=os.environ.get("SCENARIO_SDK_API_KEY"), # This is the default and can be omitted
api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"), # This is the default and can be omitted
)
events = client.projects.webhook_endpoints.events.list(
webhook_endpoint_id="webhookEndpointId",
project_id="projectId",
)
print(events.items){
"items": [
{
"id": "id",
"endpointId": "endpointId",
"status": "created",
"type": "*",
"updatedAt": "updatedAt"
}
],
"nextPaginationToken": "nextPaginationToken"
}Returns Examples
{
"items": [
{
"id": "id",
"endpointId": "endpointId",
"status": "created",
"type": "*",
"updatedAt": "updatedAt"
}
],
"nextPaginationToken": "nextPaginationToken"
}