---title: Messaging---:::info Welcome to the latest version of the RELAY SDKIn May 2022, Messaging was incorporated into the latest version of the RELAY Realtime Server SDK. If you have an application that runs on the [previous version of RELAY](https://docs.signalwire.com/reference/relay-sdk-nodejs/v2/#relay-sdk-for-node-js) for Messaging, consider upgrading to the latest. For some pointers on migrating to this new version, please read our post [Upgrade Your RELAY Game](https://signalwire.com/blogs/developers/upgrade-your-relay-game).:::Access the Messaging API. You can instantiate a [Messaging.Client](./messaging-client.mdx) to send or receive SMS and MMS. Please check [Messaging Events](./messaging-client.mdx#events) for the full list of events that a [Messaging.Client](./messaging-client.mdx) can subscribe to.#### ExampleThe following example listens for incoming SMS messages over an office context, and also sends an SMS.javascriptimport { Messaging } from @signalwire/realtime-api;const client = new Messaging.Client({ project: