Trigger a workflow execution and receive status updates via webhooks. This endpoint returns immediately with a 202 Accepted response. The actual workflow execution happens in the background.
Store the message ID
messageId in your database. You’ll need it to:Validate parameters before sending
Use environment variables for sensitive data
Request times out
Invalid workflow parameters
Webhook URL not accessible
Your Nen API key. Requests that include secure_workflow_params must additionally be HMAC-signed — see Secure Parameters.
Workflow run configuration
Unique identifier for the workflow to execute
"12345678-1234-1234-1234-123456789abc"
Parameters passed to your workflow's Params model. Must match the Pydantic shape the workflow declares.
{
"PATIENT_NAME": "Jane Doe",
"DATE_OF_BIRTH": "1990-01-15"
}Secret parameters passed to your workflow's SecureParams model. Requires HMAC-signed requests — see Secure Parameters. Rejected with 403 when sent using only x-api-key.
{ "password": "s3cret-passw0rd" }URL where status updates will be sent. When omitted, results are only available via the retrieval endpoint.
"https://your-domain.com/webhook"
Job accepted for processing