Skip to main content
DELETE
Cancel a Twitter extraction job with the Xquik API

Cancel one extraction job

Send DELETE /extractions/{id} to stop a pending or running job. The job ends as canceled. It saves no rows & uses no credits. A repeat request on a canceled job answers 200, so a retry is safe. Use the job ID from Create Extraction or List Extractions. An API key needs the exports scope for this route.

Know when a job can stop

Only a pending or running job can stop. A finished job answers 409 with its status. Its rows stay as they were. To keep the rows a job already found, let it finish. Then read them through Extraction results.

Headers

string
Your Xquik API key. Generate one from the dashboard.
string
An OAuth bearer token formatted as Bearer YOUR_TOKEN. Send this header or x-api-key, not both.

Path parameters

string
required
Extraction job ID returned from Create Extraction or List Extractions.

Response

Xquik stopped the job. It saved no rows.
Related. Create Extraction starts a new job, and List Extractions shows each job’s status.