Can I start a Mitto Job or Sequence from an external application?
@Phil Yes. you can do this with the Mitto API:
You just need the URL of the mitto with the API key from the settings page.
@Phil, here’s the Mitto API endpoint used to start (or kill) a job:
And here’s an example using cURL (with the Mitto URL and API_KEY obscured):
curl -X 'POST' \
'https://{mitto_url}/api/v2/jobs/1/:actions?API_KEY={api_key}' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"action": "START"
}'
This cURL command would start job number 1
.
So, any external application able to send a POST request could start a Mitto job remotely.