Python 6.0.0 release #37
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[ 6.0.0 ] - 2026-01-22
🎉 NEW Major Version of
infobip-api-python-client.All changes, including breaking changes, are addressed and explained in the list bellow.
If you find out that something was not addressed properly, please submit an issue.
From this point onward Python 3.8 is no longer supported. The minimum supported version is Python 3.9 due to dependency updates.
Added
/email/4/messages (V4)replacing the/email/3/send (V3)endpoint./email/4/logs (V4)replacing/email/1/logs (V1)endpoint./email/4/reports (V4)replacing/email/1/reports (V1)endpoint.Email Templatessupport. This should resolve the following issue: #31http://is explicitly provided, aValueErroris raised. URLs without a protocol are automatically prefixed withhttps://.Changed
General / Dependencies:
3.9.API_KEY_PREFIXin client configuration. It is no longer needed when providingAPI_KEYandBASE_URL.See latest configuration quickstarturllibversion support (>= 2.1.0). This should resolve the following issue: #21 and close the related pull requests: #36, #35, #33.python-dateutilto2.8.2.ApiExceptionfor handling409and422exceptions.MessageStatuswithactionsupport.ValidityPeriodandSendingSpeedLimittime_unitdefault value is now set toMINUTES.Voice:
CallsUrlPlayContent,CallsTextPlayContent,CallsGenesysCloudProvider,CallsBulkPhoneEndpoint,CallsCiscoWebexProvider,CallsFreshworksProvider,CallsFilePlayContent,CallsRegisteredSipTrunkRequest,CallsRecordingPlayContent,CallsRegisteredSipTrunkRequest,CallsRegisteredSipTrunkResponse,CallsStaticSipTrunkUpdateRequest,CallsStaticSipTrunkRequest,CallRoutingEndpointDestinationResponse,CallRoutingEndpointDestination,CallRoutingPhoneCriteria,CallRoutingPhoneEndpoint,CallRoutingSipCriteria,CallRoutingUrlDestination,CallRoutingViberEndpoint,CallRoutingWebRTCCriteria,CallRoutingWebRtcEndpoint,CallRoutingWebSocketEndpoint,CallsAudioCallbackResponse,CallsCreateProviderSipTrunkResponse,CallsCreateRegisteredSipTrunkResponse,CallsCreateStaticSipTrunkResponse,CallsDialCallbackResponse,CallsDtmfTermination,CallsFreshworksProvide,CallsGenesysCloudProvide,CallsMediaStreamingConfigRequest,CallsMediaStreamingConfigResponse,CallsPhoneEndpoint,CallsProviderSipTrunkRequest,CallsProviderSipTrunkResponse,CallsProviderSipTrunkUpdateRequest,CallsSipEndpoint,CallsStaticSipTrunkResponse,CallsWebsocketEndpoint,CallsWebsocketEndpointConfigResponse,CallsWebsocketEndpointConfigRequest,CallsWebRtcEndpoint,CallsViberEndpoint.CallsCreateRegisteredSipTrunkResponse,CallsRegisteredSipTrunkRequest,CallsRegisteredSipTrunkUpdateRequest, andCallsSipTrunkResponsenow have default values set fordtmf,fax, andanonymisationfields.CallsCreateStaticSipTrunkResponse,CallsStaticSipTrunkRequest, andCallsStaticSipTrunkUpdateRequestnow have default values set fordtmf,fax,strategy, andanonymisationfields.CallsStaticSipTrunkResponsestrategy field default is now set toFAILOVER.CallEndpointandCallRoutingEndpointwithWHATSAPPsupport.CallRoutingCriteriawithAPPLICATIONtype support.CallRoutingDestinationwithApplicationDestinationsupport.CallRoutingRouteResponsewithstatusandorderfield support.CallRoutingSipEndpointwithfromfield support.CallRoutingWebSocketEndpointwithcustom_datafield support.Callwithexternal_idfield support.CallsAddExistingCallRequestwithroleandcustom_datafield support.CallsAddNewCallRequestwithrolefield support.CallsDialCallbackResponsewithmachine_detectionsupport.CallsDialogLogResponsewithhangup_sourcesupport.CallsDialogStatewithTRANSFERRINGstate support.CallsMachineDetectionPropertieswithconfidence_ratingfield support.CallsParticipantwithrolesupport.CallsProviderTrunkTypeandCallsProvidewithOPENAI_REALTIMEsupport.CallsSearchResponse,CallsUpdateScenarioResponse, andCallsUpdateScenarioRequestwithnotify_url,notify_content_type, andrecordfields.CallsSpeechCaptureRequestwithterminate_on_key_phrase,custom_dictionary, andadvanced_formattingsupport.CallsTranscriptionwithcustom_dictionary, andadvanced_formattingsupport.CallsVoiceDatawithanswered_byandcall_recording_file_idfield support.CallsVideoMediaPropertiesandCallsUpdateRequestwithblindfield support.CallVoicewith additional voices.CallsLanguagewith different languages.CallsMachineDetectionRequestwithdetection_timesupport.CallsMediaStreamConfigRequesttype is now required to construct the class.CallsSpeechCaptureRequestkey_phrasesis now an optional field.SMS:
SmsWebhookInboundReportwith the existingSmsInboundMessagemodel.SmsLogsResponsewith cursor-based pagination support.SmsRequestSchedulingSettingswithbulk_idvalidation.SmsDestinationwithmessage_idvalidation.2FA (TFA):
TfaStartEmailAuthenticationRequestwithlanding_page_placeholderssupport.TfaStartAuthenticationResponsewithexternal_message_idsupport.TfaStartAuthenticationRequestandTfaResendPinRequestwithtrack_deliverysupport.TfaMessage,TfaEmailMessage,TfaUpdateEmailMessageRequest, andTfaCreateEmailMessageRequestwithlanding_page_idsupport.Email:
EmailResponseDetailstoandstatusfields are now required.EmailBulkUpdateStatusResponsebulk_idandstatusfields are now required.EmailBulkStatusResponse,EmailBulkStatusInfo, andEmailBulkScheduleResponseexternal_bulk_idandbulksfields are now required.EmailBulkRescheduleResponseandEmailBulkInfobulk_idandsend_atfields are now required.EmailReportclass changes based on the new API specification after the migration to V4 endpoint. Introducedsender,callback_data,platform,campaign_refence_id,attempt_count,time_to_first_attemptand removedapplication_idandentity_idfields.EmailWebhookTrackResponseclass changes based on the new API specification after the migration to V4 endpoint. IntroducedeventId,senderand changedmessage_idtype fromStrictStrtoUnion[StrictFloat, StrictInt].EmailLogsResponsewith cursor-based pagination support.EmailReportsResultwithemail_resultsfield.EmailDomainResponsemodel withblocklist_configration_levelfield.EmailIpDetailResponseandEmailIpResponsemodel withip_addressesfield.Number Masking:
NumberMaskingStatusRequestwithmachine_detection_resultfield support.Removed
Voice:
creation_methodsupport fromCallsFile.UNKNOWNtype support fromCallsDetectionResult.recordfield support fromCallsIvrMessage.JOHANNESBURG_11support fromCallsRecordingLocation.return_path_addressfromEmailDomainResponseandEmailAddDomainRequest.General:
CallsCreationMethod,CallsRegionList,EmailReturnPathAddressRequest,WebhookMessageCountclasses.These changes align the SDK with the current API specification, ensuring consistency and reliability in future updates.