Home > Communication > Integrate SMS system with a Twilio account

Integrate SMS system with a Twilio account

Twilio is an SMS service provider that supports sending and receiving SMS messages. Integrating your Twilio account with GymMaster will let GM send SMS on your behalf, and from your dedicated Twilio mobile number.

We will be making heavy use of the Twilio support center articles in this guide, as their screen shots and links of the Twilio software should be kept up to date.

Note: Having an account with an SMS provider is required for sending SMS communications in some regions, including the United States & Canada.

 

Step 1) Sign up for a Twilio account

Twilio is an SMS service provider that supports sending and receiving SMS messages. Integrating your Twilio account with GymMaster will let GM send SMS on your behalf, and from your dedicated Twilio mobile number.

We will be making heavy use of the Twilio support center articles in this guide, as their screen shots and links of the Twilio software should be kept up to date.

Note: Having an account with an SMS provider is required for sending SMS communications in some regions, including the United States & Canada.

 

Step 2) Set up a Twilio phone number

This is the number that your SMS will come from, i.e. the number member's will see when you send them a message. These cost a small amount per month, however your first month can be purchased using the free account credit.

You have two types of options here:

a) Toll-free: About $2/month for a number. Slightly higher cost (0.25c extra per segment). Slightly higher SMS filtering to clients. Simpler verification process.
b) Local: About $1/month for a number. Almost no SMS filtering. Longer verification process.

We will be outlining how to set up a Local number in this guide, so if you go with Toll-free just skip steps 4 and 6 in this guide.

Twilio Guide: Get your first Twilio phone number

 

Step 3) Set up Reply Hooks

This will allow any replies from your members to be pulled directly into GymMaster.

Navigate to your Manage Numbers page, and click edit on your new phone number.

Paste in the following URL where shown: https://sms.webhook.gymmaster.org/reply-sms/twilio

 

 

Step 4) Set up a Messaging Service

For our purposes, all we need a messaging service for is A2P 10DLC registration. You must attach the registration to a Messaging Service, so we’re setting up the service first.

Follow Steps 1 & 3 found on the Twilio help page Messaging Services to get one set up, and attach your Twilio phone number.

 

Step 5) Upgrade your Twilio account

All this requires is putting some money on the account, so that it gets upgrade out of “Trial”.

The minimum top-up at the time of writing is $20 USD, and can be done from your Twilio Billing Page.

 

Step 6) Register for A2P 10DLC (US/CA)

To allow sending messages through a program in North America, your account needs to be verified first by the carriers. Twilio have created a streamlined process you can follow. You can find this by heading over to Develop -> Messaging -> Regulatory Compliance -> A2P 10DLC Overview. Once there, remember to register for ‘Sole Proprietor’ which makes the process much easier.

If there’s any confusion during the process, please take a screen shot of the page/questions before contacting the support team, and include them in your email.

 

Step 7) Integrate your Twilio account with GymMaster

To integrate your Twilio account with GymMaster, find the following details in the Account Info section of the Twilio Console, then enter these in GymMaster under Settings > Integrations > Twilio.

  • Account SID
  • Auth Token

Twilio details are configurable per club you have, so you can have a different Twilio account and number per facility, or alternatively have multiple facilities share an account.