Flito docs
Company

Fill company types

POST
/api/cap/company.fill_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.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key (flito_pat_…) from Settings, API & AI connections.

Request Body

application/json
  1. body
input*
idempotencyKey?string

Send the same key to retry safely: the second call returns the first result.

Lengthlength <= 255

Response Body

The capability ran.

application/json
  1. response
result*unknown

The capability’s output.

commitId?|

The config commit, for versioned records.

eventId?string|null
idempotentReplay?boolean

True when this answer is a replay of an earlier call.

Example Request
curl -X POST 'https://crm.yourcompany.com/api/cap/company.fill_types' \  -H 'Content-Type: application/json' \  -d '{  "input": {}}'
Example Response
{  "result": null,  "commitId": "string",  "eventId": "string",  "idempotentReplay": true}

Was this page useful?