Buni.aiDocs
API referenceFlows

List polling triggers

Returns the polling triggers registered for the project, or one of them when you pass pollKey. Requires the flow:trigger scope.

GET/flows/{projectId}/polling

Returns the polling triggers registered for the project, or one of them when you pass pollKey. Requires the flow:trigger scope.

Authorization

AuthorizationBearer <token>

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

projectId*string

The project ID. The token must belong to this project.

Query Parameters

pollKey?string

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"    }  ]}