Cancel a job

POSThttps://api-staging.talksign.co/v1/jobs/{id}/cancel

Cancels a queued or processing job and refunds its reservation in full. Free.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where the token is your API key (sk-live-… or sk-test-…).

Request body

Path parameters.

idstringRequired

The job_… id.

Response

Returns the job with status: canceled.

Errors

StatusNameWhen
401UnauthorizedThe API key is missing or not valid (invalid_api_key).
404Not foundNo such resource on your account.
409ConflictThe job already finished (job_not_cancelable).

Example request

curl -X POST https://api-staging.talksign.co/v1/jobs/job_8c1d2e3f4a5b6c7d8e9f0a1b/cancel \
  -H "Authorization: Bearer $TALKSIGN_API_KEY"

Example response

200
Response
{
  "id": "job_8c1d2e3f4a5b6c7d8e9f0a1b",
  "object": "job",
  "type": "sign_video",
  "status": "canceled"
}

Read more in the full reference: Jobs and uploads.

Was this page helpful?
Esc