Skip to main content
POST
/
api
/
v1
/
account
/
search-lookalikes-bulk
/
{job_id}
/
cancel
Cancel job
curl -sS -X POST "https://api.openfunnel.dev/api/v1/account/search-lookalikes-bulk/JOB_ID/cancel" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "job_id": "d8a1bddb-44f1-4c7f-87a7-f37496354ff6",
  "status": "cancelling",
  "message": "Cancellation requested. Poll GET /api/v1/account/search-lookalikes-bulk/d8a1bddb-44f1-4c7f-87a7-f37496354ff6 for the final status and the companies processed before cancellation."
}

Headers

X-API-Key
string
required

Path Parameters

job_id
string
required

The job_id returned by the bulk submit endpoint.

Response

Cancellation accepted; the job is now cancelling.

Acknowledgement returned by the bulk-lookalike cancel endpoint. Cancellation is asynchronous - poll the GET endpoint for the final cancelled state and the companies processed before the cancel.

job_id
string
required
message
string
required

Next step: where to fetch the companies processed before the cancel.

status
string
default:cancelling

Always cancelling - the cancel request was accepted.