java.lang.Object
com.ringcentral.paths.restapi.v2.accounts.sms.consents.export.Index

public class Index extends Object
  • Field Details

  • Constructor Details

    • Index

      public Index(Index parent)
  • Method Details

    • path

      public String path()
    • path

      public String path(Boolean withParameter)
    • get

      public String get() throws RestException, IOException
      Returns a list of account-level SMS consent records for opted-out and/or opted-in phone numbers in CSV format. The following columns will be included in the resulted CSV file:

      | Column name | Data type | Description | | ----------- | --------- | ----------- | | From | string | The sender's phone number in E.164 format | | To | string | The recipient's phone number in E.164 format | | Status | string | The consent status, either "OptOut" or "OptIn" | | Source | string | The source of the consent record |

      HTTP Method: get Endpoint: /restapi/v2/accounts/{accountId}/sms/consents/export Rate Limit Group: Light App Permission: SMS

      Throws:
      RestException
      IOException