Skip to main content
POST
/
api
/
synchronous
/
{siteId}
Run a synchronous RouterOS command
curl --request POST \
  --url https://v1.api.altostrat.io/api/synchronous/{siteId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "command": "/ip/arp/print",
  "parameters": []
}
'
{
  "status": "success",
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

Authenticate requests by providing a JSON Web Token (JWT) in the Authorization header. Example: Authorization: Bearer <YOUR_JWT>

Path Parameters

siteId
string<uuid>
required

The target site/router UUID.

Example:

"9c69345c-8d39-4786-9f17-8153c988c89a"

Body

application/json
command
string
required

RouterOS command path.

Example:

"/ip/arp/print"

parameters

Optional RouterOS parameters or filters.

Example:
["?-dynamic=false"]

Response

The command response returned by the router.

Success wrapper returned by the developer API. The data field contains the RouterOS response payload.

status
string
Example:

"success"

data
any | null

RouterOS response payload.