Skip to main content
POST
/
api
/
v1
/
accounts
/
{account_id}
/
companies
/
{id}
/
merge
Merge companies
curl --request POST \
  --url https://connect.voxys.ai/api/v1/accounts/{account_id}/companies/{id}/merge \
  --header 'Content-Type: application/json' \
  --header 'api_access_token: <api-key>' \
  --data '
{
  "target_company_id": 15
}
'
{
  "id": 10,
  "name": "Acme Corp",
  "domain": "acme.com",
  "description": "Global leader in widgets.",
  "custom_attributes": {
    "industry": "Technology",
    "annual_revenue": 500000
  },
  "contacts_count": 5,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://developers.voxys.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api_access_token
string
header
required

API access token for authentication. Obtain from your Voxys Connect profile settings.

Path Parameters

account_id
integer
required

The numeric ID of the account.

id
integer
required

The ID of the source company (will be deleted after merge).

Body

application/json
target_company_id
integer
required

The ID of the company that will survive the merge. The source company will be deleted.

Example:

15

Response

Merge completed. Returns the surviving target company.

id
integer
Example:

10

name
string
Example:

"Acme Corp"

domain
string | null
Example:

"acme.com"

description
string | null
Example:

"Global leader in widgets."

custom_attributes
object

Flexible key-value map of custom attributes defined for the account.

Example:
{
"industry": "Technology",
"annual_revenue": 500000
}
contacts_count
integer
Example:

5

created_at
string<date-time>
updated_at
string<date-time>