Events
Cancel what an event set off
POST/v1/events/{id}/cancel
Requires an API key with the events:write scope. About keys and scopes
Ends the journey runs this event started that are still going, so a message waiting on a delay is never sent: track Cart Abandoned, then cancel it when the order arrives. A message already handed to the provider is not recalled, and the event stays in the contact's history. Cancelling twice ends nothing more. Runs end with the exit reason cancelled.
Path parameters
idstringrequireduuid
Returns
Returns 200 OK with a CancelledEvent in data. Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
cancelledRunsintegerrequiredJourney runs this event started that were still going, now ended.
min 0 · max 9007199254740991