Initiate a board-level external event
POST /io/board/:boardId/automation/externalevent
External events allow you to execute automations based on something happening outside of your board. For a board-level external event, the criteria on the automation is used to identify matching cards (this is similar to how scheduled automations run) and the automation is run for each matching card (up to 1000). Board-level external events are subject to more aggressive rate limiting, as they can result in creating significant activity. This limit is set to 5 per event in 5 minutes.
If using GitHub Actions, AgilePlace has a standard action to initiate a board-level external event. Please see: https://github.com/LeanKit/github-actions?tab=readme-ov-file#initiate-board-event along with https://github.com/LeanKit/github-actions?tab=readme-ov-file#extract-card-id.
Example Request
curl -X POST \ https://myaccount.leankit.com/io/board/1234/automation/externalevent \ -H 'Authorization: Basic base64encodedauthhere' \ --data `{ "eventName": "release-created" }`
Example Successful Response
202 Accepted