# Send and Receive SMS

## Introduction

Each DID available in Opentact is SMS-enablable.  An Opentact developer can turn on and off the SMS enablement feature of a DID at the time of purchase or after the DID is purchased. &#x20;

There are two ways to send SMS via Opentact:

* Using Opentact Restful API&#x20;
* Using Opentact Websocket Interface

There are two ways to receive SMS from Opentact:

* Developer can use Restful API to pull outbound or inbound SMS for any DID number for any specific period of time.
* Developer can use Websocket to receive real-time inbound SMS from Opentact&#x20;
* Developer can use the Event callback url defined in Call Control APP or SIP Connection to receive Inbound SMS&#x20;

