Skip to main content
GET
/
bulk
/
{job_id}
JavaScript
import Courier from '@trycourier/courier';

const client = new Courier({
  apiKey: 'My API Key',
});

const response = await client.bulk.retrieveJob('job_id');

console.log(response.job);
{
  "job": {
    "definition": {
      "template": "<string>",
      "brand": "<string>",
      "data": {},
      "event": "<string>",
      "locale": {},
      "override": {}
    },
    "enqueued": 123,
    "failures": 123,
    "received": 123,
    "status": "CREATED"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

job_id
string
required

A unique identifier representing the bulk job

Response

job
object
required