ServicesTasksHTTP APITriggers

Test trigger

POST
/api/tasks/projects/{project_id}/task-triggers/{trigger_id}/test

Test trigger.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

project_id*string
trigger_id*string
Formatuuid

Request Body

application/json
  1. body
eventId?|null

Response Body

Success

application/json
  1. response
eventId*string
Formatuuid
matches*boolean
curl -X POST 'https://api.spiraldb.dev/api/tasks/projects/string/task-triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08/test' \  -H 'Content-Type: application/json' \  -d '{}'
{  "eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c",  "matches": true}