Skip to main content

4 docs tagged with "api"

View all tags

API

The API page introduces RouterOS's Application Programming Interface for secure communication with routers, detailing syntax rules, sentence structure, encoding methods, and supported commands like login and cancel for configuration management.

Developer Guides

Developer guides provide documentation for automating and integrating with RouterOS through APIs, scripting, and REST interfaces to build tools and applications that interact with the router.

Python3 Example

This page provides a Python3 example client for interacting with RouterOS via its API, demonstrating sentence exchange, plain-text and legacy challenge-response login, and socket communication over the API and API-SSL services.

REST API

RouterOS REST API: enable HTTPS access with a least-privilege user, read and change the configuration with GET, PUT, PATCH and DELETE, run any console command with POST, work within the 60-second limit and per-user sessions, and build scripts, integrations and dashboards on it.