companies

Merge companies

Manual duplicate resolution: move the source company's leads onto the target and union the source's table membership into the target, one transaction. The source row is not deleted: it stays; delete_company removes it when ready. Not gated on the duplicate flag. Re-running moves zero people; merging a row into itself is 422. When NOT: naming the real row without moving anything (make_company_primary); a per-table removal (detach_company_playtable).

Contract:

  • MCP tool merge_companies, registry package mcp.playtables/companies, mount playtables.people.
  • Operation action, response envelope action.
  • Flags: none.
post/api/companies/{sid}/merge

Request

  • Base URL
    https://beta.getsales.io/playtables/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

The SOURCE (usually the flagged duplicate) - drained, never deleted.

Request body

into_sidstring required

The TARGET (the primary account) that receives the leads and the membership.

Response

action success envelope.

successtrue required
operation'action' required
actionstring required

kebab-case verb; matches the route segment.

Changes

No recorded changes to this operation across all 1 revision of this API.