cURL
curl --request GET \ --url https://apiweb.mile.app/api/v3/automation/{automationId} \ --header 'Authorization: Bearer <token>'
{ "status": true, "message": "Success", "data": { "name": "Auto webhook automation", "event": "onTaskFinished", "automationType": "webhook", "dataType": "task", "automationDetails": { "url": "https://apiweb.mile.app/webhook", "headers": { "x-api-key": "1234e98498ce07d29474a7ev2", "org": "general" } }, "rules": { "flow": "Pickup", "flowId": "667b712f63020e5f182f0cb2" }, "organizationId": "621dd813eb3ebf16b94dbde3", "isActive": true, "updatedTime": "2022-07-13T03:16:40+00:00", "createdTime": "2022-07-13T03:16:40+00:00", "_id": "62ce3918d3f3e1681a3a54b5" } }
Use a valid Bearer token to authenticate.
Unique identifier for automation that generated by system. Example: 62ce3918d3f3e1681a3a54b5
62ce3918d3f3e1681a3a54b5
Success
Status of response.
Message of API response.
Detail of object automation.