Elleined / twilio-sms-sender-api

API for sending SMS using Twilio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twilio-sms-sender-api

Sending text message using spring boot with twilio

How to run this project

  • First create a twilio refer to the provided links below on how to create twilio account.
  • Second supply the appropriate values specified in application.properties file and everything should works fine
  • And hit the this endpoint with request body of
  POST http://localhost:{postNumber}/twillio/sendSMS
  Content-Type: application/json

  {
    "receiverNumber": "+639#######",
    "body": "Your message"
  }

// Use the appropriate country code. For me in Philippines its +63

How many sms can you send using twilio

  • Twilio Trail account only last for 45 days
  • After this free Trail credit reaches to zero that will be your limit

image

Run with docker server

docker run -itd --rm -p 8070:8070 --name tssa_app --env-file ./tssa.env elleined/tssa

Run with docker compose

docker compose --env-file ./tssa.env up

Check API with Postman

Run In Postman

Usefull links

About

API for sending SMS using Twilio


Languages

Language:Java 94.8%Language:Dockerfile 5.2%