Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки