How to set up 2-way communication

Wish to set up two-way communication wit...

Wish to set up two-way communication with webhooks?
We’ve provided a video below to show you exactly how easy it is. You can also follow the guide below.

Step 1: Go to dashboard

Sign in to your GatewayAPI-account and g...

Sign in to your GatewayAPI-account and go to the dashboard.

FAQ_quick_start-2way_communication-step_1-v2

Step 2: Navigate to “API”

Navigate to “API” in the menu to the lef...

Navigate to “API” in the menu to the left and click on “Webhooks“.

FAQ_quick_start-2way_communication-step_2@2x

Step 3: Choose webhook

Choose which webhook that you want to en...

Choose which webhook that you want to enable and click it to open it.

information

Unsure about which to choose? Contact support and they will help you right away within business hours.

FAQ_quick_start-2way_communication-step_3@2x

Step 4: Add webhook & URL

Click “add new” and enter th...

Click “add new” and enter the name of the webhook. Enter webhook URL.

FAQ_quick_start-2way_communication-step_4@2x

Step 5: Confirmation

Confirm by clicking “add new webhook”....

Confirm by clicking “add new webhook”.

FAQ_quick_start-2way_communication-step_5@2x

Manage webhooks

You can at all times manage your webhook...

You can at all times manage your webhooks under “Web Hooks” in the “API”-menu.

In order to use your webhook for two-way communication, you’ll need a script to handle incoming messages and automatic replies, as well as a tunnel to your local host in order for you to receive a URL. This URL is used as your webhook-URL. View the video tutorial below for examples with Python and ngrok.

  1. Copy your webhook-URL and paste it under “Web hook URL” in your GatewayAPI-Settings under “Web Hooks
  2. Click “Save”
  3. Navigate to “KEYWORDS” in the tab next to the “ENDPOINT SETTINGS” and assign a keyword to the webhook by checking the box next to the chosen keyword.
    Note: To get information on how to set up a keyword, please read this blog post.

Your keyword is now set up on your webhook!

If your script is written correctly, all messages sent to the GatewayAPI shortcode 1204 with the assigned keyword and an incoming message will now be handled automatically by sending the auto-reply back that you have set up.

You can at all times see an overview of your incoming traffic by navigating to “Traffic Log” and choosing “MO traffic” in the menu to the left.

Learn more on our YouTube channel

Go to our YouTube channel to watch video...

Go to our YouTube channel to watch videos on everything from setting up GatewayAPI subaccounts to setting up webhooks, Email to SMS etc.

GatewayAPI YouTube channel

faq_introduction-link_arrow
on this page