Triggers

List trigger presets

List the trigger presets available to the caller. A preset is a curated content-trigger template (e.g. a new Jira ticket) which is passed when creating a trigger.

get/api/trigger-presets

Query parameters

datasourcestring

Restrict results to presets for a single datasource (e.g. github).

page_sizeinteger

Maximum number of presets to return.

cursorstring

Opaque pagination cursor from a previous response.

Response

Successful response.

has_moreboolean required

Whether additional results are available.

next_cursorstring nullable required

Cursor for the next page, or null when no more results are available.

request_idstring required

Platform-generated request ID for support correlation.

Example response

{
  "results": [
    {
      "preset_id": "GITHUB_1",
      "datasource": "github",
      "display_name": "Review requested from me",
      "description": "A review is requested from the trigger creator on a pull request"
    }
  ]
}

Changes