Docs

Create Link Request

Ask an existing organization to become your child organization. Its Owners are emailed and accept or decline it; until then nothing changes.

POST

Headers

Optional headers
string

Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. Here a key acts in another organization only as one of its members: with "Use this key across all of your organizations" on, in an organization its creator belongs to with a role. Child organizations and MindCloud staff access do not reach this endpoint. Every response's X-Company-Id header names the organization it acted in. See Organizations.

Body

Arguments
stringrequired

The id of the organization to ask. Its Owner can find it in Organization Settings.

Response fields

idstring

Unique id of the link request.

directionstring

outgoing when your company sent it, incoming when another organization sent it to you.

  • incoming
  • outgoing
sidestring

The side your company takes if it is accepted: parent or child.

  • parent
  • child
parentCompanyIdstring

The organization that would become the parent.

parentCompanyNamestring

That organization's name.

childCompanyIdstring

The organization that would become the child.

childCompanyNamestring

That organization's name.

statusstring

pending (waiting for the receiving organization), accepted (the organizations are linked), declined, canceled (the sender withdrew it), or expired (not answered in time; send a new one).

  • pending
  • accepted
  • declined
  • canceled
  • expired
expiresOndate

When a pending request stops being answerable.

respondedOndate

When it was accepted, declined, or canceled.

createdOndate

When it was sent.