Authorizations
Authenticate requests by providing a JSON Web Token (JWT) in the Authorization header. Example: Authorization: Bearer <YOUR_JWT>
Headers
A unique UUID provided by the client to ensure that the request is processed only once.
A human-readable description of the job's purpose.
3 - 100(Default: true) Set to false if the job should be considered complete as soon as it's sent to the device, without waiting for a success/fail response.
(Default: false) Set to true to automatically create a configuration backup of the site before executing this job.
(Default: false) Set to true to attempt to trigger an immediate device check-in for faster job execution.
Path Parameters
The UUID of the site to target.
Body
The raw RouterOS script to be executed on the device.
The body is of type string.
"/ip address add address=192.168.99.1/24 interface=ether2"
Response
The job was successfully created.
An asynchronous command or script to be executed on a Site.
The unique identifier (UUID) for the job.
"8b8b2e5e-1a19-4a19-8b19-1e1919191919"
A short, unique, human-readable token for the job, often used in log filtering.
"2jP5kLqWnZ"
The ID of the site this job is targeted for.
"9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a"
A unique key provided by the client to prevent duplicate job creation.
"7c7c1e4e-1918-4918-8a18-1e1818181818"
A human-readable description of the job's purpose.
"Add new firewall rule for guest network"
If true, the platform will attempt to trigger an immediate check-in from the device to execute this job sooner.
false
If true, the job requires an explicit success/fail notification from the device to be marked as complete.
true
If true, a configuration backup was automatically created before this job was queued.
true
The path to the configuration backup file associated with this job, if one was created.
"9a9a3e6f-1b1a-4b1a-8c1a-1e1a1a1a1a1a/1667888400.rsc"
The timestamp when the device started executing the job.
"2025-10-29T12:05:10Z"
The timestamp when the device reported successful completion of the job.
null
The timestamp when the device reported a failure during job execution.
null
The timestamp when the job was created.
"2025-10-29T12:00:00Z"
A relative URL to the Altostrat SDX UI to view logs related to this job's execution.
"logs?group=sites&streams=9a9a...&start=...&end=...&filter={$.message=*2jP5kLqWnZ*}"
The raw RouterOS script payload of the job.
"/ip firewall filter add chain=forward action=accept src-address-list=guests"