API-first for MikroTik NMS: why your business can't scale without modern APIs
Does your MikroTik NMS have modern APIs? Without automation you lose 16,800 EUR a year on manual work. Discover the OptiWize API-first approach.
⚙ AI-translated from Italian. Have a correction? Drop us a line.
Try answering this question: how long would it take to integrate your current MikroTik management system with your CRM? Or with your ticketing system? Or with your billing platform?
If the answer is "you can't" or "I'd have to call support and ask", you have just discovered why you are building on sand.
The problem nobody mentions when you buy an NMS
The demo is always perfect. The salesperson shows you a beautiful dashboard, advanced features, real-time charts. They tell you "you can manage everything from here".
But nobody tells you what happens when:
- You need to feed device data into your business management software
- You want to automate service activation after payment
- You need a custom report for an enterprise customer
- You have to connect the NMS to your automatic provisioning system
- You want your helpdesk to see device status without switching tools
That is the moment you discover the "complete platform" is actually a closed box. And you are inside it.
What "API-first" really means
It is not just "having APIs". It is a design philosophy where every platform capability is built as a programmatically accessible service.
In practice:
Without modern APIs:
- Open the browser
- Log in
- Click "Devices"
- Search for the router
- Click "Backup"
- Wait
- Download the file
- Save it where you need it
With API-first:
curl -X GET "https://api.optiwize.cloud/devices/123/backup" \
-H "Authorization: Bearer YOUR_TOKEN" \
> backup-router-customer.rsc
Done. One line. Automatable. Integrable. Repeatable.
The use cases that change the business
1. Billing system integration
Real scenario: one of your customers pays the invoice to activate SD-WAN.
Without APIs:
- The payment lands in your management software
- Somebody has to remember to activate the service
- They open OptiWize manually
- They configure SD-WAN
- (Total time: from 2 hours to 2 days, depending on who remembers)
With APIs:
// Webhook from the billing system
async function onPaymentReceived(invoice) {
if (invoice.service === 'SDWAN') {
await optiwizeAPI.activateSDWAN({
deviceId: invoice.deviceId,
gateway: 'auto',
bandwidth: invoice.bandwidth
});
await sendEmail(customer, 'SDWAN activated');
}
}
Total time: 30 seconds. Zero human intervention.
2. Automatic provisioning for e-commerce
If you sell hardware online, APIs let you:
- Generate the onboarding string automatically
- Email it to the customer
- Pre-configure the device with the customer's parameters
- Activate base services automatically
Result: the customer receives the router at home, powers it on, and it is already configured and monitored. You did not lift a finger.
3. Custom dashboards for enterprise customers
An enterprise customer wants to see their 50 sites in a custom dashboard, embedded in their corporate portal.
Without APIs: "Sorry, they have to use our platform."
With APIs: you build them a tailored dashboard that reads live data through the API. They are happy, you have an enterprise contract.
4. Troubleshooting automation
# Script that runs every hour
for device in get_all_devices():
if device.status == 'unreachable':
# Try an automatic reboot
api.reboot_device(device.id)
# Open a ticket automatically if it persists
if still_unreachable(device.id):
ticketing_system.create_ticket({
'priority': 'high',
'title': f'Device {device.name} unreachable',
'assigned_to': get_technician_on_duty()
})
5. Automated reporting
End of the month, you have to send reports to 200 customers.
Without APIs: you open the dashboard 200 times, export, build PDFs, send emails. (Estimate: 2-3 days of work)
With APIs: a nightly script generates and sends everything automatically. (Estimate: 0 minutes of your time)
The real cost of the alternative
Let's do the math.
Typical scenario: you manage 300 devices for 50 customers.
Repetitive manual operations per month:
- Generating customer reports: 8 hours
- Activating new services: 6 hours
- Exporting data for invoicing: 4 hours
- Handling tickets asking for device information: 10 hours
- Total: 28 hours/month
At 50 EUR/hour (average internal cost of a technician), that is 1,400 EUR/month or 16,800 EUR/year.
With APIs and a minimum of automation, you cut those operations by 80%.
Annual saving: around 13,000 EUR. And that is only time, not counting fewer errors or a better customer experience.
But I am not a developer
You do not have to be. Modern APIs are designed to be integrated easily, even by people who do not write code for a living.
There are no-code tools such as:
- Zapier/Make: "when a payment comes in from Stripe, activate SD-WAN on OptiWize"
- n8n: open source workflow automation
- Simple scripts: with a few hours of ChatGPT you can build basic automations
And if you really do not want to deal with it, you pay a freelance developer 500 EUR once to set up the automations you need. Still better than paying 16,800 EUR a year in internal time.
The questions to ask your NMS vendor
If you are evaluating (or re-evaluating) a MikroTik management platform, ask these questions:
- "Do you have documented RESTful APIs?" (If the answer is "yes, but only for enterprise customers", run)
- "Can I see the API documentation before buying?" (If they say no, that is a red flag)
- "Which operations are NOT available through the API?" (If everything goes through the web panel and the API is limited, you are stuck)
- "Do you have webhooks for events?" (If not, you have to poll continuously, which is inefficient and expensive)
- "What are the rate limits?" (If they throttle API calls heavily, you cannot automate seriously)
- "Can I test the APIs in a demo environment?" (If you cannot test them first, how do you know they work for your use case?)
OptiWize: API-first from day one
When we designed OptiWize we made a deliberate choice: every function in the web panel had to be reachable through the API.
Not as an "extra feature". As an architectural principle.
That means:
- If you see a button in the panel, there is an API endpoint behind it
- The documentation is public and complete
- Webhooks notify you of events in real time
- Rate limits are generous for anyone automating sensibly
- Technical support understands what APIs are (it sounds obvious, it is not)
A concrete example from the changelog:
[2.52.0] - 2025-07-25
Added
API endpoint to force logout all active users
Even a "small" function like forced logout is available through the API. Why? Because you may need to wire it into your security policy management system. It is not up to us to decide what you need.
The future is already here
The companies winning in 2025 are not the ones with more technicians. They are the ones that automate better.
Your competitor who uses APIs and automation:
- Onboards 10 customers a day, not 2
- Sends personalised reports automatically
- Activates services while asleep
- Scales without hiring
- Has better margins because they save hours
You, meanwhile, are still doing login, click, export, copy-paste.
The question is not whether to automate. It is whether you still want to be on the market in three years.
Where to start
If OptiWize is already your platform:
- Read the API documentation
- Identify the 3 operations you repeat manually most often
- Automate the most tedious one (it will also be the most satisfying)
If you are still evaluating:
- Ask for a demo focused on the APIs
- Test the integration with one of your existing systems
- Do the math on how much time (and money) you could save
If you use another NMS without modern APIs:
- Make an honest assessment of what it is costing you
- Consider the opportunity cost: what could you do with those hours?
- Remember: migrating is scary, but staying locked in is worse
P.S. If your vendor tells you "you don't need APIs, our panel already does everything", ask them how much time they lost the last time they had to export data for 50 customers. Then ask yourself whether you want to spend the next 5 years doing the same thing.
Your time is worth something. Modern APIs are how you take it back.