Make an API key
make_an_api_keyMake an API key for an agent with no person behind it, with only the scopes it needs. The secret is answered once and kept nowhere. A scope whose write only an admin grants (activities:write, settings:write, tommos:write) needs an admin or the owner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | What the key is for, as the owner will read it in Settings | |
| scopes | Yes | The scopes; a write scope includes its read | |
| expires_in_days | No | Days until it stops working; leave out for a key that does not expire |