You can create an API key on your Settings > Options tab.
To support API, Zimbra Community allows you to create keys to authenticate users for web service calls without requiring you to provide your user name and password to authorized applications.
In Zimbra Community, any user can create an API key. However, only those users (typically administrators) who have the Site - Access web services permission will be able to use them for REST. Without that permission, a user receives an "Access denied" message.
API keys are generated per user. So before you generate a API key, make sure that you are logged in as the user who will be using the key:
Powered by Zimbra