Skip to main content
POST
/
workflows
/
sync
/
{workflowId}
Execute a synchronous workflow
curl --request POST \
  --url https://api.altostrat.io/workflows/sync/{workflowId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "resource_id": "res_abc123"
}
'
{}

Authorizations

Authorization
string
header
required

Standard JWT for user sessions obtained via Altostrat authentication.

Path Parameters

workflowId
string
required

The prefixed ID of the workflow (e.g., fl_...).

Body

application/json

The JSON payload for the synchronous request. This will be available to the workflow under payload.

The body is of type object.

Response

The workflow executed successfully and returned a response. The schema of the response is determined by the final node in the workflow.

The response is of type object.