|
String
|
addIncomingPhoneNumberByAreaCode(String accountSid, String areaCode, String friendlyName, String voiceUrl, HttpMethod voiceMethod, HttpCallback voiceFallback, HttpCallback statusCallback, Boolean voiceCallerIdLookup, String voiceApplicationSid, String smsUrl, HttpMethod smsMethod, HttpCallback smsFallback, String smsApplicationSid)
Adds a new phone number to your account.
|
|
String
|
addIncomingPhoneNumberByPhoneNumber(String accountSid, String phoneNumber, String friendlyName, String voiceUrl, HttpMethod voiceMethod, HttpCallback voiceFallback, HttpCallback statusCallback, Boolean voiceCallerIdLookup, String voiceApplicationSid, String smsUrl, HttpMethod smsMethod, HttpCallback smsFallback, String smsApplicationSid)
Adds a new phone number to your account.
|
|
String
|
addNewCallerId(String accountSid, String phoneNumber, String friendlyName, Integer callDelay, String extension)
Adds a new CallerID to your account.
|
|
String
|
changeCallState(String accountSid, String callSid, String url, HttpMethod method, String status)
Modify the state of a live call.
|
|
String
|
createApplication(String accountSid, String friendlyName, String apiVersion, String voiceUrl, HttpMethod voiceMethod, HttpCallback voiceFallback, HttpCallback statusCallback, Boolean voiceCallerIdLookup, String smsUrl, HttpMethod smsMethod, HttpCallback smsFallback, HttpCallback smsStatusCallback)
Creates a new application within your account.
|
|
String
|
createSubAccount(String friendlyName)
Creates a new subaccount.
|
|
void
|
createTwilioClient()
|
|
String
|
deleteApplication(String accountSid, String applicationSid)
Delete this application.
|
|
String
|
deleteIncomingPhoneNumber(String accountSid, String incomingPhoneNumberSid)
Release this phone number from your account.
|
|
String
|
deleteNotification(String accountSid, String notificationSid)
Deletes the notification identified by {NotificationSid} from an account's log.
|
|
String
|
deleteOutgoingCallerId(String accountSid, String outgoingCallerIdSid)
Deletes the caller ID from the account.
|
|
String
|
deleteParticipant(String accountSid, String conferenceSid, String callSid)
Kick this participant from the conference.
|
|
String
|
deleteRecording(String accountSid, String recordingSid)
Deletes a recording from your account.
|
|
String
|
exchangePhoneNumbersBetweenSubaccounts(String accountSidFrom, String incomingPhoneNumberSid, String accountSidTo)
Trasfers a number between two subaccounts.
|
|
String
|
getAccountDetails(String accountSid)
Returns a representation of an account.
|
|
String
|
getAccountSid()
|
|
String
|
getAllAccountsDetails(AccountStatus accountStatus, String friendlyName)
Retrieve a list of the Account resources belonging to the account used to make the API request.
|
|
String
|
getAllApplications(String accountSid, String friendlyName)
Returns a list of Application resource representations, each representing an application within your account.
|
|
String
|
getAllNotifications(String accountSid, Integer log, String messageDate)
Returns a list of notifications generated for an account.
|
|
String
|
getAllOutgoingCallerIds(String accountSid, String phoneNumber, String friendlyName)
Returns a list of OutgoingCallerId resource representations, each representing a Caller ID number valid for an account.
|
|
String
|
getAllSmsMessages(String accountSid, String to, String from, String dateSent)
Returns a list of SMS messages associated with your account.
|
|
String
|
getApplication(String accountSid, String applicationSid)
Returns an application resource matching the given application sid.
|
|
String
|
getAuthToken()
|
|
String
|
getAvailablePhoneNumbers(String accountSid, String isoCountryCode, String areaCode, String contains, String inRegion, String inPostalCode)
Returns a list of local AvailablePhoneNumber resource representations that match the specified filters, each representing a phone number that is currently available for provisioning within your account.
|
|
String
|
getAvailablePhoneNumbersAdvancedSeach(String accountSid, String isoCountryCode, String areaCode, String contains, String inRegion, String inPostalCode, String nearLatLong, String nearPhoneNumber, String inLata, String inRateCenter, String distance)
Returns a list of local AvailablePhoneNumber resource representations that match the specified filters, each representing a phone number that is currently available for provisioning within your account.
|
|
String
|
getAvailableTollFreeNumbers(String accountSid, String isoCountryCode, String contains)
Returns a list of toll-free AvailablePhoneNumber elements that match the specified filters, each representing a phone number that is currently available for provisioning within your account.
|
|
String
|
getCall(String accountSid, String callSid)
Returns the single Call resource identified by the given call sid.
|
|
String
|
getCalls(String accountSid, String to, String from, String status, String startTime)
Returns a list of phone calls made to and from the account identified by the given account sid.
|
|
String
|
getConference(String accountSid, String conferenceSid)
Returns a representation of the conference identified by the given conference id.
|
|
String
|
getConferences(String accountSid, String status, String friendlyName, String dateCreated, String dateUpdated)
Returns a list of conferences within an account.
|
|
String
|
getIncomingPhoneNumbers(String accountSid, String phoneNumber, String friendlyName)
Returns a list of IncomingPhoneNumber resource representations, each representing a phone number given to your account.
|
|
String
|
getIncomingPhoneNumbersByIncomingPhoneNumberSid(String accountSid, String incomingPhoneNumberSid)
Returns an incoming phone numbers matching the given query filters.
|
|
String
|
getNotification(String accountSid, String notificationSid)
Return a notificaction resource for the given notification sid.
|
|
String
|
getNotificationsByCallSid(String accountSid, String callSid, Integer log, String messageDate)
Returns a list of notifications generated for an account.
|
|
String
|
getOutgoingCallerIdByOutgoingCallerIdSid(String accountSid, String outgoingCallerIdSid)
Returns an outgoing caller id instance matching the given filters.
|
|
String
|
getParticipant(String accountSid, String conferenceSid, String callSid)
Returns a representation of this participant.
|
|
String
|
getParticipants(String accountSid, String conferenceSid, Boolean muted)
Returns the list of participants in the conference identified by the given conference sid.
|
|
String
|
getRecording(String accountSid, String recordingSid, RecordingType recordingType)
Returns one of several representations depending on the given recording type.
|
|
String
|
getRecordings(String accountSid, String callSid, String dateCreated)
Returns a list of Recording resource representations, each representing a recording generated during the course of a phone call.
|
|
String
|
getSandbox(String accountSid)
Returns the Sandbox resource associated with the account identified by {YourAccountSid}.
|
|
String
|
getSmsMessage(String accountSid, String smsMessageSid)
Returns a single SMS message specified by the provided SMS message sid.
|
|
String
|
getSubAccountByAccountSid(String accountSid)
Subaccounts in Twilio are just accounts that are "owned" by another account.
|
|
String
|
getSubAccountByFriendlyName(String friendlyName)
Subaccounts in Twilio are just accounts that are "owned" by another account.
|
|
String
|
getTranscriptionByTranscriptionSid(String accountSid, String transcriptionSid, TranscriptionFormat transcriptionFormat)
Returns a single Transcription resource representation identified by the given transcription sid.
|
|
String
|
getTranscriptions(String accountSid, String recordingSid, TranscriptionFormat transcriptionFormat)
Returns a set of Transcription resource representations that includes paging information, sorted by 'DateUpdated', with most recent transcripts first.
|
|
String
|
makeCall(String accountSid, String from, String to, String url, String applicationSid, HttpMethod method, HttpCallback fallback, HttpCallback statusCallback, String sendDigits, String ifMachine, String timeout)
Initiates a call using the given paramaters.
|
|
String
|
sendSmsMessage(String accountSid, String from, String to, String body, HttpCallback statusCallback, String applicationSid)
Send an outgoing SMS message.
|
|
void
|
setAccountSid(String accountSid)
|
|
void
|
setAuthToken(String authToken)
|
|
String
|
updateAccount(String accountSid, AccountStatus accountStatus, String friendlyName)
Allows you to modify the properties of an account.
|
|
String
|
updateApplication(String accountSid, String applicationSid, String friendlyName, String apiVersion, String voiceUrl, HttpMethod voiceMethod, HttpCallback voiceFallback, HttpCallback statusCallback, Boolean voiceCallerIdLookup, String smsUrl, HttpMethod smsMethod, HttpCallback smsFallback, HttpCallback smsStatusCallback)
Tries to update the application's properties, and returns the updated resource representation if successful.
|
|
String
|
updateIncomingPhoneNumbers(String accountSid, String incomingPhoneNumberSid, String friendlyName, String apiVersion, String voiceUrl, HttpMethod voiceMethod, HttpCallback voiceFallback, HttpCallback statusCallback, Boolean voiceCallerIdLookup, String voiceApplicationSid, String smsUrl, HttpMethod smsMethod, HttpCallback smsFallback, String smsApplicationSid, String accountSidDestination)
Tries to update the incoming phone number's properties, and returns the updated resource representation if successful.
|
|
String
|
updateOutgoingCallerIdByOutgoingCallerIdSid(String accountSid, String outgoingCallerIdSid, String friendlyName)
Updates the caller id, and returns the updated resource if successful.
|
|
String
|
updateParticipantStatus(String accountSid, String conferenceSid, String callSid, Boolean muted)
Updates the participant status.
|
|
String
|
updateSandbox(String accountSid, String voiceUrl, HttpMethod voiceMethod, String smsUrl, HttpMethod smsMethod)
You can POST to the Sandbox resource to update the TwiML voice and SMS URLs associated with the sandbox number.
|