跳到正文
TakoAPI
返回技能列表

didit-email-verification

由 rosasalberto 提供

Coding Agents & IDEs
160下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Integrate Didit Email Verification standalone API to verify email addresses via OTP.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: verify user@example.com and decline if the email is breached or disposable

智能体
  1. 1

    POST /v3/email/send/ with the email address and optional fraud signals such as IP and user agent

  2. 2

    Wait for the user to submit the OTP code they received

  3. 3

    POST /v3/email/check/ with the email, code, breached_email_action set to DECLINE, and disposable_email_action set to DECLINE

  4. 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

前置要求

  • DIDIT_API_KEY environment variable
  • Didit account at business.didit.me
  • Didit credits (pay-per-use billing)

安装

clawhub install rosasalberto/didit-email-verification

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接