cURL
curl --request POST \ --url https://api.example.com/external/v1/automations/webhooks/{public_id}/fire/
Trigger an automation via its webhook endpoint
POST /external/v1/automations/webhooks/{public_id}/fire/
public_id
curl -X POST "https://your-instance.firstwork.com/external/v1/automations/webhooks/a1b2c3d4-e5f6-7890-abcd-ef1234567890/fire/" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "event": "background_check_complete", "candidate_email": "john.doe@example.com", "result": "passed", "check_type": "criminal", "completed_at": "2025-01-20T15:00:00Z", "details": { "provider": "sterling", "case_id": "STR-12345" } }'
{ "status": "success", "data": { "execution_id": "exec-uuid-here", "automation": "Process Background Check Result", "status": "triggered" } }