Headless LMS

Get an automation by id

GET
/api/automations/{id}

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/automations/string"
{  "id": "string",  "name": "string",  "description": "string",  "trigger": "string",  "actions": [    {      "type": "string",      "input": {        "property1": null,        "property2": null      }    }  ],  "enabled": true}
{  "error": "string",  "message": "string"}