GET
/
bulk
/
{job_id}
curl --request GET \
  --url https://api.courier.com/bulk/{job_id} \
  --header 'Authorization: Bearer <token>'
{
  "job": {
    "definition": {
      "brand": "<string>",
      "data": {},
      "event": "<string>",
      "locale": {},
      "override": "<any>",
      "message": {
        "data": {},
        "brand_id": "<string>",
        "channels": {},
        "context": {
          "tenant_id": "<string>"
        },
        "metadata": {
          "event": "<string>",
          "tags": [
            "<string>"
          ],
          "utm": {
            "source": "<string>",
            "medium": "<string>",
            "campaign": "<string>",
            "term": "<string>",
            "content": "<string>"
          },
          "trace_id": "<string>"
        },
        "preferences": {
          "subscription_topic_id": "<string>"
        },
        "providers": {},
        "routing": {
          "method": "all",
          "channels": [
            {
              "channel": "<string>",
              "config": {},
              "method": "all",
              "providers": {},
              "if": "<string>"
            }
          ]
        },
        "timeout": {
          "provider": {},
          "channel": {},
          "message": 123,
          "escalation": 123,
          "criteria": "no-escalation"
        },
        "delay": {
          "duration": 123,
          "until": "<string>"
        },
        "expiry": {
          "expires_at": "<string>",
          "expires_in": "<string>"
        },
        "template": "<string>"
      }
    },
    "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

200
application/json
job
object
required