Authorizations
Standard JWT token obtained via a separate authentication process. Required for most user-facing API endpoints.
Headers
A UUID to ensure the request is processed only once.
A brief description of the job. Defaults if not provided.
3 - 100
Whether the job requires explicit 'done' status from the device (true) or is completed upon download (false).
Whether to create an SFTP backup before running the script.
Whether to attempt to trigger an immediate poll from the device after job creation.
Path Parameters
The UUID of the Site to create the job for.
Body
The RouterOS script payload to be executed.
The body is of type string
.
3 - 10000
"/ip firewall filter add action=accept chain=input comment=\"Allow Winbox\" disabled=no dst-port=8291 protocol=tcp\n"
Response
Job created successfully. Returns the created job resource.
Base62 encoded job UUID, used in log messages/urls.
"jobTokenExample"
"some-idempotency-key-uuid-or-id"
"site-uuid-here/1678886400.rsc"
Relative URL to view logs related to this job in the UI.
"logs?group=sites&streams=site-uuid&start=2023-01-01T00:00:00&end=2023-01-01T00:30:00&filter={$.message=*jobTokenExample*}&limit=10"
The actual script payload associated with the job. Included in GET specific job details.