/texts-platform-telnyx-server

[Experimental] Backend for Telnyx webhook integration

Primary LanguageTypeScriptMIT LicenseMIT

Platform Remote Telnyx Server

This is the server side code of the remote Telnyx webhook integration for Texts.

Built with https://github.com/batuhan/texts-platform-remote-server-boilerplate

Client side code at https://github.com/batuhan/texts-platform-remote-telnyx

Prerequisites

Before you begin. ensure you have the following installed.

How to install

  • Clone this repository and navigate into the project directory:
git clone https://github.com/batuhan/texts-platform-telnyx-server.git && cd texts-platform-telnyx-server
  • Create an .env file with the following for a postgres db
DATABASE_URL=
PORT=
  • Install dependencies and build the project:
npm install
npm build
  • Start the server
npm start

How It Works

This implementation provides a webhook endpoint for Telnyx to send its webhook events to. Any webhook event sent to this route is then added to a thread called Telnyx Events. These events then can be viewed by the client in the Texts app using Platform Remote Telnyx.

Credits

This integration was built at Pickled Works by @alperdegre and it isn't an official integration by Texts.