Trigger a saved workflow by ID, optionally providing a free-form payload string.
The payload is interpreted by Altrina and mapped into the workflow’s declared input parameters. If the workflow has no input parameters, you can omit the payload or send an empty body.
The response includes a job_id you can poll with /v1/get_job_status/{job_id} using the same API key.
Authenticate with either an Altrina API key or a Supabase session token in the Authorization: Bearer header.
API key for authentication. Get your API key at https://app.altrina.com/settings
The workflow ID to trigger The workflow ID to trigger. Find this in the Studio URL (e.g. app.altrina.com/gallery/studio/{workflow_id}) or pre-filled in the webhook trigger modal.
Request body for triggering a workflow. The payload field is optional.
Free-form text that Altrina maps into the workflow's input parameters. Omit for workflows with no inputs.
Workflow triggered successfully
Response returned when a workflow is successfully triggered.
Always 'success' when the workflow is enqueued
Unique job identifier. Use this to poll /v1/get_job_status/{job_id}
The authenticated user who triggered the workflow
The workflow that was triggered
Conversation identifier for this workflow run