Zabbix Host Groups API
Host group management
Zabbix Host Groups API is one of 10 APIs that Zabbix publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Host Groups. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, authentication docs, and a changelog.
This API exposes 2 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 7.0.
Requests are made against a single base URL, https://{host}/zabbix/api_jsonrpc.php.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Zabbix Host Groups API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as Authorization (ApiToken).
ApiToken— Zabbix API token obtained via user.login. Pass as "Bearer {token}" in the Authorization header (Zabbix 5.4+), or in the auth field of the JSON-RPC request body.
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.
Host group management
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are JsonRpcRequest (5 properties), JsonRpcIdsResponse (4 properties), JsonRpcArrayResponse (4 properties), JsonRpcError (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Zabbix 9
Other APIs Zabbix publishes across the network.