Interface ApplicationsService


public interface ApplicationsService
Applications Service
  • Method Details

    • assignNumbers

      void assignNumbers(UpdateNumbersRequest updateNumbersRequest) throws ApiException
      Update Numbers

      Assign a number or a list of numbers to an application.

      Parameters:
      updateNumbersRequest - (optional)
      Throws:
      ApiException - if fails to make API call
    • getEventDestinations

      EventDestinations getEventDestinations(String applicationkey) throws ApiException
      Get Callback URLs

      Returns any callback URLs configured for the specified application.

      Parameters:
      applicationkey - The unique identifying key of the application. (required)
      Returns:
      EventDestinations
      Throws:
      ApiException - if fails to make API call
    • listNumbers

      Get Numbers

      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:
      OwnedNumbersListResponse
      Throws:
      ApiException - if fails to make API call
    • unassignNumber

      void unassignNumber(UnAssignNumberRequest unAssignNumberRequest) throws ApiException
      Un-assign number

      Un-assign a number from an application.

      Parameters:
      unAssignNumberRequest - (optional)
      Throws:
      ApiException - if fails to make API call
    • updateEventDestinations

      void updateEventDestinations(String applicationkey, EventDestinations eventDestinations) throws ApiException
      Update Callbacks

      Update the configured callback URLs for the specified application.

      Parameters:
      applicationkey - The unique identifying key of the application. (required)
      eventDestinations - (optional)
      Throws:
      ApiException - if fails to make API call