SMS API

Quick Start: PHP with cURL

There are three steps to integrating the programmable SMS API into your PHP with cURL project:

1. Obtain an Esendex License Key.

Sign up for an account and complete the request form.

2. Create the request code with Notepad++.

a. Start a new project within Notepad++. Select the menu item Language > P > PHP.

b. Add the request code for the SMS method of the API. (In this example we are using PHP with cURL.)

c. Once you have added all desired request code, save the file as shown.

d. Ensure the file is saved as a .php file type.

3. Call the SMS API method.

a. Navigate to your web development server in your browser and click on the project folder. (In this example we are using WAMP.)

b. Click on your project name.

c. Examine the results.

Let’s start sending, together.