Question

How can I send Pager Message

  • 11 August 2019
  • 1 reply
  • 322 views

I would like to add Pager Message authorization in my existing SMS , would that be possible ? My app is coded in C# and integrated with RingCentral SMS API


1 reply

Userlevel 1

Yes you can send pager message. Remember that it is internal messages, meaning that you can only send from one extension to another extension within an account. Here is the sample code for C#

Create Internal Text Message

HTTP POST /restapi/v1.0/account/{accountId}/extension/{extensionId}/company-pager

using (var rc = new RestClient("clientID", "clientSecret", "serverURL"))
{
    await rc.Authorize("username", "extension", "password");
    var result = await rc.Restapi(apiVersion).Account(accountId).Extension(extensionId).CompanyPager().Post(createInternalTextMessageRequest);
}
  • Parameter createInternalTextMessageRequest is of type CreateInternalTextMessageRequest
  • result is of type GetMessageInfoResponse
  • Parameter apiVersion is optional with default value v1.0
  • Parameter accountId is optional with default value ~
  • Parameter extensionId is optional with default value ~

Reply