POST
EntriesSettings.Count
Return only the number of entry/tab setting definitions matching the optional filters. This counts settings records, not rows inside a selected entry tab.
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
- Counts entry/tab setting definitions for the account.
- Returns count for settings management screens.
Push Service
No socket push is sent because this function only reads settings.
Automation
No automation is run because this function only reads settings.
Special Instructions
- Use Entries.Count when you need to count row data inside one selected entry tab.
- Use this route only when managing entry/tab settings.
- You can filter settings by use_customer_for_entry or entry_customer_folder_id when those columns are available.
Required Parameters
No body parameters are required for this function.
Optional Parameters
| Name | Type | Sample | What it gives |
|---|---|---|---|
searchpost | string | lead | Counts only entries matching this text. |
folderspost | string | 3 | Counts tabs whose folders JSON contains this folder id. |
use_customer_for_entrypost | int | 1 | Counts only tabs that require selecting an entry customer when the column is available. |
entry_customer_folder_idpost | int | 12 | Counts only tabs configured to use this customer folder for entry customers when the column is available. |
Authentication
Send the bearer token returned by Login in the request header.
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/EntriesSettings.Count",
"method": "POST",
"body": {
"search": "lead"
},
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/EntriesSettings.Count",
"url_domain": "https:\/\/{domain}\/app\/EntriesSettings.Count"
}Endpoint
POST /app/EntriesSettings.Count
POST https://{user}.bull36.com/app/EntriesSettings.Count
POST https://{domain}/app/EntriesSettings.CountSample Output
{
"success": 1,
"count": 3
}JavaScript Example
const token = 'YOUR TOKEN';
const body = new URLSearchParams();
// Fill body fields from the Sample Request JSON above.
const res = await fetch('/app/EntriesSettings.Count', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
const data = await res.json();
console.log(data);Error Example
{
"success": "0",
"error": "bearer_token_required",
"message": "Authorization bearer token is required. Send header: Authorization: Bearer YOUR TOKEN"
}