Welcome to the documentation for creating AWS Lex bots to use with MoyaApp Messenger API. If you run into any issues, or have questions or feedback, please let us know by sending a message to

Creating bot with Amazon Lex

Please refer to the AWS Lex documentation for examples of how to create a chat bot on Amazon LEX V2.

Integrating Chatbot with Messaging API

Required Parameters

The following parameters will be required to integrate the newly created bot with Moya messaging platform.

AWS Lex to MoyaApp setup

Once all the parameters above are ready please email them to

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' \
  '<lex bot phone number>' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
      "from":"number to receive response",
          "body":"chatbot wake word/phrase"

Example Response

  "message": "success"