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

Documentation Index

Fetch the complete documentation index at: https://docs.formance.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
event
string
required
workflowID
string
required
version
string
filter
string
vars
object
name
string

Response

Created trigger

data
object
required