POST
/
api
/
orchestration
/
triggers
curl --request POST \
  --url http://localhost:55001/api/orchestration/triggers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "event": "<string>",
  "workflowID": "<string>",
  "filter": "<string>",
  "vars": {},
  "name": "<string>"
}'
{
  "data": {
    "event": "<string>",
    "workflowID": "<string>",
    "filter": "<string>",
    "vars": {},
    "name": "<string>",
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

201
application/json

Created trigger

The response is of type object.