View as Markdown
FraudLabs Pro icon

FraudLabs Pro ACTION

Send SMS Verification

Send an SMS with verification code and a custom message for authentication purpose. NOTE: Make sure you have enough SMS credits to send any verification SMS. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's FraudLabs Pro account once, then configure and run Send SMS Verification from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "fraudlabs_pro-send-sms-verification",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    fraudlabs_pro: { authProvisionId: "apn_xxxxxxx" },
    tel: "Telephone Number",
    mesg: "Message",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Send SMS Verification inputs
Property Type Description
tel Telephone Number string
The recipient mobile phone number in E164 format which is a plus followed by just numbers with no spaces or parentheses. For example, +12015550123
Required
mesg Message string
The message template for the SMS. Add <otp> as placeholder for the actual OTP to be generated. Max length is 140 characters. For example, Your OTP for the transaction is <otp>
Required
countryCode Country Code string
(optional) ISO 3166 country code for the recipient mobile phone number. If parameter is supplied, then some basic telephone number validation is done.
Optional
format Result Format string
(optional) Format of the result. Available values are json or xml. If unspecified, json format will be used for the response message.
Optional
otpTimeout OTP Timeout string
(optional) Timeout feature for OTP value in seconds. Default is 3600 seconds(1 hour). Min timeout is 15 seconds whereas max timeout is 86400 seconds(24 hours).
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
fraudlabs_pro-send-sms-verification
Version
0.0.7
App
FraudLabs Pro
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes