POST
/
bulk
/
{job_id}
curl --request POST \
  --url https://api.courier.com/bulk/{job_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "users": [
    {
      "preferences": {
        "categories": {},
        "notifications": {}
      },
      "profile": "<any>",
      "recipient": "<string>",
      "data": "<any>",
      "to": {
        "account_id": "<string>",
        "context": {
          "tenant_id": "<string>"
        },
        "data": {},
        "email": "<string>",
        "locale": "<string>",
        "user_id": "<string>",
        "phone_number": "<string>",
        "preferences": {
          "categories": {},
          "notifications": {},
          "templateId": "<string>"
        },
        "tenant_id": "<string>"
      }
    }
  ]
}'

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

Body

application/json
users
object[]
required