NAV

Introduction

Infobip is a communication platform consolidates various communication channels into a single, seamless, and powerful platform.

We provide an easy-to-use integration for MoyaApp detailed below. If you run into any issues, or have questions or feedback, please let us know by sending a message to api-support@moya.app. We support the infobip chatbots using the open channel. For details on how this works please refer to Infobip Documentation

Setup steps

Get a Moya token and endpoint

Please contact us at api-support@moya.app with your details to get the account set up. We will provide you with a token, and optionally a number if you don't have an existing number to use.

Integrating Chatbot with Messaging API

Required Parameters

Infobip to MoyaApp setup

Once all the parameters above are ready please email them to api-support@moya.app

Interacting with Chatbot

In order to interact with and test the chatbot you can send a message to the API phone number. You can also test the chatbot by sending a curl request.

Example Request

curl -X 'POST' \
  'https://messaging-bridge.moya.app/webhook/<bot phone number>' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "message":
    {
      "type":"text",
      "from":"number to receive response",
      "text":
        {
          "body":"chatbot wake word/phrase"
        }
     }
}'

Example Response

{
  "message": "success"
}