POST
/
batches
/
{batch_id}
/
schedule
curl --request POST \
  --url https://api.bolna.dev/batches/{batch_id}/schedule \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form scheduled_at=2024-06-04T22:40:00.000Z
{
  "message": "success",
  "state": "scheduled"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

batch_id
string
required

The ID of the batch

Body

multipart/form-data
scheduled_at
string
required

The scheduled date and time in ISO 8601 format with time zone

Example:

"2024-06-04T22:40:00.000Z"

Response

200
application/json
Successful response

The response is of type any.