Interface ApplicationsService


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

      • getNumbers

        AssignedNumbers getNumbers()
        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
      • 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