-
API DOCUMENTATION
GETTING STARTED -
MESSAGES
- POSTSend a Message
-
NUMBER MANAGEMENT
- GETActive Numbers
- GETSearch Numbers
- POSTGet a Number
-
ACCOUNT
- GETGet Balance
-
TEST METHODS
- GETPing
-
CALLBACK EVENTS
- POSTInbound Message
- POSTDelivery Receipt
1. Add an Application
Log into you TextPort account. If you don't have an account yet, click here to sign up.
Click your username in the top-right corner of any TextPort page. Select API Settings to display the page shown below.
Enter the name of your application. The API Token and API Secret will be generated automatically. These are your API username and password. The secret key can be changed at any time by clicking the "generate new secret" link.
(Optional) If you intend to have TextPort forward inbound messages to your site/app, enter the URL of the endpoint or web-hook that will receive messages.
(Optional) If you implement security on your API endpoint, enter the username and password for that endpoint. TextPort will use basic authentication in the header to authenticate against your URL.