cURL
curl --request POST \ --url https://api.getpg.ai/v1/workflows/trigger \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "workflow_id": "<string>", "company_id": "<string>", "contact_id": "<string>", "parameters": {} } '
{}
Trigger execution of a workflow. Returns immediately with an execution ID that can be polled for status.
Your API key for authentication. Get your API key from the PGAI dashboard.
UUID of the workflow to trigger
UUID of the target company
UUID of the target contact
Additional workflow parameters
Workflow triggered - execution started
Response data