API keys
An MCP client uses the same organisation API key as the REST API, so each key's permissions apply to both.
Creating a key
- In the console, go to Settings → API keys.
- Create a key, giving it only the permissions this client needs.
- Copy it and keep it in your password or secrets manager. It won't be shown again.
Sending the key
Send it with each request in the x-api-key header:
x-api-key: YOUR_ZLICX_API_KEYFor clients that can only send a bearer token, the server also accepts this form:
Authorization: Bearer YOUR_ZLICX_API_KEYA console login cookie won't work here.
Rotating a key
- Create a replacement with the same or fewer permissions.
- Update each client that uses the old key, and check that it still connects.
- Revoke the old key once they've all moved.

