Testing
Simulate OTPs to test your integration
To confirm that your integration works correctly, simulate OTPs without incurring any costs using special test numbers.
Test numbers let you simulate several scenarios:
- Successful authentication flows
- Errors resulting from too many attempts
- Errors due to invalid codes or expired authentications
It’s currently not possible to assign a specific error code to a test number. If you are interested about this feature, feel free to contact us.
How to use test numbers
Upon creation of a test number, you need to provide a specific code to be associated to it. It will be the only one to be accepted by the Check endpoint.
To create a test number, go to the Numbers page on your Dashboard and click the Add button.
Add test number modal
Next steps
Follow the API reference to get detailed information about the Prelude API.
API Reference
Learn more about Prelude’s API endpoints.
Was this page helpful?