Get the SDK
We provide SDKs for Node.js, Python, and Go 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 your 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.