Before proceeding, ensure you have obtained a phone number and API key as described in the prerequisites.
Create a Gemfile in your project root:
Install the dependencies:
This guide uses version rcs 2.0.15. Requires Ruby version >= 3.3.0
Create an .env file in your project root and add your Pinnacle API key and RCS agent ID:
Create a new Ruby file (e.g., main.rb) and add the following code to the right.
Quick_replies are required but may be left empty. For sending media urls, you can also use storage on the dashboard under System > Storage or via our API
Run the script:
If successful, the recipient will receive your RCS messages, and they should look something like this:
