Docs

Create API Key

Create a new API key for your company. Choose its permissions; each must be one the calling key holds and its creator still holds, so a key can never mint a stronger key. Without permissions or accessLevel, the new key gets the view permissions. The key itself appears only in this response, so store it right away; MindCloud keeps only a hash.

POST

Body

Arguments
stringrequired

A name that tells you later what the key is for, up to 256 characters.

array of string

The permissions the new key holds, for example ["workflow:view","log:view"]. Defaults to the view permissions.

string

Instead of permissions: read_only, run_workflows, or full_access, which give that level's permissions. Send one of permissions and accessLevel, not both.