Interface ApplicationsService


public interface ApplicationsService
You can use the API to manage features of applications in your project.
Since:
1.4
  • Method Details

    • listNumbers

      OwnedNumbersResponse listNumbers()
      Get information about your numbers.

      It returns a list of numbers that you own, as well as their capability (Voice or SMS). For the ones that are assigned to an app, it returns the application key of the app.

      Returns:
      Your numbers
      Since:
      1.4
    • getCallbackUrls

      Callbacks getCallbackUrls(String applicationKey)
      Returns any callback URLs configured for the specified application
      Parameters:
      applicationKey - The unique identifying key of the application
      Returns:
      Assigned callback to application
      Since:
      1.4
    • updateCallbackUrls

      void updateCallbackUrls(String applicationKey, Callbacks parameters)
      Update the configured callback URLs for the specified application.
      Parameters:
      applicationKey - The unique identifying key of the application
      parameters - Callbacks settings
      Since:
      1.4
    • queryNumber

      QueryNumberResponse queryNumber(String number)
      Returns information about the requested number
      Parameters:
      number - The phone number you want to query
      Returns:
      Number information
    • assignNumbers

      void assignNumbers(UpdateNumbersRequest parameters)
      Update or assign a list of numbers to an application.
      Parameters:
      parameters - Request parameters
      Since:
      1.4
    • unassignNumber

      void unassignNumber(UnAssignNumberRequest parameters)
      Un-assign a number from an application.
      Parameters:
      parameters - Request parameters
      Since:
      1.4