Fill company types
Give companies with no company type one, writing only blanks: the segment of a prospect list (passed in as website and segment rows) for a company whose website is on it, else Electrical Contractor where the imported name or description calls the company an electrical contractor. Enrichment rules read the type to leave excluded types out. Companies named in skip stay untyped. Works a batch at a time: run it again until companiesLeft is 0. With preview it counts and samples what a run would write and writes nothing.
Required scopes: companies:write. Runs at once.
bearerAuthAuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
length <= 255The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/company.fill_types' \ -H 'Content-Type: application/json' \ -d '{ "input": {}}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Delete company POST
Delete a company for good (admins only). Refused while the company has quotes or invoices; merge it instead. Its contacts, deals and leads stay without it, and its other names go with it. Its notes, tasks and timeline stay, and its history can bring it back. Required scopes: companies:admin. Needs confirmation: with an API key, send "approved": true beside the input, or it answers 409 APPROVAL_REQUIRED.
Get company POST
A single company by id. Required scopes: companies:read. Read only.