Skip to main content
Make workspace companies of a connection's companies

Authorizations

Authorization
string
header
required

Personal API key sent as a bearer token, together with X-Organization-Id. The key must have at least the access level the endpoint requires (read, write or admin).

Headers

X-Organization-Id
string

The organization to act in. Required for personal API keys; list the organizations you can access with GET /v1/organizations.

Path Parameters

id
string<uuid>
required

Body

application/json
ids
string<uuid>[]
required

The connection's companies (ConnectionCompany id) to make workspace companies of.

Required array length: 1 - 50 elements

Response

The companies with their links, and the workspace companies made.

data
object[]
required

The connection's companies that were asked for, each with its link.

created_company_ids
string<uuid>[]
required

The workspace companies made. A company whose number the workspace already had was linked to that company instead.