The AI Agents Settings page lets you configure reusable API Endpoints for the API Call Actions of your Support and Shopping Agents, choose which sensitive data is masked in your agents' conversations with PII Configuration.
To access AI Agents Settings page, navigate to InOne > Agent One > Agent One Audiences > AI Agents and click Settings.

In the Settings page, you will see two tabs:
The Product Details Widget is available for Shopping Agents only. For setup details, refer to Product Details Widget for Shopping Agent.
API Endpoints
API Endpoints let you centrally manage the base URLs and authentication headers used by your AI Agents when calling external services. Once configured, you can reuse them across the API Call Actions of all your agents. Values you mark as sensitive information, such as API keys and tokens, are stored securely and displayed as masked values throughout the platform.
Admin users create, edit, delete, and test API Endpoints; other users can view the list, with sensitive values masked and management actions disabled.
API Endpoints are defined per account and shared by all your AI Agents (Support and Shopping Agents).
To define an endpoint, click Create API Endpoint.

Name your API Endpoint and enter its API Endpoint URL.
The endpoint name is used only within the platform. The API Endpoint URL should contain only the base URL (for example,
https://api.yourcompany.com). Add paths and dynamic parameters later in the API Call Action.
Click Add Header to add more rows. Headers include Key-value pairs sent with every request that uses this endpoint, typically authentication credentials such as
Authorization: Bearer <token>or an api-key.Content-Type: application/jsonis included by default.Select Mark as Sensitive Information for each header that contains a credential or other sensitive value. Marked values are displayed masked and can't be viewed in full again on the platform; to change one, re-enter the value.

Click the Create button.
If one or more header values aren't marked as sensitive information, a confirmation asks you to verify that these values will remain visible before the endpoint is created.
Sensitive values are masked for every user on the platform once saved; they are only used when your agent sends the actual request.
Once you create the endpoint, you can perform these actions:
See Endpoint details
Click See Details on an endpoint to review its URL and headers; sensitive values stay masked, and the AI Agent Details table, which lists the AI Agents and the API Call Actions using this endpoint, with links to each agent.

Edit an API Endpoint
Click Edit on an endpoint to update its name, URL, and headers. Masked values remain masked while editing; re-enter a value to replace it or to change its sensitivity.

Delete an API Endpoint
Click Delete on an endpoint. Deleting is permanent and can't be undone. API Endpoints used by AI Agents in Active status can't be deleted; update the API Call Action of those agents to use a different endpoint first. The delete panel lists the agents using the endpoint so you can check them before you proceed.

PII configuration
PII Configuration is defined per account and applies to all your Support and Shopping Agents, including agents you create later.
PII Configuration lets you choose which personally identifiable information (PII) is masked in your AI Agents' conversations. Insider One detects the selected data types in conversation messages and masks them in the stored conversation history, so the values do not appear in plain text when your team reviews conversations.
The PII Configuration tab has two parts:
Predefined Rules: ready-made rules for common data types. Select the ones you want to mask.
Custom Rules: your own rules for data specific to your business, such as customer numbers or national ID numbers, written as regular expressions (regex).
Users with the Admin or Editor role can change the configuration. Other users can view it, with management actions disabled.
Your AI Agent still uses the information a customer shares to answer them and to run actions during the conversation, such as looking up an order. Masking applies to how the conversation is stored and shown afterwards.
Predefined rules
Select one or more data types to mask. Each rule works without any setup.
Data type | What it detects |
|---|---|
Credit Card Number | 13 to 19 digits, spaced or hyphenated |
Phone Number | Phone numbers that start with + or 0, such as +90 532 123 45 67 or 0532 123 45 67 |
IBAN | Country code followed by 24 digits |
MAC Address | 6 hex pairs, colon or hyphen separated |
Email Address | Name, @ sign and domain |
IP Address | Four numbers separated by periods |
Credit Card Number is always selected and cannot be turned off. Insider One detects credit card numbers and their security codes but does not store them: the stored conversation keeps a mask instead of the number.
Go to the PII Configuration tab.

Select the data types you want to mask.
Click Save.
Custom rules
Custom Rules let you mask data that has a format specific to your business. Each rule has a name and a regex pattern. Insider One masks every part of a message that matches the pattern.
Add a custom rule
In the Custom Rules section, click Add Custom Rule.

Enter a Name for the rule, for example Customer Number. Each rule name must be unique.
Enter the Regex Pattern that describes the data. Refer to Write a regex pattern below.
Test the pattern before you save it. Type a sample customer message in Test String, then check Redacted Preview. Every part that the pattern matches appears as asterisks.

Click Save.
After you add a rule, you can perform these actions from the rules table:
Turn a rule on or off with its status toggle. A rule that is off is kept but does not mask anything.
Edit a rule to change its name or pattern. Click Update to apply your changes.
Delete a rule. Deleting is permanent.
You can add up to 20 Custom Rules. A rule name can be up to 120 characters and a pattern up to 512 characters.
Write a regex pattern
For more information about regular expressions, refer to Regular Expression (Regex).
A pattern runs on every message in the conversation, and the data you want to mask usually sits inside a sentence. Follow these rules so your pattern masks the right values.
Do not use ^ and $. They match the start and end of the whole message, so the pattern only works when the customer sends the value alone. For example,
^[1-9][0-9]{9}[02468]$masks a message that is only 12345678902, but masks nothing in "My ID number is 12345678902, where is my order?".Mark where the value starts and ends. Use
(?<!\d)before and(?!\d)after a number, so the pattern does not match part of a longer number. For a value that mixes letters and digits, use(?<![A-Za-z0-9])and(?![A-Za-z0-9]).Make the pattern specific. A pattern such as
\d{10}matches every 10-digit number, including order numbers and prices. Add a fixed prefix, a fixed length, or the words customers write before the value.Do not use inline flags such as (?i). The panel does not accept them. To match both cases, list both letters, for example
[Tt]ax.Do not add a rule a Predefined Rule already covers. Select the predefined rule instead.
Test with real messages. In Test String, try messages that contain the value and messages that contain similar numbers that must stay visible, such as order numbers.
Example patterns
You can copy these patterns and adapt them to your data.
Data | Regex Pattern | Masked | Not masked |
|---|---|---|---|
Turkish national ID number (TCKN) |
| My ID number is 12345678902 | 02345678902 (starts with 0) |
Tax ID number, masks the number only |
| Tax ID: 1234567890 | Order 1234567890 (no tax ID wording before it) |
Passport number (one letter and 8 digits) |
| My passport is U12345678. | XU12345678 |
Order or customer number with a fixed prefix |
| Where is ORD-00123456? | ORD-123 |
Turkish license plate |
| 34 ABC 123 | 99 ABC 123 (no such province code) |
Custom Rules match the format of a value, not whether the value is real. The TCKN pattern above masks any 11-digit number that starts with 1 to 9 and ends with an even digit, without checking the ID number's checksum.
Things to know
Detection is pattern-based. A value written in an unexpected format, such as a phone number split by words, may not be detected.
A broad pattern can mask more than you intend, such as order numbers or prices. Check new rules with Test String before you turn them on.
Changes apply to messages processed after you save them. Conversations that were already stored keep their previous masking.
When two rules match the same text, the longer match is masked.
Phone Number masks numbers that start with + or 0. A number written without them, such as 532 123 45 67, is not masked. To mask these, add a Custom Rule.