POST
AutomationActions.Get
Return one automation action
Permissions
- On a company subdomain (e.g. https://{user_domain}.bull36.com) the user must match that Host — Login and protected APIs reject another company with success=0, error user_not_in_company. On a main brand host (bull36.com, biz1.co.il, mastrocrm.com, …) the company domain gate is skipped.
- User must be logged in and allowed to manage automation/settings for this account.
Action
Return one automation action node 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
- On a company subdomain (e.g. https://{user_domain}.bull36.com) the user must match that Host — Login and protected APIs reject another company with success=0, error user_not_in_company. On a main brand host (bull36.com, biz1.co.il, mastrocrm.com, …) the company domain gate is skipped.
- These are configuration routes. They do not execute the business automation immediately. Full instructions: /docs/generated/app-route-diffs/AutomationActions.Get.md Sample curl: curl -X POST https://{domain}/app/AutomationActions.Get \ -H 'Authorization: Bearer YOUR TOKEN' \ -d 'id=200'
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. The user must be from the same company domain as this Host — a token from another company is rejected (user_not_in_company).
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/AutomationActions.Get",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"id": "200"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/AutomationActions.Get",
"url_domain": "https:\/\/{domain}\/app\/AutomationActions.Get"
}Endpoint
POST /app/AutomationActions.Get
POST https://{user}.bull36.com/app/AutomationActions.Get
POST https://{domain}/app/AutomationActions.GetSample Output
{
"success": "1",
"id": "200",
"data": {
"id": "200",
"flow_id": "123",
"type": "sendEmail",
"text": "Hello {name}"
}
}JavaScript Example
const token = 'YOUR TOKEN';
const body = new URLSearchParams();
body.set('id', '200');
const res = await fetch('/app/AutomationActions.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"
}