Skip to main content

Resetting your API keys

How to reset your Trial Hook API keys

Updated over 2 months ago

You can reset your API key at any time from Settings by clicking Reset API key.

This is useful if you believe your API key has been exposed, compromised, or if you simply want to rotate it for security reasons.

What happens when you reset your API key?

When you generate a new API key:

  • Your current API key is immediately invalidated and will stop working

  • A new API key is generated for your account

  • You must update the new key everywhere it’s used, including:

    • Your JavaScript snippet

    • Webhook URLs

    • Any API calls or integrations relying on the old key

This action cannot be undone.

What should I do after resetting?

After generating a new API key, make sure to replace the old key in all your integrations as soon as possible to avoid disruptions.

If you’re unsure where your API key is being used, double-check your website code, backend services, and any third-party tools connected to Trial Hook.

Did this answer your question?