POST
Fields.Get
Alias of Fields.List. Return the customer field settings needed by UI builders and forms.
Permissions
- Only the organization owner or a manager can manage or list field settings.
Action
- Returns Fields information as JSON for the UI.
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.
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.
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/Fields.Get",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": [],
"url_user": "https:\/\/{user}.bull36.com\/app\/Fields.Get",
"url_domain": "https:\/\/{domain}\/app\/Fields.Get"
}Endpoint
POST /app/Fields.Get
POST https://{user}.bull36.com/app/Fields.Get
POST https://{domain}/app/Fields.GetSample Output
{
"success": 1,
"data": {
"fixed_fields": [
"name",
"phone",
"email"
],
"custom_fields": []
}
}JavaScript Example
const token = 'YOUR TOKEN';
const res = await fetch('/app/Fields.Get', {
method: 'POST',
headers: { Authorization: `Bearer ${token}` }
});
const data = await res.json();
console.log(data);Error Example
{
"success": "0",
"error": "permission_denied",
"message": "Permission denied to list customer fields"
}