Docs

Who Am I?

Check which API key you are calling with, which company your requests will read from, and which MindCloud capabilities that company has enabled.

GET

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. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.

Response fields

apiKey.idstring

The calling key's id.

apiKey.namestring

The calling key's name.

apiKey.companyIdstring

The company the key belongs to.

apiKey.accessLevelstring

The calling key's access level.

apiKey.isAdminboolean

Reserved for MindCloud platform keys; false for customer keys.

apiKey.permissionsarray of string

The permissions the key holds.

apiKey.effectivePermissionsarray of string

The permissions this request may use: those the key holds that its creator also holds right now, in the company it acts on. Empty when the creator's account was removed or they left the organization.

companyIdstring

The company your requests will read from.

company.idstring

The company your requests will read from.

company.namestring

That company's name.

company.embedded.isEnabledboolean

True when MindCloud Embedded is enabled for the company, so end users can connect their own accounts.

company.parent.idstring

The id of that company's parent organization, or null when it has none. The parent's keys can act in this company.

company.parent.namestring

The parent organization's name.

company.parent.originstring

created or linked: how the company became a child.

company.parent.linkedOndate

When the link started.

delegation.parentCompanyIdstring

Set when this key belongs to a parent and X-Company-Id named one of its children: the key's company. Otherwise delegation is null.

delegation.childCompanyIdstring

The child organization this request acts on.