#Reschedule bulk messaging job

Reschedule a bulk messaging job.

#Method

PUT

#Path

/messages/bulk/[job_id]

#Path parameter

NameValueRequired?
job_idID of the scheduled jobYes

#Body parameters

NameValueData typeRequired?
scheduleISO 8601 date & time (e.g., "2006-01-02T15:04:05-04:00"). If the value is in the past, messages will be sent immediately.StringNo

#Response

#HTTP status codes

CodeRemarks
200Request was successful.
400Validation error or request body was incorrectly formatted.
401Authentication failed. Check apikey header.
404Requested API endpoint not found.
429The rate limit has been reached.
500-511There was a problem processing the request on our server. Try again later.

#Response object

NameValueRemarks
statussuccess or error-
errorsArray of object { msg: [error detail] }Only present when status is error.
dataObject { job_id: [bulk messaging job id] }Only present when status is success.

#Code sample

curl --location --request POST 'https://api.sociocs.com/messages/bulk/Xyz12345' \ --header 'apikey: your_api_key' \ --header 'Content-Type: application/json' \ --data-raw '{ "schedule: "2023-12-25T11:00:00-04:00" }'