API keys
Secret keys for your server, one set per environment.
| Prefix | Sees |
|---|---|
mk_test_ | Test: your test users and templates. Runs on localhost and your staging domains |
mk_live_ | Live: your real users, on your production domains |
A key works only in its own environment. Older mk_dev_, mk_staging_ and mk_sandbox_ keys work as Test keys.
Send the key as a bearer token:
curl https://api.muzekit.com/v1/workspace \
-H "Authorization: Bearer mk_test_…"- Keys are secrets. Keep them on your server, never in a browser or a mobile app.
- A new key is shown in full once. The owner can reveal and revoke any key later, and an admin the keys they created; for other keys, admins see the name, who made it, when it was last used and its first and last four characters. Designers and reviewers don't see keys.
- Creating a Live key emails the owner and admins.
- Revoking a key stops it at once.