didit-email-verification
par rosasalberto
Coding Agents & IDEsRésumé
Integrate Didit Email Verification standalone API to verify email addresses via OTP.
Description
Ce que fait ce skill
Verifies email addresses using a two-step OTP flow: send a code to an address, then check the code the user provides. Detects breached, disposable, and undeliverable emails, and accepts fraud signals like IP address and user agent for risk scoring. Codes expire after 5 minutes with a maximum of 3 check attempts per code.
Combines OTP delivery with breach detection, disposable email filtering, and fraud signals in one API, so teams don't need to connect separate verification and risk-scoring services.
Quand l'utiliser
- Confirming email ownership during account registration
- Blocking signups from disposable or temporary email providers
- Rejecting emails found in known data breach databases
- Adding OTP confirmation to checkout or payment flows
- Flagging undeliverable addresses before sending transactional email
Exemple de workflow
User asks: verify user@example.com and decline if the email is breached or disposable
- 1
POST /v3/email/send/ with the email address and optional fraud signals such as IP and user agent
- 2
Wait for the user to submit the OTP code they received
- 3
POST /v3/email/check/ with the email, code, breached_email_action set to DECLINE, and disposable_email_action set to DECLINE
- 4
Read the response status and email.warnings fields to determine the approval or decline reason
Status 'Approved' if the code is correct and no policy violations, or 'Declined' with a warning such as BREACHED_EMAIL_DETECTED indicating the specific reason
Prérequis
- DIDIT_API_KEY environment variable
- Didit account at business.didit.me
- Didit credits (pay-per-use billing)
Installation
clawhub install rosasalberto/didit-email-verificationExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.