Contact Property
Contact properties (custom attribute) are custom fields you define yourself to store additional data on contacts and conversations — for example “Customer Tier”, “Policy Number”, “Subscription Date”, or “Region”. Each property has its own data type, validation rules, default value, and visibility settings. This feature is intended for tenant admins who want to customize the CRM data structure on the platform Mahadata without any code changes.
You access this feature from Settings > Properties (/settings/properties). This route will take you to the custom attribute management page (/settings/custom-attributes).

Scope: Contacts vs Conversations
Section titled “Scope: Contacts vs Conversations”Properties are grouped into two scopes, separated by tabs at the top of the page:
| Tab | Scope | Description |
|---|---|---|
| Contacts | contact | Properties attached to the contact (person). This is the tab that is active by default. |
| Conversations | conversation | Properties attached to the conversation/ticket, not to the contact. |
Each property only applies to a single scope. The list, search, and creation dialogs all follow the currently active tab’s scope.
Property List
Section titled “Property List”Under the tabs, the page displays all properties for the selected scope as a list of rows. Above the list there are two controls:
| Control | Function |
|---|---|
| Search attributes… | Filters the list instantly on the client side based on the property’s label or key. |
| Show archived | A toggle to include archived properties in the list. Default: off. |
Each property row displays:
| Element | Description |
|---|---|
| Label | The property’s display name (e.g. “Customer Tier”). |
| Key + Type | The bottom line displays the technical key followed by the display type label (e.g. customer_tier · Text). |
| Concise badges | A brief indicator on the right side: Req (required), Uniq (unique), List (shown in the list). See the Badge & Status section. |
| Actions menu | The three-dot button opens a menu: Edit, Duplicate, Archive/Unarchive. |
If there are no attributes for that scope yet, the page displays an empty state reading “No custom attributes yet” along with a button Create your first attribute.
Creating & Editing Attributes
Section titled “Creating & Editing Attributes”Click New Attribute to open the creation dialog, or select Edit from a row’s actions menu. Available fields:
| Field | Required | Default | Description |
|---|---|---|---|
| Label | Yes | — | The property’s display name (e.g. “Customer Tier”). |
| Key | Yes | — | Technical identifier (e.g. customer_tier). Permanent — cannot be changed after the property is created. |
| Display Type | Yes | Text | The property’s data type (see the Display Types table). Cannot be changed after the property is created. |
| Description | No | — | An optional description to explain the property’s purpose. |
| Options | Depends | — | List of choices; only appears for the select type (see the Options section). |
| Required | No | Inactive | Makes the property required. |
| Unique | No | Inactive | Prevents duplicate values; only available on certain types. |
| Show in list | No | Inactive | Displays the property as a column in the contact list view. |
| Show in inbox | No | Active | Displays the property on the contact detail panel in the inbox. |
| Regex pattern | No | — | An optional validation pattern; only for text-based types. |
| Hint | No | — | A help message displayed when regex validation fails. |
| Default value | No | — | The value applied when a contact is created without filling in this property (see the Default Values section). |
| API writable | No | Active | External integrations may set this property. |
| SDK writable | No | Inactive | JS/mobile SDKs may set this property. |
| Agent writable | No | Active | Agents may edit this property from the portal/inbox. |
Label and Key are required; the save button stays disabled until both are filled in.
Display Type
Section titled “Display Type”The display type determines the kind of data and input control used. This type is chosen at creation and cannot be changed afterward.
| Type | Label | Supports Options | Supports Unique | Supports Regex |
|---|---|---|---|---|
text | Text | No | Yes | Yes |
long_text | Long text | No | No | No |
number | Number | No | Yes | No |
boolean | Yes / No | No | No | No |
date | Date | No | No | No |
datetime | Date & time | No | No | No |
single_select | Single select | Yes | No | No |
multi_select | Multi select | Yes | No | No |
url | URL | No | Yes | Yes |
email | No | Yes | Yes | |
phone | Phone | No | Yes | Yes |
currency | Currency | No | No | No |
The Unique toggle only appears for types that support it, and the Regex Validation section only appears for text-based types (Text, URL, Email, Phone).
Options (Select Type)
Section titled “Options (Select Type)”For the type Single select and Multi select types, the dialog displays an options editor. Each option has a Label and Value:
- Label is the text the user sees; Value are the stored values.
- As you type the Label, Value auto-filled: converted to lowercase, characters other than letters/numbers/
_/-is replaced with_, and trimmed to a maximum of 64 characters. - Use the Add option button to add rows, and the trash icon to delete.
Regex Validation
Section titled “Regex Validation”For text-based types, you can set validation rules:
| Field | Description |
|---|---|
| Regex pattern | Regular expression pattern (e.g. ^[A-Z]{3}-\d{4}$). The pattern is validated on the client side before saving; invalid patterns are rejected. |
| Hint | A friendly message shown when the input does not match the pattern (e.g. “Format must be ABC-1234”). |
Default Value
Section titled “Default Value”Default values are applied when a contact is created without setting this property. The accepted input formats differ by type:
| Type | Input format | Example |
|---|---|---|
| Text / Long text / URL / Email / Phone | Plain text as-is | contoh teks |
| Number | Number (must be valid) | 42 |
| Boolean | true or false | true |
| Date | YYYY-MM-DD | 2026-04-24 |
| Date & time | ISO 8601 | 2026-04-24T10:00:00Z |
| Single select | Option value | gold |
| Multi select | Comma-separated or JSON array | gold,silver |
| Currency | jumlah mata_uang or JSON {amount,currency} | 1000 IDR |
Default values whose format is invalid (e.g. an invalid number) will be rejected with an error message before being saved.
API Access (Writability)
Section titled “API Access (Writability)”Three separate toggles control who is allowed to write this property’s value:
| The | Default | Meaning |
|---|---|---|
| API writable | Active | External integrations (REST API) may set this property. |
| SDK writable | Inactive | JavaScript/mobile SDK may set this property. |
| Agent writable | Active | Agents may edit this property directly from the portal or inbox. |
Immutable Rules
Section titled “Immutable Rules”Once a property is created, two fields are locked and can no longer be edited:
- Key — the technical identifier is permanent.
- Display Type — the data type cannot be changed.
When editing, these two fields are shown with a “(readonly)” label. If you need to change the type or key, use Duplicate to create a new property, then archive the old one.
Per-Property Actions
Section titled “Per-Property Actions”The three-dot menu on each row provides the following actions:
| Action | Function |
|---|---|
| Edit | Opens a dialog to change the label, description, options, validation, visibility, default value, and API access. Key and type are locked. |
| Duplicate | Creates a copy of the property. The key is appended with _copy and the label is suffixed with (copy); the Unique toggle is reset to off. |
| Archive | Archives the property (hides it from the active list) without deleting the data. |
| Unarchive | Restores an archived property to the active list. Appears only for properties that are already archived. |
Archived properties are displayed with a dimmed appearance and a badge Archived when the “Show archived” toggle is enabled.
Badges & Status
Section titled “Badges & Status”Brief markers on the right side of each row show the property configuration at a glance:
| Badge | Meaning |
|---|---|
| Req | Property is required (Required is enabled). |
| Uniq | Value must be unique (Unique is enabled). |
| List | Property appears as a column in the list view (Show in list is enabled). |
| Archived | Property is currently archived. |