Skip to main content
PATCH
/
org
/
{org_id}
/
batches
/
{batch_id}
Update batch status
curl --request PATCH \
  --url https://v2-nova-api.prod.czmx.in/org/{org_id}/batches/{batch_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "PENDING"
}
'
{
  "created_at": "<string>",
  "created_by": "<string>",
  "id": "<string>",
  "name": "<string>",
  "organization_id": "<string>",
  "scheduled_at": "<string>",
  "source_type": "<string>",
  "stats": {
    "cancelled_count": 123,
    "failed_count": 123,
    "finished_count": 123,
    "in_progress_count": 123,
    "paused_count": 123,
    "pending_count": 123,
    "total_count": 123
  },
  "status": "<string>",
  "total_prospects": 123,
  "updated_at": "<string>",
  "workflow_id": "<string>",
  "workflow_version_id": "<string>",
  "workflow_version_number": 123
}

Path Parameters

org_id
string
required

Organization ID

batch_id
string
required

Batch ID

Body

application/json

Status update

status
enum<string>
required
Available options:
PENDING,
PAUSED,
CANCELLED

Response

OK

created_at
string
created_by
string
id
string
name
string
organization_id
string
scheduled_at
string
source_type
string
stats
object
status
string
total_prospects
integer
updated_at
string
workflow_id
string
workflow_version_id
string
workflow_version_number
integer