v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Companies

Create a company

post/companies

Request body

namestring required

Name of company

attributesobject

Attributes for company creation

countryCodeinteger

Country code if phone_number is passed in attributes.

linkedContactsIdsinteger[]

Contact ids to be linked with company

linkedDealsIdsstring[]

Deal ids to be linked with company

Example request

{
  "name": "company",
  "attributes": {
    "domain": "https://example.com",
    "industry": "Fabric",
    "owner": "60e68d60582a3b006f524197"
  },
  "countryCode": 91,
  "linkedContactsIds": [
    1,
    2,
    3
  ],
  "linkedDealsIds": [
    "61a5ce58c5d4795761045990",
    "61a5ce58c5d4795761045991",
    "61a5ce58c5d4795761045992"
  ]
}

Response

Created new company

idstring required

Unique company id

Example response

{
  "id": "61a5cd07ca1347c82306ad06"
}