Step 4: Configure Your Twilio Account

Now that the administrative set-up is done, you can set up your Twilio credentials! Follow the steps here in chronological order. This is a one-time set-up.

Before you start, note the credentials you'll need to save-keep to input into Postman:

  1. 1.
    account SID
  2. 2.
    API key SID
  3. 3.
    your secret key (this is unretrievable once you proceed beyond this step, so make sure you have saved somewhere, or you will need to redo the set-up process to generate new keys).
  4. 4.
    messaging service ID

1. Your Account SID

An account SID is the unique identifier assigned to your agency account, much like an NRIC number. This is immediately available on your dashboard once you log into your account console.
Locate your account SID

2. Your API key SID

To set up your API key for Postman, select API keys & tokens on the side dashboard under Accounts.
Select "API keys & tokens"
Then, create a new standard API key by selecting Create API key.
Select "Create API key"
Create a friendly name for your API key so you can easily identify it in the future, and select Standard as the API key type.
Name your API key, and set key type as "standard"

3. Your Secret Key

Save your secret key - remember, once you lose this or if you do not save it, you will NOT be able to retrieve it again after moving on to the next step!
Save the API key SID and Secret Key somewhere safe!
Make sure you copy and save these details somewhere safe. Then, check the box and click "DONE".

4. Your messaging service SID (without buying a phone number)

This is the last detail you need to save before proceeding to Postman.
Note: we used to ask users to purchase a US phone number at USD$1.15. This will enable a one-way messaging ability (from you to recipient). With the implementation of the Sender ID regime by IMDA, this is no longer required - only if you are sending ONLY to Singapore numbers.
However, if you are sending SMSes to foreign numbers, you will still need to purchase a phone number. Otherwise, your messages will not be delivered. Find out how to purchase a phone number here, and follow these steps to set up your messaging service ID. You can ignore the steps below if you are purchasing a phone number.
If you don't have a need to purchase a phone number, follow these steps to obtain your messaging service SID.
Go back to your Twilio home page, and selectSet up a Messaging Service.
Click "Set up a Messaging Service"
On the side bar, click Develop > Messaging > Services > Create Messaging Service.
Create your messaging service
Name your messaging service and indicate the purpose. This will help you better identify your use cases if you have multiple, and will also help Twilio detect your specific use case quicker should you need their help for troubleshooting.
Fill in the required details

Set up your alphanumeric Sender ID

Configure your alphanumeric Sender ID by selecting Alpha Sender under Add Senders > Sender Type.
Select "Alpha Sender"
Click Continue. You may ignore the notification indicating that Alphanumeric Sender is not enabled for this account.
Specify the Alphanumeric Sender ID you want to use in the text box. It is best to align this with the Sender ID that you registered with SGNIC.
Add in your Sender ID
If the Alphanumeric Sender ID you chose is protected, you will notice either of the two things below.
  • You encounter an error when setting it up on the Sender Pool page
  • You may not receive any message when you send a test SMS
This also means that this Sender ID has been registered by another entity and you will not be able to use it.
Once you have completed the step above, you may click the Skip Setup button below.
Complete the set up
After clicking "Skip setup" in the step above, you should be brought to the Properties page of this Messaging Service. On this page, you should be able to find the Messaging Service ID.
This is your messaging service SID

Or, watch this video for a visual learning experience!