View Categories

21.4 API Response

New event: HTTP 202 Accepted

{
  "ok": true,
  "isDuplicate": false,
  "eventId": "8c1d…",
  "externalIntegrationConnectionId": "41fa…",
  "providerType": "my-app",
  "eventType": "trial_ending",
  "resolvedContactId": "b7e2…",
  "triggeredWorkflowCount": 1,
  "workflowDispatchStatus": "triggered",
  "workflowDispatchMessage": "…",
  "message": "…"
}

eventType comes back in its stored form (lowercase, with underscores). resolvedContactId is empty when the event has no customer details.

Duplicate event: HTTP 200 OK

{
  "ok": true,
  "isDuplicate": true,
  "eventId": "8c1d…",
  "externalIntegrationConnectionId": "41fa…",
  "providerType": "my-app",
  "eventType": "trial_ending",
  "resolvedContactId": "b7e2…",
  "message": "…"
}

A duplicate starts no workflow, so its response has no workflowDispatchStatus.

Rejected request:

{
  "ok": false,
  "errorCode": "signature_invalid",
  "error": "The supplied signature does not match the request body."
}

Rejections for plan, subscription or invalid JSON carry only ok and error. The HTTP status and error codes are listed in Integrations API errors.

Dispatch status values:

StatusMeaning
triggeredWorkflow was started
no_matching_workflowsNo active workflows match this event
feature_disabledAutomation feature not in your plan
rate_limitedAutomation rate limit hit for this period
dispatch_failedWorkflow dispatch encountered an error

If you receive this response -> do this next #

Response PatternDo this next
isDuplicate = false, workflowDispatchStatus = triggeredCheck workflow execution history for the resulting run
isDuplicate = trueSend a new logical event with a new event ID
workflowDispatchStatus = no_matching_workflowsCreate or activate a matching workflow
workflowDispatchStatus = feature_disabledUpgrade plan or stop expecting automation from this event
workflowDispatchStatus = rate_limitedRetry after the rate-limit window resets
workflowDispatchStatus = dispatch_failedOpen workflow execution history and inspect the failed step
Scroll to Top