API keys settings
The API keys tab lists the keys that apps and websites use to read your content and, when allowed, change it. Only administrators can open it.
Keys list
The tab shows one row for each key. Morphic never shows a full key again after you create it.
| Column | What it shows |
|---|---|
| Name | The name you gave the key. |
| Key | The first 7 characters of the key, followed by "…", for example mk_3f9a…. |
| Can | Read & write (highlighted as a warning) when the key can create, edit and delete. Read only otherwise. Requests with a read only key cannot create, edit or delete, even for administrators. |
| Models | The model types the key can use, separated by commas. All when the key can use every model. |
| Last used | How long ago the key last made a request. Never when it has not been used. |
When no keys exist, the tab shows "No API keys yet" with the text "Create one for each app or site that reads your content."
Create a key
The New API key button sits at the bottom of the tab. It opens the New API key dialog, which has these controls:
| Control | What it does | Options | Default |
|---|---|---|---|
| Name | Labels the key so you know where it is used. Shows the placeholder "Website, Mobile app, Build server…". | Free text | Empty. A key saved with an empty name is named "API key". |
| Models | Limits the key to the selected model types. The dialog lists every model that stores entries, including settings pages. | Checkboxes, one for each model that stores entries | None ticked, which means every model |
| Can also create, edit and delete | Lets the key write content as well as read it. The hint says "Otherwise the key can only read." | On or off | Off (read only) |
The Create key button saves the key. The Cancel button closes the dialog without saving.
Delete a key
Each row has a Delete key button (trash icon). It opens a confirmation titled Delete [key name]? with the text "Apps using it stop working immediately." Its Delete key button deletes the key. Morphic then shows the toast Key deleted and removes the key from the list.