March 23, 2016

Message Sending API for Developers

Back to the Blog

pexels-photo (6)

Every Mobile Text Alerts account comes with free API access for developers to send out messages.  Here are instructions for using the API (contact us to receive your unique API key).

 

Format:

  • https://mobile-text-alerts.com/rest?key=yourAPIKey&request=yourRequest
  • All requests can be sent as either GET or POST requests.

 

Requests:

  • Send Message
    •  https://mobile-text-alerts.com/rest?number=1234567890&key=yourAPIKey&request=send_message&message=This+is+your+message
    • Parameters
      • number – The number to send to
      • message – The message to send
      • key – Your API key
    • To send to groups, curl https://mobile-text-alerts.com/rest?request=list_groups&key=yourAPIkey and it will give you a list of your groups with their IDs. Then send group_id to the send_message call.
  • Add Member
    •  https://mobile-text-alerts.com/rest?number=1234567890&key=yourAPIKey&request=add_member&first_name=John&last_name=Smith
    • Parameters:
      • number – The number you would like to add
      • first_name – The first name of the member you would like to add
      • last_name – The last name of the member you would like to add
      • key – Your API key
  • Delete Member
    •  https://mobile-text-alerts.com/rest?number=1234567890&key=yourAPIKey&request=delete_member
    • Parameters:
      • number – The number you would like to delete
      • key – Your API key

 

Pricing:

  • Or contact us to get set up on a plan at a rate of $.007/message.

Leave a Reply

Your email address will not be published. Required fields are marked *