Docs

Get API Key

See one API key: what it may do, when it was last used, and whether it was revoked. Key material is never returned.

GET

Path

Path parameters
stringrequired

The key's id, from List API Keys.

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.

Response fields

idstring

Unique id of the key.

namestring

The name the key was created with.

companyIdstring

The organization the key belongs to. A key with isAllOrganizations is listed in every organization its creator opens, so it may belong to another one.

isAllOrganizationsboolean

"Use this key across all of your organizations": the key can act, through X-Company-Id, in every organization its creator can open in the app, with no more than the creator may do there.

accessLevelstring

A summary of the key permissions: full_access, run_workflows, read_only, or none. Derived from permissions; it is never set directly.

  • read_only
  • run_workflows
  • full_access
  • none
permissionsarray of string

The permissions the key holds. A request may use one only while the key's creator also holds it.

usedOndate

The last time the key was used. Old dates are rotation candidates.

revokedOndate

When the key was revoked. Empty while it is active.

createdOndate

When the key was created.

createdBystring

Who created it.

updatedOndate

When it was last changed.