You are viewing Skygear v1 Documentation.Switch to Skygear v0 Documentation

Sending verification SMS via Twilio

This article teaches you how to setup Twilio for sending verification SMS.

  1. Sign up account in Twilio and create a project.

  2. Obtain Account SID and Auth Token from Twilio General Settings.

    Twilio General Settings

Using test credentials can test API requests to send SMS messages without charging your Twilio account or sending an SMS. Learn more.

  1. Input Account SID, Auth token and Sender Phone Number in Skygear portal.

    Twilio Skygear Portal

Verify user with code API

At this point, your user will be able to obtain verification code via SMS. To verify user with code in your application: