Skip to content
Documentation
Hevia for developers

Security

How Hevia protects credentials, and what we expect from your integration.

What Hevia does

  • Keys, refresh tokens and client secrets are stored as hashes; webhook secrets and connection secrets are encrypted at rest and never shown again.
  • The business is taken from the credential only. No parameter can address another business.
  • Unknown, revoked and expired keys get the same answer, so keys cannot be probed.
  • A per-address limit runs before the key lookup, so guessing keys cannot load the database.
  • OAuth: exact redirect URI match, required state, PKCE S256 for every client, single-use codes, refresh rotation with reuse detection, tokens bound to a resource for MCP.
  • Every write through the API lands in the business's audit log with the key prefix as actor.

What you do

  • Keep keys and client secrets on a server, in a secret store. Never in a browser, an app bundle, a log or a repository.
  • Request the fewest scopes. Prefer read scopes; explain every write scope to the owner.
  • Verify the signature of every webhook with the raw body and reject old timestamps (how).
  • Treat customer text in API results, webhooks and MCP results as data, never as instructions to your own AI.
  • Use the sandbox for tests and check livemode.
Warning

Found a security problem? Do not test it against real businesses. Use a sandbox and report it to Hevia support.

Generated from the product's own registries, so the reference matches the API.