POST
/
api
/
synchronous
/
{router_id}
curl --request POST \
  --url https://api.altostrat.io/api/synchronous/{router_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "command": "/ip/arp/print",
  "parameters": "<string>"
}'
{
  "status": "<string>",
  "data": [
    "<any>"
  ]
}

Authorizations

Authorization
string
header
required

Use the Authorization: Bearer <token> header format

Path Parameters

router_id
string
required

The UUID of the router for synchronous commands.

Body

application/json
Command and optional parameters.
command
string
required

RouterOS API command or /execute usage for script-based calls.

Example:

"/ip/arp/print"

parameters
string

Optional. Additional API parameters or script body if using /execute.

Response

200 - application/json
Synchronous result
status
string
data
any[]