question

Nitika D avatar image
Nitika D asked ·

How can I send Pager Message

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

pager
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

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 ~
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.