Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
Bulk
Add users
Ingest user data into a Bulk Job
POST
/
bulk
/
{job_id}
Copy
Ask AI
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
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
Copy
Ask AI
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>"
}
}
]
}'
Assistant
Responses are generated using AI and may contain mistakes.