PUT
/
batch_dial_jobs
/
{id}
Update Batch Job
curl --request PUT \
  --url https://api.vogent.ai/api/batch_dial_jobs/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "maxConcurrentDials": 123,
  "fromPhoneNumberIds": [
    "<string>"
  ],
  "schedule": {
    "days": [
      {
        "dayOfWeek": 123,
        "timeSlots": [
          {
            "startTime": "<string>",
            "endTime": "<string>"
          }
        ]
      }
    ],
    "timezone": "<string>",
    "disableSchedule": true
  }
}'
{
  "id": "<string>",
  "maxConcurrentDials": 123,
  "name": "<string>",
  "status": "INIT",
  "fromPhoneNumberIds": [
    "<string>"
  ],
  "schedule": {
    "days": [
      {
        "dayOfWeek": 123,
        "timeSlots": [
          {
            "startTime": "<string>",
            "endTime": "<string>"
          }
        ]
      }
    ],
    "timezone": "<string>"
  },
  "callAgentId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string
required

ID of the batch dial job.

Body

application/json

Response

Successful operation

The response is of type object.