POST
/
flows
/
{flow_id}
/
trigger
curl --request POST \
  --url https://keyflow-backend-62hevvkvea-uc.a.run.app/api/flows/{flow_id}/trigger \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": {
    "sender_email": "someone@example.com",
    "email_subject": "Test Email Subject",
    "email_body": "Test Body"
  }
}'
{
  "run_link": "https://www.keyflow.space/flows/builder?runId=xxxxxxx",
  "run_id": 1
}

Body

application/json
inputs
object
required

The inputs are dependent on the workflow. They should be passed as a JSON object.

Response

201
application/json
Successful operation

URL of run

run_id
string

The ID of the run that was triggered.