Skip to main content
POST
Cancel Batch

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain your API key from the Dialgen API Keys dashboard at https://sa.dialgen.ai/api-keys

Query Parameters

batchId
string
required

The ID of the batch to cancel

Example:

"batch_123..."

Response

Batch cancelled successfully

success
boolean
batchId
string
status
string
cancelledJobs
number
message
string