List polling triggers
Returns the polling triggers registered for the project, or one of them when you pass pollKey. Requires the flow:trigger scope.
/flows/{projectId}/pollingReturns the polling triggers registered for the project, or one of them when you pass
pollKey. Requires the flow:trigger scope.
Authorization: Bearer bai_ext_.... Tokens belong to one project and carry scopes:
bot:invoke, flow:trigger, automation:trigger.
In: header
Scope: flow:trigger
Path Parameters
The project ID. The token must belong to this project.
Query Parameters
Return only the polling trigger with this key.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/flows/string/polling"{ "data": [ { "id": "clxa01p0q0001ab12cd34ef70", "source": "crm", "pollKey": "new-leads", "dedupeField": "id", "pollEndpoint": "https://crm.example.com/api/leads?status=new", "intervalMs": 300000, "lastSeenValue": "lead_9921", "lastPolledAt": "2026-09-24T09:55:00.000Z", "nextPollAt": "2026-09-24T10:00:00.000Z", "createdAt": "2026-09-20T12:00:00.000Z", "updatedAt": "2026-09-24T09:55:00.000Z" } ]}List dead-letter events GET
Lists events that could not be delivered to the project's runtime after all retry attempts, newest first, including failed polling cycles and polled items.
Register a polling trigger POST
Registers (or updates, when the pollKey already exists) a polling trigger. Buni.ai calls pollEndpoint with GET every intervalMs, starting straight away.