跳到正文
TakoAPI
返回技能列表

didit-phone-verification

由 rosasalberto 提供

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

简介

Integrate Didit Phone Verification standalone API to verify phone numbers via OTP.

描述

该技能的功能

Phone number verification via one-time code using Didit's standalone API. Sends a code to the user's phone through SMS, WhatsApp, Telegram, or voice call, then validates the code they provide. Also detects disposable, VoIP, and high-risk numbers.

Combines OTP delivery across four channels with built-in fraud signals like disposable and VoIP detection, so you don't need separate services for each.

何时使用

  • Verifying phone numbers during account signup
  • Adding phone-based 2FA to an existing login flow
  • Blocking disposable or VoIP numbers from registering
  • Sending OTP via WhatsApp when SMS delivery fails
  • Flagging high-risk phones before processing a transaction

示例工作流

输入

User asks: verify the phone number +14155552671 via SMS

智能体
  1. 1

    Calls POST /v3/phone/send/ with the phone number and channel set to sms

  2. 2

    Waits for the user to provide the 6-digit code they received

  3. 3

    Calls POST /v3/phone/check/ with the phone number and the code

  4. 4

    Reads the response status to determine if the code is Approved, Failed, or Declined

  5. 5

    Returns carrier info and any fraud warnings from the phone object

输出

Phone verified as Approved, carrier ATT (mobile), US number, not disposable, not VoIP

前置要求

  • DIDIT_API_KEY environment variable
  • Didit account at business.didit.me
  • Didit credits (paid per verification)

安装

clawhub install rosasalberto/didit-phone-verification

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

链接