POST

Customer.Reminder.List

List customer reminders from contactus_reminder for one customer. Same data as dashboard profile/get_reminder_data_list, returned as JSON instead of HTML rows.

Permissions

  • User must be logged in with a valid bearer token.
  • Returned or changed records are limited by the user permissions, team access, folder access, and account settings.

Action

  • Runs the Customer.Reminder.List function and returns JSON.

Push Service

No push is sent because this function only reads data or returns helper information.

Automation

No automation is run for this function.

Special Instructions

  • Send the bearer token on protected calls with Authorization: Bearer YOUR TOKEN.
  • Send parameters as POST body fields exactly as documented.
  • For paging, do not request more than 25 rows.
  • For total rows, call the matching Count function with the same filters.

Required Parameters

NameTypeSampleExplanation
customer_id
post
int58Customer id. Alias: cust_id.

Optional Parameters

NameTypeSampleWhat it gives
page
post
int1Page number. Alias: page_id.
limit
post
int8Rows per page (max 25). Dashboard default is 8.

Authentication

Send the bearer token returned by Login in the request header.

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/Customer.Reminder.List",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "customer_id": "58",
        "page": "1",
        "limit": "8"
    },
    "url_user": "https:\/\/{user}.bull36.com\/app\/Customer.Reminder.List",
    "url_domain": "https:\/\/{domain}\/app\/Customer.Reminder.List"
}

Endpoint

POST /app/Customer.Reminder.List
POST https://{user}.bull36.com/app/Customer.Reminder.List
POST https://{domain}/app/Customer.Reminder.List

Sample Output

{
    "success": 1,
    "total": 1,
    "count": 1,
    "data": [
        {
            "id": 12,
            "reminder_id": 12,
            "cust_id": 58,
            "create_by": 1,
            "create_by_name": "Admin",
            "notes": "Call back tomorrow",
            "date_time": "2026-07-28 07:00:00",
            "date_time_user": "2026-07-28 10:00:00",
            "reminder_by": "email",
            "send_to_wp": 0
        }
    ]
}

Count Only

Use the matching count route with the same filters when the UI only needs total rows for paging.

{
    "url": "\/app\/Customer.Reminder.Count",
    "url_user": "https:\/\/{user}.bull36.com\/app\/Customer.Reminder.Count",
    "url_domain": "https:\/\/{domain}\/app\/Customer.Reminder.Count",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "customer_id": "58"
    },
    "sample_output": {
        "success": 1,
        "count": 123
    },
    "notes": {
        "count": "Use the matching count route when available, or count returned rows.",
        "max_limit": 25
    }
}

Count JavaScript

const token = 'YOUR TOKEN';
const body = new URLSearchParams();
body.set('customer_id', '58');

const res = await fetch('https://{domain}/app/Customer.Reminder.Count', {
  method: 'POST',
  headers: { Authorization: `Bearer ${token}` },
  body
});
const data = await res.json();
console.log(data.count);

JavaScript Example

const token = 'YOUR TOKEN';
const body = new URLSearchParams({ customer_id: '58', page: '1', limit: '8' });
const res = await fetch('/app/Customer.Reminder.List', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
console.log(await res.json());

Error Example

{
    "success": 0,
    "message": "Customer not found"
}