POST

Entries.AutomationsList

Return active automations for the Run Automation picker. Same source as the dashboard modal: automation_event rows with automation_status=1 for the account.

Permissions

  • User must be logged in with a valid bearer token.
  • The user must be from the same company domain as the request Host (call the API on that account subdomain or allowed custom domain). A token from another company returns success=0, error user_not_in_company.
  • Returned or changed records are limited by the user permissions, team access, folder access, and account settings.

Action

  • Reads active automation_event rows for the owner account.
  • Returns id, name, and event for each automation.

Push Service

No socket push is sent because this function only reads data.

Automation

No automation is run because this function only reads data.

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.
  • Call this before Entries.RunAutomation to show the automation name dropdown.
  • AutomationEvents.List with automation_status=1 is also valid if you need paging/filters.

Required Parameters

No body parameters are required for this function.

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\/Entries.AutomationsList",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": [],
    "url_user": "https:\/\/{user}.bull36.com\/app\/Entries.AutomationsList",
    "url_domain": "https:\/\/{domain}\/app\/Entries.AutomationsList"
}

Endpoint

POST /app/Entries.AutomationsList
POST https://{user}.bull36.com/app/Entries.AutomationsList
POST https://{domain}/app/Entries.AutomationsList

Sample Output

{
    "success": 1,
    "count": 1,
    "data": [
        {
            "id": 2827,
            "automation_id": 2827,
            "name": "Welcome flow",
            "event": "manual",
            "automation_status": 1
        }
    ]
}

JavaScript Example

const token = 'YOUR TOKEN';
const res = await fetch('/app/Entries.AutomationsList', { method: 'POST', headers: { Authorization: 'Bearer ' + token } });
const data = await res.json();
console.log(data.data);

Error Example

{
    "success": "0",
    "error": "bearer_token_required",
    "message": "Authorization bearer token is required. Send header: Authorization: Bearer YOUR TOKEN"
}