Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Zabbix Authentication API

User login and session management

Zabbix Authentication API is one of 10 APIs that Zabbix publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Authentication. 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.

2 operations 2 paths 4 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
7.0
Base URL
https://{host}/zabbix/api_jsonrpc.php
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

Zabbix Authentication 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.

Authentication 2

User login and session management

POST
/
User Login
user-login body → 200
POST
/user.logout
User Logout
user-logout body → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are JsonRpcRequest (5 properties), JsonRpcStringResponse (4 properties), JsonRpcBoolResponse (4 properties), JsonRpcError (3 properties). Each schema is shown below with its type and property counts.

JsonRpcBoolResponse
object
4 properties
JsonRpcError
object
3 properties
JsonRpcStringResponse
object
4 properties
JsonRpcRequest
object
5 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zabbix-authentication-api-openapi.yml Raw ↑

Other APIs Zabbix publishes across the network.

Zabbix Actions API
Zabbix Events API
Zabbix History API
Zabbix Host Groups API
Zabbix Hosts API
Zabbix Items API
Zabbix Problems API
Zabbix Triggers API
Zabbix Users API