SMS extension guidance

Hey,

Like others have posted in older topics, I’m also interested in integrating SMS notifications (via Twilio). that would essentially mirror the majority of emails sent out (message received, booking received, etc.).

Would you be able to provide as much guidance as possible in terms of hooking into all of the events, fetching the information I need and constructing a dynamic message with the appropriate links to view the booking, etc.

I know there’s a lot of interest in this, and I’m happy to share whatever I come up with.

Cheers,
Chris :victory_hand:

1 Like

Hi,

I recommend using the hivepress/v1/emails/email/send hook, this way you can duplicate sending email notifications via SMS as this hook fires for any email notification. Please check the available PHP libraries for Twilio or you can send Twilio API requests via wp_remote_post, this may be enough. The phone number can be fetched from a custom user attribute.

Hope this helps

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.