Security and data protection
How Heyllo isolates tenants, protects credentials, deletes data and records changes, and what partners are responsible for.
The platform is built so that one partner, or one of a partner's customers, cannot read or affect another's data, and so that a leaked credential has a small, revocable reach.
Tenant isolation
- Every request is bound to one organisation and one environment by its key, and narrowed further to a workspace or bot when the key is bound.
- Every lookup is scoped to that binding. Objects outside it return
404, so their existence is not revealed. - Live and test data are separate. A test key cannot read or change live objects, and the reverse.
- Calls from the API to Heyllo's internal services carry a signed, short-lived context naming the bot, the permitted models and tools. Internal services are not reachable from the internet.
Credentials
- API keys are stored only as keyed HMAC-SHA256 hashes and compared in constant time. A key is shown once and cannot be recovered.
- Webhook signing secrets are encrypted at rest with AES-256-GCM and returned only when created or rotated.
- Keys support scopes, workspace or bot binding, IP allowlists, expiry, and rotation with an overlap window. Revocation takes effect within 30 seconds.
- Failed authentication attempts are rate-limited per IP address, and every failure returns the same generic error.
Network
- The API is served over HTTPS only.
- Webhook delivery goes through an egress guard: URLs must be https and public, DNS is resolved again on every attempt, private, loopback and link-local addresses are refused, and redirects are not followed.
Agent safety
- Models and optional tools are limited to what your contract enables.
- Each reply has a 120-second time limit and a bounded number of tool steps.
- The email tool can only send to the addresses in the bot's handoff
notify_emails, never to an address chosen by an end user.
Data deletion
DELETE /v1/workspaces/{id}takes effect immediately: the workspace and its bots stop working and every key bound to it is revoked.DELETE /v1/bots/{id}deactivates a bot. Its knowledge and conversation history are kept.- An endpoint for exporting or deleting one end user's data is not available yet. Send privacy requests, and requests to permanently purge a deleted workspace's data, to [email protected].
Audit
Heyllo records an audit entry, with the acting key, IP address and request ID, when keys are created, rotated or revoked, when webhook endpoints are created, changed, deleted or have their secret rotated, when workspaces are created, suspended, reactivated or deleted, and when bots are created or deleted. API requests are logged with metadata only: method, route, status, latency, error code and IP address. Message content is never written to the request log.
Test mode
Use test keys for development and CI. Test data is isolated from live data, test usage is never billed, and test rate limits are lower. Do not put real customer data in test workspaces.
Your responsibilities
- Keep secret keys on servers only: never in browser code, mobile apps or source control. Store them in a secrets manager.
- Use workspace- or bot-bound keys for services that act for one customer, and grant only the scopes they need.
- Set IP allowlists on keys used from fixed egress addresses.
- Verify every webhook signature and timestamp before acting on it.
- Only send end-user identifiers and attributes you are entitled to share.
- Tell your customers that Heyllo processes their conversation data on your behalf, and pass deletion requests on to us.