Quickstart
Send and verify a code in 2 minutes and 3 simple steps with our SDKs, available for Node.js, Python, and Go.
Get the SDK
We provide SDKs for Node.js, Python, and Go to make your life easier.
Want to see another language make its way to the list? Tell us
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:
Test your integration
To make sure your integration is correct, use test numbers in your automated tests. Add them in the Settings > API tab.
Add fraud signals
Add Signals such as ip
,
device_id
and is_trusted_user
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:
API Reference
Learn more about Prelude’s API endpoints.