Skip to main content
POST
Create or update trigger

Authorizations

x-api-key
string
header
required

Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:

Headers

x-username
string
default:(project default user)

External user (end user) to act as. Optional — if omitted, Flowra uses the project’s default external user. Send a stable username (e.g. customer_alice) only when you need another end-user context.

Path Parameters

slug
string
required

Body

application/json
connectedAccountId
string<uuid>
required

ID of the connected account to use for the trigger

Example:

"550e8400-e29b-41d4-a716-446655440000"

triggerConfig
object

Configuration for the trigger instance

Example:

Response

200 - application/json

Operation completed successfully

success
boolean
required

Success status

Example:

true

message
string
required

Success message

Example:

"Operation completed successfully"

data
object
required
Example: