Integrate ProTexting with any system, website, app or CRM

ProTexting offers several API connectivity so you can fully integrate your account with any outside system. If you need to send and/or receive text messages (SMS and MMS), schedule campaigns, manage keywords, access your inbox, manage contacts or get JSON or XML feeds – you can use our API to easily manage data between platforms. 

1. SMS and MMS messaging - HTTP Restful API

  • Short codes and Long codes availability
  • Multiple short codes and local long numbers
  • International coverage for 200+ countries, 43 countries with local numbers for 2-way messaging
  • High throughput

2. Results per page and Pagination:

Every page contains 100 results. Use page as a get parameter to access the other pages.
 

example:

# Get the second page of results for the Inbox index action.
/inbox/index?page=2

 

Use HTTP Response Headers for pagination:

Header Description
X-Pagination-Current-Page The current page. Defaults to 1.
X-Pagination-Page-Count The total number of pages in the result set. Use this along with X-Pagination-Current-Page to determine if there are any remaining pages/records to be retrieved.
X-Pagination-Total-Count The total number of records.
X-Pagination-Per-Page The count records of page

 

Other valid solution is using the Link header introduced by RFC 5988.

Link: <inbox/index?access_token=xxx&page=1&per-page=100>; rel=self, <....> ; rel=first, ....... 

 

3. Supported request header formats:

  Content-Type Accept
JSON application/json application/json
XML application/xml application/xml

 

4. Supported response formats:

XML & JSON. The used format depends on the passed header in the request.

 

5. Error Codes:

The standard HTTP Status Codes are used. More information is available here: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

 

6. Date and Time Format:

All dates and times are in (GMT -5:00) Eastern Standard Time (EST) and the following format: YYYY-MM-DD HH:MM:SS

 

7. Getting started

More information on how to obtain your access token is available here:  API Getting Started »