Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
A unique identifier representing the bulk job
Body
application/json
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>"
}
}
]
}'Ingest user data into a Bulk Job
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>"
}
}
]
}'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A unique identifier representing the bulk job
Show child attributes