Merge companies
Merge two duplicate companies: everything on the loser (contacts, deals, quotes, invoices, activities, associations) moves to the winner, the winner keeps its values and fills its blanks from the loser, and the loser is archived, never deleted.
Required scopes: companies:write. Needs confirmation: with an API key, send "approved": true beside the input, or it answers 409 APPROVAL_REQUIRED.
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 <= 255approved?booleanConfirms an action that needs approval (sending, deleting and the like).
The 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.merge' \ -H 'Content-Type: application/json' \ -d '{ "input": { "winnerId": "string", "loserId": "string" }}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
List companies POST
Paginated, filtered list of companies for the Prospector and list views. Required scopes: companies:read. Read only.
Company summary POST
A company's record summary: people, deals open and won, the latest quote, invoices issued and owed, files, and its last activity. Required scopes: companies:read. Read only.