Skip to main content
POST
/
bulk
JavaScript
import Courier from '@trycourier/courier';

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

const response = await client.bulk.createJob({ message: { template: 'template' } });

console.log(response.jobId);
{
  "jobId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
message
object
required
  • InboundBulkMessage
  • InboundBulkMessage

Response

jobId
string
required