POST
AutomationEvents.Get
Return one automation trigger definition by id.
Permissions
User must be logged in and allowed to manage automation/settings for this account.
Action
Return one automation trigger definition by id.
Push Service
No socket push is sent. This is a read-only route.
Automation
No business automation runs. This route only reads saved configuration.
Special Instructions
These are configuration routes. They do not execute the business automation immediately. Full instructions: /docs/generated/app-route-diffs/AutomationEvents.Get.md Sample curl: curl -X POST https://{domain}/app/AutomationEvents.Get \ -H 'Authorization: Bearer YOUR TOKEN' \ -d 'id=123'
Required Parameters
| Name | Type | Sample | Explanation |
|---|---|---|---|
idpost | int | 123 | Record id. |
Optional Parameters
No optional body parameters are defined for this function.
Authentication
Send the bearer token returned by Login in the request header.
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/AutomationEvents.Get",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"id": "123"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/AutomationEvents.Get",
"url_domain": "https:\/\/{domain}\/app\/AutomationEvents.Get"
}Endpoint
POST /app/AutomationEvents.Get
POST https://{user}.bull36.com/app/AutomationEvents.Get
POST https://{domain}/app/AutomationEvents.GetSample Output
{
"success": "1",
"id": "123",
"data": {
"id": "123",
"name": "New lead trigger",
"event": "add_lead",
"automation_status": "1"
}
}JavaScript Example
const token = 'YOUR TOKEN';
const body = new URLSearchParams();
body.set('id', '123');
const res = await fetch('/app/AutomationEvents.Get', {
method: 'POST',
headers: { Authorization: `Bearer ${token}` },
body
});
const data = await res.json();
console.log(data);Error Example
{
"success": "0",
"message": "Missing required parameter: id"
}