HEADER.png

API Integration | Webhooks

Advanced Users

Step 1

App Cloud

Step 2

Menu

Step 3

Automatic

Step 4

API

SEND API

API Key: Your_API_Key_Found_Here

SEND API URL:  https://api.smsgatez.com/index.php/SendApi

Params (method GET/POST):

  1. apiKeyYour_API_Key (required)
  2. from: Your Gatez phone number or ‘rotatePhoneNumbers’ to use smart rotator (required)
  3. to: receiver phone number (required)
  4. message: the body (required)
  5. showInbox: {true|false} default is false

Example:

Gatez Phone:

https://api.smsgatez.com/index.php/SendApi?apiKey=Your_API_Key&from=%2B12223334444&to=%2B15556667777&message=Hello%20How%20are%20you

Rotate Phone Numbers:

https://api.smsgatez.com/index.php/SendApi?apiKey=Your_API_Key&from=rotatePhoneNumbers&to=%2B15556667777&message=Hello%20How%20are%20you

The response is in JSON format{“status”:”success|fail”,”reason”:”ERROR_DETAILS”,”from”:”FROM_PHONE”,”to”:”TO_PHONE”,”message”:”MESSAGE”}

Post back delivery receipt URL:  the URL you want to receive delivery receipt

Method: GET or POST

SMSGatez will post back to the URL you have input with these params: from, to, and status={DELIVERED, SENT, FAILED, DELIVERABLE, UNDELIVERED, REJECTED, QUEUED}

ALWAYS SAVE YOUR CHANGES BY CLICKING ON UPDATE!

CONTACT API

Params (method GET/POST):

  • apiKey: Your_API_Key (required)
  • group: group name (required)
  • phone: phone number of the contact
  • email: email of the contact
  • firstname: first name
  • lastname: last name
  • address: address
  • city: city
  • state: state
  • zip: zip code
  • country: country (default US)
  • optedIn: true|false (default false)

Example:
https://api.smsgatez.com/index.php/ContactController/createContact?apiKey=Your_API_Key&phone=%2B12223334444&group=Test_Group&optedIn=true

The response is in JSON format: {“status”:”success|fail”,”reason”:”ERROR_DETAILS”}

WEBHOOKS

Syntax:
<your_url.com><?|&><EXT_PHONE_NUMBER_PARAM_NAME>=[SG_PHONE_NUMBER]&<EXT_VIRTUAL_NUMBER_PARAM_NAME>=[SG_VIRTUAL_NUMBER]&<EXT_FIRST_NAME_PARAM_NAME>=[SG_FIRST_NAME]&<EXT_LAST_NAME_PARAM_NAME>=[SG_LAST_NAME]&<EXT_MESSAGE_PARAM_NAME>=[SG_MESSAGE]&<EXT_TIMESTAMP_PARAM_NAME>=[SG_TIMESTAMP]&<EXT_ADDRESS_PARAM_NAME>=[SG_ADDRESS]&<EXT_CITY_PARAM_NAME>=[SG_CITY]&<EXT_STATE_PARAM_NAME>=[SG_STATE]&<EXT_ZIP_PARAM_NAME>=[SG_ZIP]&<EXT_CARRIER_PARAM_NAME>=[SG_CARRIER]&<EXT_EMAIL_PARAM_NAME>=[SG_EMAIL]

  • Replace <EXT_…> with your API params/info, update <?|&>, don’t change [SG_…] params.
  • SG_PHONE_NUMBER: the recipient phone number(don’t change).
  • SG_VIRTUAL_NUMBER: the virtual number that receives the incoming message.
  • First name, last name, EXT_VIRTUAL_NUMBER and message are optional.

Important: Global webhook will be overwritten by auto reply webhook!

INCOMING WEBHOOKS

Incoming Webhooks can be found under Automatic>Replies

GLOBAL WEBHOOKS

Global Webhooks are found under Settings>Advanced Settings

Solutions we can help you with

Group-39.svg
Group-28.svg
Group-29.svg

Marketing

Execute SMS Marketing campaigns seamlessly with our web-based SMS solution.

Read More

Lead Generation

Reach a vast audience via efficient SMS lead generation campaigns.

Read More

SMS Support

Provide instant customer support with automated SMS messages

Read More

Surveys

Send mobile surveys, gather valuable data, and customer feedback

Read More

Bulk Messages

Send personalized messages seamlessly via our bulk SMS software

Read More

Coupon

Share coupons, discount codes, and vouchers via text with your audience.

Read More

Newsletter

Promote your product, services and content via SMS

Read More

Registeration

Carry out bulk registrations and onboard people seamlessly

Read More

Autoresponder

Send automated text messages to the engaged targeted audience.

Read More

Affiliate Promotions

A feature packed platform for affiliate marketers to reach out to the masses

Read More

Reminders

Send SMS Reminders in bulk to your audience and customers

Read More

Hiring & Staffing

Streamline and speed up the recruitment process via SMS

Read More

Campaigns

A one-stop web-based solution to help you send SMS Campaigns.

Read More

Advertising

Advertise your product and services to the masses via SMS

Read More

Alerts

Send SMS based prompt alerts and notifications without any hassle

Read More

Push Notifications

Send push SMS notifications hassle-free via our web-based SMS solution.

Read More

TESTIMONIALS

What Our Clients Say

Integrations

We integrate with all your favorite SMS Services & API's

1.png
2.png
3.png
4.png
mob.png
7.png
8.png
9.png
10.png
11.png
thinq-log.jpg
twilio-logo-red.png

Get Started / Signup

Doing a simple research is always good to start the process. So
we always start with strategic plan.

Shopping Basket