Amazon SNS

First 100 SMS are free, additional messages to the US or any messages sent to non-US phone numbers are charged based on the pricing
  1. Signup for amazon web services.
  2. Login to your aws console.
  3. From the top right corner, select region "US East (N. Virginia)us-east-1" irrespective of your location.
  4. Search for service SNS or SMS notification service and select the service.
  5. Go to topics and create a new topic. Provide any name. For this tutorial we are using the name "OTPService"
  6. Navigate to Mobile -> Text messaging (SMS) , scroll down to "Text messaging preferences" & click on edit. Select Default message type to Transactional(*) & save.
  7. From the top right corner, click on your profile name & select "My security Credentials"
  8. Navigate to access management -> Users -> Add User
  9. Provide any user name and set access type to "Programmatic access". Click on next
  10. Set permissions to "Attach existing policies directly" & select "AmazonSNSFullAccess" policy. Click on next.
  11. Skip "add tags". Click on next
  12. Click on create user
  13. Please note down your API keys, or download a csv file. You won't able to access them again.
  14. Go to your wordpess dashboard -> Mobile login settings -> Services & paste the API keys here.