# Person custom attributes

___

Assign any information to a person profile with **Person custom attributes**. Create as many custom attributes as you need as long as you keep their names unique.

To access Person custom attributes, go to **[Customer Profiles](https://www.infobip.com/docs/customer-profiles)** → **Configuration** → **Person custom attributes** tab.

___

## Create person custom attributes

**Custom attributes** provide more specific information related to your customers. Using custom attributes, you can assign any information that is not available out-of-the-box in the standard fields.

It could be a contract ending date, subscription, payment due, or some other data you need to create the desired communication scenario.

To create a custom attribute:

1. Select **Create custom attribute**.
2. Enter the attribute **name** and configure its properties.
    > The custom attribute names must be **unique**.
3. Select the attribute **type**. Once the type is selected, it **cannot** be changed. The following data types are available:
   - Text
   - Decimal number
   - Whole number
   - True/false
   - Date
   - Date time
4. **Save** the custom attribute.

The attribute is now visible on the [person profile details](https://www.infobip.com/docs/customer-profiles/persons/person-profile-details) page and can be used for communication campaigns.

Note
You can add a new custom attribute during [import](https://www.infobip.com/docs/customer-profiles/persons/import-person-data). On the mapping screen, select **Add new field**.

___

## Create and manage person custom attributes via API

You can also create and manage custom attributes via Customer Profiles API. Use one of the following methods:

- [Create a custom attribute](https://www.infobip.com/docs/api/customer-engagement/people/create-a-custom-attribute)
- [Get a single custom attribute](https://www.infobip.com/docs/api/customer-engagement/people/get-a-single-custom-attribute)
- <apidocslink href="customer-engagement/people/get-a-list-of-custom-attributes">Get a list of custom attributes</apidocslink>
- Update custom attribute:
  - <apidocslink href="customer-engagement/people/update-a-person">Update person</apidocslink> - updates the new field, erases other fields if you have not specified them
  - <apidocslink href="customer-engagement/people/partial-person-update">Partial person update</apidocslink> - only updates one specific field in a person profile
- <apidocslink href="customer-engagement/people/delete-a-custom-attribute">Delete a custom attribute</apidocslink>

___

## Search person attributes

Use the search bar to find specific attributes by name.

___

## Person custom attributes list

The person custom attributes list displays:

- **Name** - The name of the custom attribute
- **Type** - The data type of the attribute (text, number, date, boolean, list)
- **In use** - Number of active Journeys and [segments](https://www.infobip.com/docs/customer-profiles/segments) using the custom attribute. Select the number to view details. **Note**: You cannot delete a custom attribute that is in use.
- **Last updated** - The timestamp when the attribute was last modified

___

## Bulk update person attributes

You can update standard and custom attributes **in bulk** for multiple profiles.

For example, select the segment of customers living in London and update the country to England. The country field is updated for all the profiles in that segment.

You can:

- **Update** the values of existing attributes
- **Reset** attributes to a blank value

To bulk update attributes:

1. Select the [segment](https://www.infobip.com/docs/customer-profiles/segments) of profiles you want to update.
2. Select the bulk update option.
3. Choose the attributes to update and enter new values.
4. Confirm the update.

___

## Mask sensitive data

You can **protect sensitive information** such as credit card or bank account number by **masking** the attributes in which the data is stored.

The values of masked attributes are displayed as asterisks (*) to all users and in all locations where they are displayed, including:

- **Customer Profiles** - Persons page, profile attributes, and activity feed

___

## Delete person custom attributes

To **delete** a custom attribute:

1. Select the checkbox next to the attribute you want to delete.
2. Select the **Delete** option.
3. Confirm the deletion.

Important
Deleting a custom attribute removes it from **all** person profiles. This action **cannot** be undone.

___