Get the Backend SDK
We provide backend SDKs for Node.js, Python, Go, Kotlin/Java and Ruby to make your life easier.Initialize the SDK
Initialize the SDK by pasting the snippet below.Get your
API_KEY from the Settings > Keys page of the Prelude dashboard.Send a code
Call the Create Verification endpoint to send a verification code to a phone number. You will receive a code by SMS.Verify the code
Call the Check endpoint with the same phone number and the code you received.Congratulations, you’ve just integrated Prelude! Now, you can go to the
Dashboard and see your OTP codes in the Authentications
tab.
Going further
Here are a few more steps before moving on to production:1
Test your integration
To make sure your integration is correct, use test
numbers in your automated tests. Add them in the
Settings > API tab.
2
Add fraud signals
Add Signals such as
ip,
device_id and device_model to your
Verification requests to better prevent
fraud and reduce your expenses.Next steps
Get more in-depth with our guides to prepare your integration for production:Verification Lifecycle
Understand the verification lifecycle and how it allows you to build a fully-functional OTP flow in your application.
Prevent Fraud
Prevent fraud and only let real users through.
Message Content
Learn the various customization options for your verification messages.
Webhook
Act on events coming from the Verification API.