didit-phone-verification
rosasalberto 제작
Coding Agents & IDEs요약
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
Calls POST /v3/phone/send/ with the phone number and channel set to sms
- 2
Waits for the user to provide the 6-digit code they received
- 3
Calls POST /v3/phone/check/ with the phone number and the code
- 4
Reads the response status to determine if the code is Approved, Failed, or Declined
- 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-verificationCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.