22
33Bandwidth
44- API version: 1.0.0
5- - Generator version: 7.10 .0
5+ - Generator version: 7.16 .0
66
77Bandwidth's Communication APIs
88
@@ -98,6 +98,10 @@ public class Example {
9898 Basic . setUsername(" YOUR USERNAME" );
9999 Basic . setPassword(" YOUR PASSWORD" );
100100
101+ // Configure OAuth2 access token for authorization: OAuth2
102+ OAuth OAuth2 = (OAuth ) defaultClient. getAuthentication(" OAuth2" );
103+ OAuth2 . setAccessToken(" YOUR ACCESS TOKEN" );
104+
101105 CallsApi apiInstance = new CallsApi (defaultClient);
102106 String accountId = " 9900000" ; // String | Your Bandwidth Account ID.
103107 CreateCall createCall = new CreateCall (); // CreateCall | JSON object containing information to create an outbound call
@@ -146,8 +150,9 @@ Class | Method | HTTP request | Description
146150* MfaApi* | [ ** generateVoiceCode** ] ( docs/MfaApi.md#generateVoiceCode ) | ** POST** /accounts/{accountId}/code/voice | Voice Authentication Code
147151* MfaApi* | [ ** verifyCode** ] ( docs/MfaApi.md#verifyCode ) | ** POST** /accounts/{accountId}/code/verify | Verify Authentication Code
148152* MultiChannelApi* | [ ** createMultiChannelMessage** ] ( docs/MultiChannelApi.md#createMultiChannelMessage ) | ** POST** /users/{accountId}/messages/multiChannel | Create Multi-Channel Message
149- * PhoneNumberLookupApi* | [ ** createLookup** ] ( docs/PhoneNumberLookupApi.md#createLookup ) | ** POST** /accounts/{accountId}/tnlookup | Create Lookup
150- * PhoneNumberLookupApi* | [ ** getLookupStatus** ] ( docs/PhoneNumberLookupApi.md#getLookupStatus ) | ** GET** /accounts/{accountId}/tnlookup/{requestId} | Get Lookup Request Status
153+ * PhoneNumberLookupApi* | [ ** createAsyncBulkLookup** ] ( docs/PhoneNumberLookupApi.md#createAsyncBulkLookup ) | ** POST** /accounts/{accountId}/phoneNumberLookup/bulk | Create Asynchronous Bulk Number Lookup
154+ * PhoneNumberLookupApi* | [ ** createSyncLookup** ] ( docs/PhoneNumberLookupApi.md#createSyncLookup ) | ** POST** /accounts/{accountId}/phoneNumberLookup | Create Synchronous Number Lookup
155+ * PhoneNumberLookupApi* | [ ** getAsyncBulkLookup** ] ( docs/PhoneNumberLookupApi.md#getAsyncBulkLookup ) | ** GET** /accounts/{accountId}/phoneNumberLookup/bulk/{requestId} | Get Asynchronous Bulk Number Lookup
151156* RecordingsApi* | [ ** deleteRecording** ] ( docs/RecordingsApi.md#deleteRecording ) | ** DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Delete Recording
152157* RecordingsApi* | [ ** deleteRecordingMedia** ] ( docs/RecordingsApi.md#deleteRecordingMedia ) | ** DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Delete Recording Media
153158* RecordingsApi* | [ ** deleteRecordingTranscription** ] ( docs/RecordingsApi.md#deleteRecordingTranscription ) | ** DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Delete Transcription
@@ -179,6 +184,7 @@ Class | Method | HTTP request | Description
179184 - [ AdditionalDenialReason] ( docs/AdditionalDenialReason.md )
180185 - [ Address] ( docs/Address.md )
181186 - [ AnswerCallback] ( docs/AnswerCallback.md )
187+ - [ AsyncLookupRequest] ( docs/AsyncLookupRequest.md )
182188 - [ BlockedWebhook] ( docs/BlockedWebhook.md )
183189 - [ BridgeCompleteCallback] ( docs/BridgeCompleteCallback.md )
184190 - [ BridgeTargetCompleteCallback] ( docs/BridgeTargetCompleteCallback.md )
@@ -197,6 +203,7 @@ Class | Method | HTTP request | Description
197203 - [ CallbackMethodEnum] ( docs/CallbackMethodEnum.md )
198204 - [ CardWidthEnum] ( docs/CardWidthEnum.md )
199205 - [ CodeRequest] ( docs/CodeRequest.md )
206+ - [ CompletedLookupStatusEnum] ( docs/CompletedLookupStatusEnum.md )
200207 - [ Conference] ( docs/Conference.md )
201208 - [ ConferenceCompletedCallback] ( docs/ConferenceCompletedCallback.md )
202209 - [ ConferenceCreatedCallback] ( docs/ConferenceCreatedCallback.md )
@@ -208,33 +215,43 @@ Class | Method | HTTP request | Description
208215 - [ ConferenceRedirectCallback] ( docs/ConferenceRedirectCallback.md )
209216 - [ ConferenceStateEnum] ( docs/ConferenceStateEnum.md )
210217 - [ Contact] ( docs/Contact.md )
218+ - [ CreateAsyncBulkLookupResponse] ( docs/CreateAsyncBulkLookupResponse.md )
219+ - [ CreateAsyncBulkLookupResponseData] ( docs/CreateAsyncBulkLookupResponseData.md )
211220 - [ CreateCall] ( docs/CreateCall.md )
212221 - [ CreateCallResponse] ( docs/CreateCallResponse.md )
213- - [ CreateLookupResponse] ( docs/CreateLookupResponse.md )
214222 - [ CreateMessageRequestError] ( docs/CreateMessageRequestError.md )
215223 - [ CreateMultiChannelMessageResponse] ( docs/CreateMultiChannelMessageResponse.md )
224+ - [ CreateSyncLookupResponse] ( docs/CreateSyncLookupResponse.md )
225+ - [ CreateSyncLookupResponseData] ( docs/CreateSyncLookupResponseData.md )
226+ - [ DeactivationEventEnum] ( docs/DeactivationEventEnum.md )
216227 - [ DisconnectCallback] ( docs/DisconnectCallback.md )
217228 - [ Diversion] ( docs/Diversion.md )
218229 - [ DtmfCallback] ( docs/DtmfCallback.md )
219230 - [ Error] ( docs/Error.md )
220231 - [ ErrorObject] ( docs/ErrorObject.md )
232+ - [ ErrorResponse] ( docs/ErrorResponse.md )
221233 - [ ErrorSource] ( docs/ErrorSource.md )
222234 - [ FailureWebhook] ( docs/FailureWebhook.md )
223235 - [ FieldError] ( docs/FieldError.md )
224236 - [ FileFormatEnum] ( docs/FileFormatEnum.md )
225237 - [ GatherCallback] ( docs/GatherCallback.md )
238+ - [ GetAsyncBulkLookupResponse] ( docs/GetAsyncBulkLookupResponse.md )
239+ - [ GetAsyncBulkLookupResponseData] ( docs/GetAsyncBulkLookupResponseData.md )
240+ - [ InProgressLookupStatusEnum] ( docs/InProgressLookupStatusEnum.md )
226241 - [ InboundCallback] ( docs/InboundCallback.md )
227242 - [ InboundCallbackMessage] ( docs/InboundCallbackMessage.md )
228243 - [ InboundCallbackTypeEnum] ( docs/InboundCallbackTypeEnum.md )
229244 - [ InitiateCallback] ( docs/InitiateCallback.md )
245+ - [ LatestMessageDeliveryStatusEnum] ( docs/LatestMessageDeliveryStatusEnum.md )
246+ - [ LineTypeEnum] ( docs/LineTypeEnum.md )
230247 - [ Link] ( docs/Link.md )
248+ - [ LinkSchema] ( docs/LinkSchema.md )
231249 - [ LinksObject] ( docs/LinksObject.md )
232250 - [ ListMessageDirectionEnum] ( docs/ListMessageDirectionEnum.md )
233251 - [ ListMessageItem] ( docs/ListMessageItem.md )
234- - [ LookupRequest] ( docs/LookupRequest.md )
252+ - [ LookupErrorSchema] ( docs/LookupErrorSchema.md )
253+ - [ LookupErrorSchemaMeta] ( docs/LookupErrorSchemaMeta.md )
235254 - [ LookupResult] ( docs/LookupResult.md )
236- - [ LookupStatus] ( docs/LookupStatus.md )
237- - [ LookupStatusEnum] ( docs/LookupStatusEnum.md )
238255 - [ MachineDetectionCompleteCallback] ( docs/MachineDetectionCompleteCallback.md )
239256 - [ MachineDetectionConfiguration] ( docs/MachineDetectionConfiguration.md )
240257 - [ MachineDetectionModeEnum] ( docs/MachineDetectionModeEnum.md )
@@ -296,6 +313,7 @@ Class | Method | HTTP request | Description
296313 - [ StatusCallbackMessage] ( docs/StatusCallbackMessage.md )
297314 - [ StatusCallbackTypeEnum] ( docs/StatusCallbackTypeEnum.md )
298315 - [ StirShaken] ( docs/StirShaken.md )
316+ - [ SyncLookupRequest] ( docs/SyncLookupRequest.md )
299317 - [ TelephoneNumber] ( docs/TelephoneNumber.md )
300318 - [ TfvBasicAuthentication] ( docs/TfvBasicAuthentication.md )
301319 - [ TfvCallbackStatusEnum] ( docs/TfvCallbackStatusEnum.md )
@@ -305,7 +323,6 @@ Class | Method | HTTP request | Description
305323 - [ TfvSubmissionInfo] ( docs/TfvSubmissionInfo.md )
306324 - [ TfvSubmissionWrapper] ( docs/TfvSubmissionWrapper.md )
307325 - [ ThumbnailAlignmentEnum] ( docs/ThumbnailAlignmentEnum.md )
308- - [ TnLookupRequestError] ( docs/TnLookupRequestError.md )
309326 - [ TranscribeRecording] ( docs/TranscribeRecording.md )
310327 - [ Transcription] ( docs/Transcription.md )
311328 - [ TranscriptionAvailableCallback] ( docs/TranscriptionAvailableCallback.md )
@@ -341,6 +358,14 @@ Authentication schemes defined for the API:
341358
342359- ** Type** : HTTP basic authentication
343360
361+ <a id =" OAuth2 " ></a >
362+ ### OAuth2
363+
364+ - ** Type** : OAuth
365+ - ** Flow** : application
366+ - ** Authorization URL** :
367+ - ** Scopes** : N/A
368+
344369
345370## Recommendation
346371
0 commit comments