Skip to main content
POST
/
workflows
/
trigger
Trigger a workflow
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": {}
}
'
{}

Authorizations

X-Api-Key
string
header
required

Your API key for authentication. Get your API key from the PGAI dashboard.

Body

application/json
workflow_id
string
required

UUID of the workflow to trigger

company_id
string

UUID of the target company

contact_id
string

UUID of the target contact

parameters
object

Additional workflow parameters

Response

Workflow triggered - execution started

Response data