Home//
REST API Reference
/- Bulk delete companies
Create or Update a company
Retrieve companies
Retrieve a company by ID
Update a company
Delete a company
List attached contacts
List attached segments for companies
List all company notes
Create a company note
Search companies
List all companies
Scroll over all companies
Attach a Contact to a Company
List attached companies for contact
Detach a contact from a company
Bulk create or update companies
Bulk update companies
Get a bulk companies job
Companies Bulk Job
Company
Bulk delete companies
You can bulk delete companies by submitting an array of companies, each identified by its Intercom company id. Deleting a company detaches all of its associated contacts but keeps the company record itself — the same archival behaviour as the single Delete a company endpoint.
The endpoint creates an async job that processes the deletes in the background. Use the returned job ID with GET /companies/bulk/{id} to check the job status.
Limits
- Maximum of 100 companies per request.
- You can append tasks to an existing job by including
job.idin the request body.
Security
bearerAuth
Intercom-Versionstring(intercom_version)
Intercom API version.
By default, it's equal to the version set in the app package.
Default:"Preview"
Enum:"1.0""1.1""1.2""1.3""1.4""2.0""2.1""2.2""2.3""2.4"
Example:Preview
- The production API serverhttps://api.intercom.io/companies/bulk/delete
- The european API serverhttps://api.eu.intercom.io/companies/bulk/delete
- The australian API serverhttps://api.au.intercom.io/companies/bulk/delete
- Successful
- Append to existing job
curl -i -X POST \
https://api.intercom.io/companies/bulk/delete \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: Preview' \
-d '{
"companies": [
{
"id": "531ee472cce572a6ec000006"
},
{
"id": "531ee472cce572a6ec000007"
}
]
}'Accepted
The current state of the job.
Enum:"pending""running""completed""completed_with_errors"
Example:"running"
The time the job was last updated as a UNIX timestamp.
Example:1713360060
The time the job completed as a UNIX timestamp. Null if not yet completed.
Example:1713360120
Response
{ "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" }