Call Now: 1-800-258-9115

Questions? We have answers.

More info - FAQ ProTexting FAQ
What is a Keyword?
What is a Short Code?
Short Code 82257
Short Code 63566
Short Code 41242
Customer Support (HELP) for Campaigns
Why should I have a keyword in order to register?
What do I get when I register with
How do I start collecting mobile numbers?
Would I be able to send Bulk Text Messages?
What are the steps to follow when sending Group/Bulk Text Messages?
How to manage Distribution Lists
Would I receive replies from my Bulk Messages?
Amazon App - Test Orders
How much is one individual message?
Are replies FREE of charge?
How to setup text message forwarding?
Is there a limit to the amount of characters in a message?
How long does a message take to be delivered to its recipients?
What is the limit on my outgoing Text Messages?
How is a multipart SMS processed?
Why some of my contacts did not received my Text Message?
If my messages were not received, do I still get charged?
Which are the mobile providers that works with?
Would I or my clients receive at any point advertising messages from third parties?
Is Text Message delivery guaranteed to be delivered to my recipients?
How is my privacy protected?
I own a website and want to provide Text Messaging to my clients. Can I use for this?
What if there is a new local network in my area and i need coverage to it?
List of Allowed Characters for Sending Text Messages (group texting, single SMS, API outgoing text message)
Single characters that are considered as two when used in a text message
MMS file requirements
MMS outgoing messaging: Supported USA Carriers
Long Codes - Virtual Numbers Verifications
CNAME Set up instructions for Mobile Website Builder
SMS API Using Curl SSL Certification Check Script

SMS API Using Curl SSL Certification Check Script

If you decide to use our API with the SSL Certification Check, you will need to use a CURL script on your server so that the SSL Certification Check is successfully implemented. 

Here is an example of how the SMS API Code of ProTexting should look like:



curl_setopt($ch,CURLOPT_CAINFO,getcwd().'/cacert.pem'); /* fixed! */

$data = curl_exec($ch);

echo $data; 

/* result of API call*/


You will need to download the following file from the official Curl Website:

File to download on your server:  cacert.pem (243KB)

The info in RED in the code above is changed from our original SMS API Instructions, which are done without the SSL Certification Check.


If you do not want to use SSL Certification Check, just replace these lines in the code above:

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
curl_setopt($ch,CURLOPT_CAINFO,getcwd().'/cacert.pem'); /* fixed! */


curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

In case you need additional help, please contact ProTexting tech team


Need more information about our API for SMS, MMS, Contacts Management, Campaign Data Feeds - visit ProTexting API Documentation

Was this answer helpful? Still need assistance? Tweet us or send us an email.

Featured in:

Featured in:huffpost-inc-forbes-lifehack-fastcompany-thenextweb
Are you sure?