Skip to main content

๐Ÿ’ฌ SMS Verification

SaaSykit comes with built-in support for SMS verification. This allows you to verify your users' phone numbers via SMS providers like Twilio.

Verify phone number

This feature is used to verify users that are signing up for a trial without payment to avoid abuse of the system, but it's a general-purpose feature that can be used in any part of your application.

You can configure the SMS verification settings from the Admin Panel.

Verification Providersโ€‹

SaaSykit comes with support for Twilio as SMS providers out of the box, but you can easily add support for any other SMS provider.

UserVerified Eventโ€‹

When a user verifies their phone number, a UserVerified event is fired . You can listen to this event and perform any action you want when a user verifies their phone number.

Choosing Your Default SMS Verification Providerโ€‹

To choose your default SMS verification provider, go to the Admin Panel and under "Settings" click on "General Settings", then pick the "Verification" tab.

Select SMS verification provider

Configuring Your Verification Providerโ€‹

After selecting your default verification provider you need to configure its credentials.

To configure your verification provider, go to the Admin Panel and under "Settings" click on "Verification Providers". You will be redirected to the verification providers page.

Providers

Pick the verification provider you want to configure then click on "Edit credentials". You will be redirected to the verification provider credentials page.

Credentials

Once done, click on "Save Changes" to save your changes and you're good to go.