Integration guides
Block disposable email in your stack
Each guide has a drop-in code snippet plus stack-specific notes — where to put the API key, fail-open vs fail-closed, and how the error reaches your UI.
- FastAPIPython
Piisend's own stack. Add a reusable dependency or service call before your signup endpoint creates a user.
Read the guide → - ExpressTypeScript
Express middleware calls Piisend on POST /signup (or your auth route) before passport or custom user creation runs.
Read the guide → - LaravelPHP
Create a custom validation rule and attach it to your RegisterRequest or Fortify/Breeze signup form.
Read the guide → - RailsRuby
Custom ActiveModel validator on User#email. Works with Devise, Sorcery, or hand-rolled signup controllers.
Read the guide →
Page 2 of 2 · Showing 9–12 of 12
Don't see your stack?
Point your AI assistant at our integrate.md — written for LLMs with the rules and prompts to wire Piisend into any codebase.
Read https://piisend.com/integrate.md and follow the
instructions on that page.FAQ
Where should the disposable email check run?
On your server, in the signup handler or an auth provider hook (Auth0 Action, Cognito PreSignUp, Firebase blocking function). Never in the browser: the API key would be exposed and the check easy to skip.
What if Piisend is slow or unreachable?
Every guide fails open: if the call errors or times out, the signup goes through. For high-fraud products you can fail closed and show a retry message instead.
Which endpoint do the guides call?
POST /api/v1/intelligence/email, which returns signals.disposable. For a full allow / review / block verdict with forwarding, phishing, MX, domain age and typo checks, call GET /api/v1/check/email/{email}.
Can I test an address before writing code?
Yes. Paste it into the free email checker or the disposable email checker. They run the same checks without an API key.