curl --request POST \
--url https://pub-api.conversion.ai/api/v2/workflows/{workflowId}/trigger \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"email": "jane@example.com",
"data": {
"form_id": "contact_us",
"page_url": "https://example.com/pricing",
"message": "Interested in enterprise plan"
}
}
'{
"data": {
"triggered": true
}
}Workflows
Trigger Workflow
Trigger an API-triggered workflow for a specific contact.
POST
/
v2
/
workflows
/
{workflowId}
/
trigger
curl --request POST \
--url https://pub-api.conversion.ai/api/v2/workflows/{workflowId}/trigger \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"email": "jane@example.com",
"data": {
"form_id": "contact_us",
"page_url": "https://example.com/pricing",
"message": "Interested in enterprise plan"
}
}
'{
"data": {
"triggered": true
}
}Authorizations
apiKeyapiKeyQuery
Body
application/json
Was this page helpful?