2. Hi guys, Today I’m going to write in this article to integrate SMS APIS using
ring central APIs.
In order to send SMS using ring central APIs then we need to follow the
below constraints.
3. Rules
● We can send a new text message using ring central
● We can send SMS messages simultaneously to different recipients up to 50 requests per
minute and this limitation is relevant for all client applications.
● Sending and receiving SMS is available for Toll-Free Numbers within the USA.
● You can send up to 10 attachments in one MMS message; the size of all attachments linked
is limited to 1500000.
4. We need to give SMS app permission to your application from your
developer account. In this article I will show you to do SMS integration using
java ring central SDKs.
Step1. In order to do this, we need to create application in our development
account.
5.
6. If you observe here I have given the SMS, and Read Messages permissions in Permissions Needed
section so that our application is authorized to integrate SMSs.
7. Now, we are done with creation of SMSIntegration application.
Step2. Now create a maven java project in your local Spring tool suite as
shown below.
8. Step3. We need to ring central maven dependencies to your maven application to get ring central
packages.
<dependency>
<groupId>com.ringcentral</groupId>
<artifactId>ringcentral</artifactId>
<version>1.0.0-beta10</version>
</dependency>
9.
10. Step4. Now, we are going to create java class to write our integration logic.
11. Step5. You can get the RINGCENTRAL_CLIENTID and
RINGCENTRAL_CLIENTSECRET from your dev account where you have
created the SMSIntegration application.
Step6.
Message status. Different message types may have different allowed status
values.For outbound faxes the aggregated message status is returned: If
status for at least one recipient is ‘Queued’, then ‘Queued’ value is returned If
status for at least one recipient is ‘SendingFailed’, then ‘SendingFailed’ value
is returned In other cases Sent status is returned
12. Step7. We have different message statuses as described below.
● Queued
● Sent
● Delivered
● DeliveryFailed
● SendingFailed
● Received
13. Step8. Now if you run your application and you are able to see the current
message status.
14. Step9. As you have seen message status as Sent which means we have
successfully integrated the SMS integration using ringcentral java sdk.
Step10. I hope you people are enjoyed the this article . Thanks for reading !