Interface ApplicationsService
public interface ApplicationsService
You can use the API to manage features of applications in your project.
- Since:
- 1.4
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignNumbers
(UpdateNumbersRequest parameters) Update or assign a list of numbers to an application.getCallbackUrls
(String applicationKey) Returns any callback URLs configured for the specified applicationGet information about your numbers.queryNumber
(String number) Returns information about the requested numbervoid
unassignNumber
(UnAssignNumberRequest parameters) Un-assign a number from an application.void
updateCallbackUrls
(String applicationKey, Callbacks parameters) Update the configured callback URLs for the specified application.
-
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
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
Update the configured callback URLs for the specified application.- Parameters:
applicationKey
- The unique identifying key of the applicationparameters
- Callbacks settings- Since:
- 1.4
-
queryNumber
Returns information about the requested number- Parameters:
number
- The phone number you want to query- Returns:
- Number information
-
assignNumbers
Update or assign a list of numbers to an application.- Parameters:
parameters
- Request parameters- Since:
- 1.4
-
unassignNumber
Un-assign a number from an application.- Parameters:
parameters
- Request parameters- Since:
- 1.4
-