All Collections
Integration
API & Webhooks
How to send SMS via RingCentral API
How to send SMS via RingCentral API

Learn how to send SMS from Mapsly using RingCentral API

Erik avatar
Written by Erik
Updated over a week ago

You can send SMS from Mapsly using Send SMS action. However, if you want to send SMS using your RingCentral account, you can use the Invoke URL action.

To configure it, you need to add Invoke URL action:

In the Invoke URL fill in the following:

Obtaining Authorization token

You can obtain the Authorization token by creating a quick SMS app in RingCentral using this link.

After you create the app, you will see it on this page, and it will look like this:

Inside that app, you will see the Client ID and Client Secret:

Copy the Client ID and Client Secret in order generate a base64 authorization key. You can use some online tools like:

Obtaining JWT token

In order to obtain the JWT token, you need to open the following page:

There, you need to click the "Create JWT" button to create your JWT token.

Once created, use this JWT token as the assertion parameter in the Invoke URL that we configured before.

Sending SMS

Once the Invoke URL action to refresh the access token is configured, you may proceed with creating the final Invoke URL that will send the actual SMS. This Invoke URL action needs to be placed right after the previous Invoke URL.

In the Invoke URL fill in the following:

{
"from": {
"phoneNumber": "+123456789"
},
"to": [
{
"phoneNumber": "{{ record.Phone | replace({' ': '', '(': '', ')': '', '-': ''}) }}"
}
],
"text": "Sample text"
}
image

If you have any questions or need help with configuring your RingCentral SMS automation, contact Mapsly support team 24/7 by chat or email at [email protected]. We'll be happy to help.

Did this answer your question?