---
title: "Merge companies"
method: POST
path: "/api/v1/new_companies/merge"
tags: ["Companies"]
---

# Merge companies

`POST /api/v1/new_companies/merge`

## Request

- Base URL: `https://api.flexiple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flexiple.com/api/v1/new_companies/merge`
- Auth: HTTP bearer

## Request body

- object
  - `destination_id` integer, required
  - `source_ids` integer[], required

## Response `200`

Companies merged successfully

- object
  - `data` NewCompanyWithDetail, required
    - `id` integer, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `name` string, required
    - `primary_domain` string, nullable, required
    - `description` string, nullable, required
    - `slug` string, required
    - `website` string, required
    - `logo_url` string
    - `location` Location
      - `id` integer, required
      - `osm_id` integer, nullable, required
      - `osm_type` string, nullable, required
      - `city` string, nullable, required
      - `state` string, nullable, required
      - `country` string, nullable, required
      - `country_code` string, nullable, required
      - `formatted` string, required
      - `location_type` 'country' | 'state' | 'city', required
    - `industries` string[], required
    - `company_types` string[], required
    - `business_models` string[], required
    - `about` string
    - `team_members` object[], required
      - `name` string, required
      - `designation` string, required
      - `linkedin_url` string, nullable
    - `one_liner` string
    - `other_info` string
    - `team_size` string
    - `client_account_id` integer
    - `investors` string[], required
    - `funding_rounds_list` object[], required
      - `date` string, nullable
      - `type` string, nullable
      - `amount` number, nullable
      - `currency` string, nullable
      - `investors` string[], required
  - `meta` object, nullable

## Other responses

- `400`: Invalid parameters
- `401`: Unauthorized
- `403`: Forbidden - Requires admin user
- `404`: Company not found
- `422`: Cannot merge company with itself

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
