Interface ApplicationsService


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

    • listNumbers

      AssignedNumbers 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.0
    • getCallbackUrls

      CallbackUrls 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.0
    • updateCallbackUrls

      void updateCallbackUrls(String applicationKey, CallbackUrls parameters)
      Since:
      1.0
    • queryNumber

      NumberInformation queryNumber(E164PhoneNumber number)
    • assignNumbers

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

      void unassignNumber(E164PhoneNumber phoneNumber, String applicationKey)
      Un-assign a number from an application.
      Parameters:
      phoneNumber - The phone number
      applicationKey - Indicates the application where the number was assigned.

      If empty, the application key that is used to authenticate

      Since:
      1.0