Loading...
Skip to main content

Run a job

Run a Bulk Job

URL: https://api.courier.com/bulk/:job_id/run

Method: POST

Path Parameters

job_idstringrequired
A unique identifier representing the bulk job

Responses

status: 202 ACCEPTED

status: 400 Bad Request

messagestring
A message describing the error that occurred.
typestring
[invalid_request_error] The type of error that occurred.

Request Example

curl --request POST \
--url https://api.courier.com/bulk/1-61e9dd53-b5bb6c863b7ffbe83ad4b28d/run \
--header 'Accept: application/json'

Responses Example

Empty
{
"message": "Error Message",
"type": "invalid_request_error"
}

Example

Method: POST

URL: https://api.courier.com/bulk/1-61e9dd53-b5bb6c863b7ffbe83ad4b28d/run