Real-time SMS over Websocket

Establishing Websocket connection with Opentact

You can create a websocket connection to Opentact with by using Test tools such as the "Simple Websocket Client."

Opentact provides the following environment for Websocket interface:

Environment

URL

Snagging

wss://api.stage.opentact.org/wss

Production

Authorize on the Opentact Websocket Interface

Before you can conduct any activities on the Websocket Interface, you need to first authorize yourselves first and here is the command on how you do that:

Sending SMS using Opentact Websocket Interface

Here is the command you can use to send SMS over the Opentact Websocket interface

Receiving SMS using Opentact Websocket Interface

Incoming SMS will be sent to the Websocket interface in the form of SMS Received Event.

Last updated