- Bulk update companies
You can bulk update companies by submitting an array of company objects with the fields to update. Each company must include an id field identifying the company to update by its Intercom company id. An unknown id fails that item and never creates a company.
Only the fields listed in the request schema below can be set. Any other fields in a company object are ignored.
The endpoint creates an async job that processes the updates in the background. Use the returned job ID with GET /companies/bulk/{id} to check the job status.
- Maximum of 100 companies per request.
- You can append tasks to an existing job by including
job.idin the request body.
Intercom API version.
By default, it's equal to the version set in the app package.
- The production API serverhttps://api.intercom.io/companies/bulk
- The european API serverhttps://api.eu.intercom.io/companies/bulk
- The australian API serverhttps://api.au.intercom.io/companies/bulk
- Successful
- Append to existing job
curl -i -X PUT \
https://api.intercom.io/companies/bulk \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: Preview' \
-d '{
"companies": [
{
"id": "531ee472cce572a6ec000006",
"name": "Acme Corp",
"plan": "Enterprise",
"size": 100,
"website": "https://www.example.com",
"industry": "Manufacturing",
"monthly_spend": 1000,
"remote_created_at": 1394531169,
"update_last_request_at": true,
"custom_attributes": {
"paid_subscriber": true,
"team_mates": 9
}
},
{
"id": "531ee472cce572a6ec000007",
"name": "Example Inc"
}
]
}'Accepted
The current state of the job.
The time the job was last updated as a UNIX timestamp.
The time the job completed as a UNIX timestamp. Null if not yet completed.
{ "id": "job_v2_1", "type": "companies.bulk.job", "state": "running", "created_at": 1713360000, "updated_at": 1713360060, "completed_at": null, "tasks": [ { … } ], "url": "https://api.intercom.io/companies/bulk/job_v2_1" }