Browse docs
Security and privacy
How identity verification protects visitor data, what integrations can read, who can see what, and how exports, retention and deletion work.
This page explains how Axoryn protects your visitors’ data and your workspace: identity verification, what the AI and integrations can read, where the widget can load, who on your team can see what, and how long data is kept. It is for owners, admins and developers who need to know these rules before going live.
Identity verification
Anyone can type an email address into a chat, and any page can call Axoryn.identify() with any user id. So Axoryn treats every identity the widget sends as a claim until your server proves it.
To prove it, your server signs the signed-in user with the project’s secret key:
user_hash = hex(HMAC-SHA256(secret_key, user_id))
Use the email in place of user_id when your app has no user id. Pass the result to Axoryn.identify() as user_hash. When a user_id is sent, the hash must cover the user_id, and the email stays a claim. Emails are accepted exactly as sent or lowercased.
Step-by-step code is in Identify your users.
What changes when a visitor is verified
Claimed identity (no valid user_hash) | Verified identity | |
|---|---|---|
| Name and details in the conversation | Shown for context | Shown |
user_id passed to integrations | Never | Yes |
| Integration lookups about the visitor (errors, issues, billing, your app’s data) | Never | Yes |
| AI recall of the visitor’s earlier conversations | Never | Yes, same project only |
| Merging with another visitor record that has the same email | Never | Only when the email itself is proven |
An email address counts as proven when the user_hash was computed over that email, or when the visitor came back through a link in an email Axoryn sent them.
Note: Lookups that search by email, such as finding the visitor’s Stripe customer, need a proven email. If you sign the
user_id, the email stays a claim, so those lookups find nothing.
Manage the secret key
The secret key is in the project’s Settings, under Identity verification and allowed sites.
- Only owners and admins can see the key. Members see Only account admins can view the verification key.
- Keep it on your server. Never put it in HTML or browser JavaScript.
- Only the owner can select Generate new key. The old key stops working immediately: visitors signed with it are no longer verified until your server uses the new key. This can’t be undone.
The key is stored encrypted.
Where the widget can load
The widget key in your snippet is public: anyone can read it in your page source. To stop other sites from using it, list your sites in Allowed sites in the project’s settings.
- Enter one per line: a domain (
acme.com), a wildcard subdomain (*.acme.com) or a full origin (https://app.acme.com). - Up to 50 entries.
- Leave it empty to allow any site. This is the default.
Requests from a site that isn’t on the list get an error and don’t use your quota. The project’s Domain and the Website you enter during setup do not restrict anything on their own.
What the AI reads and says
The AI answers only from your knowledge base, the conversation, and integrations you connected. In the project’s Guardrails settings:
| Setting | Default | What it does |
|---|---|---|
| ”Mask personal data in visitor messages” | On | Emails and phone numbers in visitor messages are masked before the AI reads them. |
| ”Keep personal data out of replies” | On | Emails, phone numbers, ID numbers and card numbers never appear in a reply. |
| ”Block manipulation attempts” | On | Rejects messages that try to change the AI’s instructions. |
| ”Earlier messages the AI reads” | 20 | How many earlier messages in the conversation the AI reads, from 1 to 20. Older ones are left out. |
When the AI recalls a verified visitor’s earlier conversations, it uses only messages the visitor could already see. Internal notes from your team are never included.
See AI agent settings.
What integrations can read
You connect integrations per project. Their credentials are stored encrypted.
- Error and issue trackers (Sentry, Raygun, Rollbar, Better Stack, Linear): a verified visitor’s conversation can be matched to your tracked errors and issues. For visitors who aren’t verified, the AI can only see issues you explicitly marked public.
- Stripe: uses a restricted key (
rk_…) you create with read access. The lookup runs only for a verified visitor with a proven email. It returns the customer’s name, email, creation date, currency, whether they are delinquent, their subscriptions and recent invoices. It never returns card, address or payment method data. - Your own app: the user id and email sent to your endpoints come only from a verified identity, never from the AI.
When an integration action would change something, such as resolving an issue or running an action in your app, it waits for a teammate’s approval inside the conversation.
What the widget stores in the visitor’s browser
The widget keeps a visitor id, a pointer to the current conversation and some display state in the browser’s local storage, one set per project. If local storage isn’t available, such as in some private windows, it keeps them in memory for the visit. The widget doesn’t set cookies.
The visitor id works like a password for that visitor’s conversations, so clear it when someone signs out of your app: call Axoryn.reset(). The widget also resets on its own when identify() is called with a different user, and when the visitor selects Not you?. See Widget JavaScript API reference.
The widget shows visitors your teammates’ first names and initials only, never their emails.
When the widget itself fails to load or send, it reports the error to Axoryn so we can fix it. These reports never include message content, visitor ids, tokens or email addresses.
Who on your team can see what
| Action | Owner | Admin | Member |
|---|---|---|---|
| Read and answer conversations | Yes | Yes | Yes |
| Change project settings, widget design and integrations | Yes | Yes | No (view only) |
| See the identity verification key | Yes | Yes | No |
| Generate a new identity verification key | Yes | No | No |
| Manage billing | Yes | Yes | No (view only) |
| Export the workspace’s data | Yes | Yes | No |
| Delete the workspace | Yes | No | No |
See Team, invitations and roles.
Your sign-in
- Passwords need at least 8 characters. You can also sign in with Google.
- Changing your password signs out every other device.
- Changing your email asks for your current password, and the new address only takes effect after you open the confirmation link sent to it.
- Sign out everywhere in Account settings ends every session, including the current one.
See Account and profile settings.
Exports, retention and deletion
| Situation | What happens to your data |
|---|---|
| You request an export | Owners and admins get an emailed link to a ZIP of JSON files, valid for 7 days. Secrets, passwords, tokens and API keys are never included. |
| You delete a project | Restorable for 30 days, then permanently deleted with its conversations, visitors, knowledge base and AI settings. |
| Your subscription ends | Projects, articles and conversations are kept for 90 days, then the workspace is deleted. |
| The owner deletes the workspace | The widget goes offline right away. After 14 days everything is permanently deleted, unless the owner cancels. |
Export and deletion work even without an active subscription.