Skip to content

SMS

Empower your platform to communicate in real-time through SMS! The TwilioSmsHook class integrates Unity with the robust Twilio API, enabling the delivery of timely SMS notifications directly to the specified phone numbers.

You need to sign up for Twilio and get your AccountSid, AuthToken, and the Twilio phone number before you can start sending SMS messages.

Guide

Example

TwilioSmsHook twilio = new TwilioSmsHook(accountSid, authToken, 
    fromPhoneNumber, toPhoneNumber);

twilio.SendAsync("Your message content here!");