cURL
curl --request POST \ --url https://flowra.dev/api/v1/trigger_instances/{slug}/upsert \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "connectedAccountId": "con_123456", "triggerConfig": { "webhook_url": "https://myapp.com/webhook", "events": [ "message.created", "message.updated" ], "filters": { "channel": "#general" } } } '
{ "success": true, "message": "Operation completed successfully", "data": {} }
Create or update a trigger (e.g. cron schedule or webhook) that runs a workflow automatically. Use the trigger slug to identify the trigger type; pass configuration such as schedule or webhook URL.
Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:
Show child attributes
Operation completed successfully
Was this page helpful?