API Reference

The SentinelOS REST API allows you to automate firewall configuration, network routing, and system operations programmatically.

Authentication

All endpoints (except /api/login) require a JWT token passed in the Authorization header:

Authorization: Bearer <token>

Networking API

Addresses

/api/addresses

Gestionar address objects for firewall policies.

GET /api/addresses
POST /api/addresses
PUT /api/addresses/:name
DELETE /api/addresses/:name

DHCP Server

/api/dhcp

Gestionar DHCP pools per interface.

GET /api/dhcp
POST /api/dhcp

System & Config Operations

Transactions

/api/config

Open sessions and commit changes to the engine.

POST /api/config/begin
POST /api/config/commit