Overview
ZEM provides an API that can be used for various operations. It is available at the same
URL as the application itself, but with the /api path prefix. For example, the URL to
add a new device in the production environment would be https://app.zem.com/api/device.
API access
Roles required to perform operations via the web interface also apply to the API. For example, to add a
new group, the API user must have both the public_api
and the manage_groups roles.
The permissions required to perform these actions can be found on the individual network device pages.
Headers (authentication)
Authorization: Bearer your-api-key-here
The API key must be prefixed with "Bearer " in the Authorization header.
See Authentication for more information on creating and using an API key.
See Interactive spec for all available endpoints.