Cancel scheduled outbound activities
Orders API
Cancel Search Activities
Cancel all pending or scheduled outbound activities for a search
POST
Cancel scheduled outbound activities
Cancel Search Activities
Cancels all pending/scheduled outbound activities (email, voice, fax) for a search — pending outbound jobs, scheduled contact attempts, and existing activity records are cancelled or marked cancelled. Identify the search by internalsearchId or externalSearchId, and optionally restrict cancellation to a single contactDestination.
Request
Internal search identifier (UUID). Provide exactly one of
searchId or externalSearchId.External search identifier. Provide exactly one of
searchId or externalSearchId.Optional. Only cancel activities directed at this specific contact destination (email address or phone number). When omitted, all pending activities for the search are cancelled. When provided, it cannot be empty or whitespace-only.
Response
Whether cancellation succeeded.
Resolved internal search identifier. On failure paths this may instead echo the
searchId or externalSearchId you sent, before resolution.External search identifier for the resolved search. Present on success and on some failure paths; may be
null.Total number of pending outbound jobs and scheduled contact attempts cancelled. Present only on success.
Number of existing activity records marked as cancelled. Present only on success.
Human-readable summary of what was cancelled. Present only on success.
Reason cancellation did not succeed. Present only when
success is false.Failures such as “search not found” are represented in the response body with
success: false and HTTP 200 — they are not surfaced as 404. Only request validation failures (missing/duplicate identifiers, blank contactDestination) return a 400.Example Request
Example Response
Error Responses
Use Cases
- Stop outreach after resolution outside the system: Cancel remaining scheduled attempts once a search is resolved through another channel.
- Contact-specific suppression: Cancel only the activities targeting a contact who has asked not to be contacted further, via
contactDestination.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The internal search ID (UUID) to cancel activities for
Example:
"123e4567-e89b-12d3-a456-426614174000"
The external search ID (client reference ID) to cancel activities for
Example:
"12345678"
Optional: Only cancel activities to this specific contact destination (email/phone)
Example:
"contact@example.com"
Response
201 - application/json
The response is of type object.