Releases: infobip/infobip-api-java-client
6.5.0
6.4.1
[ 6.4.1 ] - 2026-05-07
Changed
- Numbers:
- Extended
NumbersBrandRegistrationStatusPublicwithPENDING_APPEALstatus support - Extended
NumbersCampaignRegistrarwithLIBERTYregistrar support - Replaced
UPDATE_REQUESTED_BY_CARRIERSwithREJECTED_EXTERNALLYinNumbersCampaignStageenum - Extended
NumbersCampaignTypewithRCS_SENDER_LAUNCHtype support - Extended
NumbersExternalTenDlcCampaignwithpolicyfield support - Extended
NumbersNetworkwithLIBERTYnetwork support - Extended
NumbersTenDlcCampaignwithpolicyfield support - Extended
NumbersTenDlcUseCasewithSWEEPSTAKEuse case support
- Extended
Fixed
- Fixed
getCampaignNetworkStatusesresponse type to return a list instead of a single object.
6.4.0
[ 6.4.0 ] - 2026-03-31
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.
Added
- Support for Infobip Numbers API.
- Support for Infobip Resources API.
- Most recent feature set for:
Changed
- WhatsApp:
- Added Media Carousel message support with
WhatsAppInteractiveMediaCarouselMessage,WhatsAppMediaCarouselCard,WhatsAppImageMediaCarouselCardHeader,WhatsAppVideoMediaCarouselCardHeadermodels - Added Voice button message support with
WhatsAppInteractiveVoiceButtonMessageandWhatsAppInteractiveVoiceButtonContentmodels - Added calling permission support with
WhatsAppCallingPermissionAction,WhatsAppCallingPermissionActionLimit,WhatsAppCallingPermissionResponseandWhatsAppInteractiveCallPermissionRequestMessagemodels - Added outbound event support (typing indicator) with
WhatsAppEvent,WhatsAppEventRequest,WhatsAppEventOptions,WhatsAppOutboundEventTypingIndicatorContentmodels - Added Meta conversion tracking support with
WhatsAppMetaConversionModel,WhatsAppMetaConversionType,WhatsAppWABAConversionEventRequest,WhatsAppConversionDetailsmodels - Added marketing update notification support with
WhatsAppWebhookMarketingUpdateNotificationandWhatsAppWebhookMarketingUpdateNotificationResponsemodels - Added message scheduling support with
WhatsAppRequestSchedulingSettingsmodel - Added
WhatsAppTemplateVoiceCallButtonContentmodel for voice call template button support - Added
WhatsAppMessageStatus,WhatsAppMessageGeneralStatus,WhatsAppSenderPublicKeyResponse,WhatsAppShareWabaRequest,WhatsAppToDestinationmodels - Extended
WhatsAppTemplateButtonContentwith voice call button type support - Extended
WhatsAppPaymentwith additional fields - Extended
WhatsAppTemplateApiResponseandWhatsAppVoiceCallButtonApiDatawith new fields - JavaDoc fixes
- Added Media Carousel message support with
- RCS:
- Removed
RcsPlatformInfoclass (see Removed section) - Added conversation started event support with
RcsConversationStartedEvent,RcsConversationStartedEvents,RcsConversationStartedInfo,RcsConversationStartedEventContent,RcsConversationInfomodels - Added
RcsConversationType,RcsConversationStartedEventType,RcsTrafficType,RcsMessagePrice,RcsMessageInteractionType,RcsEventInteractionTypemodels - Updated
RcsWebhookDeliveryReportmodel - JavaDoc fixes
- Removed
- Voice:
- Renamed
CallsSipTrunkRegisteredResetPasswordResponsetoCallsSipTrunkResetPasswordResponseto better reflect the return type of the reset password endpoint - Removed
CallsPublicDialogRecordingclass (see Removed section) - Added CNAM support with
CallsCnam,CallsCnamDelivery,CallsCnamDeliveryStatus,CallsCnamStorage,CallsCnamStorageStatus,CallsPublicCnamStatusmodels - Added emergency address support with
CallsEmergencyAddress,CallsEmergencyAddressStatus,CallsValidateAddressResponsemodels - Added TTY play content support with
CallsPlayTty,CallsPlayTtyOptions,CallsTtyPlayContentmodels - Added
CallsAddress,CallsDirectionmodels - Extended
CallsLanguageandCallsSynthesisVoicewith new language and voice options - Extended
CallsDialogPlayRequestwith new fields - Extended
CallsUrlPlayContentwith new fields - JavaDoc fixes
- Renamed
- MessagesApi:
- Added outbound seen event support with
MessagesApiOutboundSeenEventandMessagesApiOutboundSeenEventChannelmodels - Added outbound typing event channel support with
MessagesApiOutboundTypingStartedEventChannelandMessagesApiOutboundTypingStoppedEventChannelmodels - Added
MessagesApiInboundTypingStartedChannelmodel - Extended
MessagesApiOutboundEventTypewith new event type values - Updated
MessagesApiInboundDlrChannel,MessagesApiInboundTypingStartedEvent,MessagesApiInboundTypingStoppedEvent,MessagesApiOutboundTypingStartedEvent,MessagesApiOutboundTypingStoppedEventmodels - Extended
MessagesApiOutboundEventwith new fields - JavaDoc fixes
- Added outbound seen event support with
- WebRtc:
- Added machine detection support with
WebRtcMachineDetectionandWebRtcMachineDetectionResultmodels - Extended
WebRtcPhoneCallDetailsandWebRtcPhoneDestinationwith new fields - Updated
WebRtcHangupSourceenum - JavaDoc fixes
- Added machine detection support with
- Viber:
- Extended
ViberOtpTemplateLanguagewith new language options - Extended
ViberOutboundOtpTemplateContentwith new fields - JavaDoc fixes
- Extended
- General:
- Updated tests
Removed
- Removed
RcsPlatformInfoclass — itsapplicationIdandentityIdfields are now carried by the existingPlatformclass, which is used consistently across the SDK for platform context - Removed
CallsPublicDialogRecordingclass — unified withCallsDialogRecordingResponse, which represents the same dialog recording data and is now the single type returned from dialog recording endpoints
6.3.0
[ 6.3.0 ] - 2026-02-17
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.
Added
- Support for Infobip RCS API.
- Most recent feature set for:
- HTTPS enforcement: The SDK now automatically ensures HTTPS is used for API host URLs. If
http://is explicitly provided, aIllegalArgumentExceptionis raised. URLs without a protocol are automatically prefixed withhttps://.
Changed
- Call Routing:
- Extended
CallRoutingWebSocketEndpointwithcustomDatafield - Extended
CallRoutingApiwith new endpoints:deleteByCorrelationId,recordingFileDownload,searchCallRoutingRecording,updateRouteOrder,updateRouteStatus,simulateRoute - Extended
getCallRoutesmethod withnameContainsquery parameter support - Extended
CallRoutingCriteriaTypewithAPPLICATIONtype support - Extended
CallRoutingCriteriawithCallRoutingApplicationCriteriasubtype support - Removed duplicate
customDatafield fromCallRoutingInfobipApplicationandCallRoutingCallsApplicationmodels (field is already inherited from parent classCallRoutingApplication) - JavaDoc fixes
- Extended
- Voice:
- Extended
VoiceApiwith new IVR upload endpoints:ivrUploadAudioFileandivrUploadGetFiles - Extended
CallsSearchResponse,CallsUpdateScenarioRequest,CallsUpdateScenarioResponsemodels withrecordfield support - Extended
CallsProviderTrunkTypewithOPENAI_REALTIMEtype support - Extended
CallsProviderwithCallsOpenAiProvidersubtype support - Extended
CallsRecordingFilemodel withexpirationTimefield support - Renamed
customDatafield tomultichannelMappingDatainCallsRecordingFilemodel - Extended
CallsVoiceDatawithdirectionandcallRecordingFileIdfield support - Extended
CallVoicewith new voices (JENNIFER,DAVID) - Replaced
platformfield (type:Platform) withapplicationIdfield (type:String) inCallRecordingandCallsConferenceRecordingmodels - Changed
resultsfield type fromList<CallRecording>toList<CallsPublicRecording>inCallRecordingPagemodel - Changed
resultsfield type fromList<CallsConferenceRecording>toList<CallsPublicConferenceRecording>inCallsConferenceRecordingPagemodel - Changed
composedFilesfield type fromList<CallsRecordingFile>toList<CallsPublicRecordingFile>andcallRecordingsfield type fromList<CallRecording>toList<CallsPublicRecording>inCallsConferenceRecordingLog,CallsDialogRecordingLog, andCallsDialogRecordingResponsemodels - Removed
stopOnandcustomDatafields fromCallsSayRequestmodel - Removed
recordfield fromCallsIvrMessagemodel - Removed
TRANSFERRINGstate fromCallsDialogStateenum - Removed
JOHANNESBURG_1enum value fromCallsRecordingLocationto reflect the current state of the API - JavaDoc fixes
- Extended
- Viber:
- Fixed
ViberCarouselCardbuttons now are null instead of being initialized as a new ArrayList to reflect field change from required to optional - JavaDoc fixes
- Fixed
- MessagesApi:
- Extended
MessagesApiMessageContentwithsenderDisplayInfofield support - Extended
MessagesApiMessageOptionswithtrafficType,sessionRateandprimaryDevicefield support - Extended
MessagesApiWebhookEventContentTypewithURLandREACTIONevent type support - JavaDoc fixes
- Extended
- Tfa:
- Extended
TfaStartAuthenticationRequestandTfaResendPinRequestwithtrackDeliveryfield support - Extended
TfaStartAuthenticationResponsewithexternalMessageIdfield support - JavaDoc fixes
- Extended
- WebRtc:
- Extended
WebRtcParticipantwithstartTimeandtypefield support - Extended
WebRtcParticipantsDetailsandWebRtcPhoneCallDetailswithdialogIdandhangupSourcefield support - Renamed
textfield tomessageinCallsDialogBroadcastWebrtcTextRequestmodel due to previous endpoint/calls/1/dialogs/{dialogId}/broadcast-webrtc-textbeing sunset and migrated to/calls/1/dialogs/{dialogId}/send-message - Renamed
textfield tomessageinCallsConferenceBroadcastWebrtcTextRequestmodel due to previous endpoint/calls/1/conferences/{conferenceId}/broadcast-webrtc-textbeing sunset and migrated to/calls/1/conferences/{conferenceId}/send-message - Removed
CALLING,RINGING,PRE_ESTABLISHED,ESTABLISHED,DISCONNECTED,JOINING,JOINED,LEFTenum values fromWebRtcState - JavaDoc fixes
- Extended
- WhatsApp:
- Extended
WhatsAppInteractiveOrderPaymentStatuswithUPI_LINKstatus support - Extended
WhatsAppInteractiveAllowedOrderPaymentDetailswithUPI_LINKtype support - Removed
LIMIT_1Kvalue fromWhatsAppSenderLimitenum - JavaDoc fixes
- Extended
- General:
- Updated tests
6.2.0
[ 6.2.0 ] - 2025-10-27
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.
Added
- Most recent feature set for:
Changed
-
Email:
- For
getIpPoolmethod response type changed fromEmailIpPoolResponsetoEmailIpPoolDetailResponse - Removed
returnPathAddressfield fromEmailAddDomainRequest,EmailDomainResponsemodel /email/1/domains/{domainName}/return-path- This endpoint has been is no longer supported in the SDK.- Fixed
bulksfield inEmailBulkScheduleResponseandEmailBulkStatusResponse, now initialized as an empty list due to field change from optional to required - Extended
EmailDomainResponsemodel withblocklistConfigrationLevelfield - Extended
EmailIpDetailResponse,EmailIpResponsemodel withipAddressesfield - Fixed
messagesfield inEmailSendResponse, now initialized as an empty list due to field change from optional to required - Fixed
reasonfield type inEmailValidationResponsefromStringtoEmailValidationReason - Fixed
riskfield type inEmailValidationResponsefromStringtoEmailValidationApiRisk - Extended
EmailWebhookTrackingPayloadmodel witheventIdandsenderfield support - JavaDoc fixes
- For
-
MessagesApi:
- Extended
MessagesApiDefaultMessageRequestOptionswithmessageOrderingfield support - Extended
MessagesApiMessageBodywithFORM,ORDER_REQUEST,ORDER_STATUSandTIME_PICKERbody type support - Extended
MessagesApiMessageButtonwithDIAL_PHONEandSHOW_LOCATIONbutton type support - Extended
MessagesApiMessageOpenUrlButtonmodel withpostbackDataandopenInfield support - Extended
MessagesApiMessageOptionsmodel withtransliterationandcorrelationDatafield support - Extended
MessagesApiOutboundTemplateChannelmodel withVIBER_BMtype support - Extended
MessagesApiWebhookEventContentmodel withFORM_RESPONSEandPAYMENT_RESPONSEevent type support - Extended
MessagesApiWebhookEventwithmessageCountandmetadatafield support - JavaDoc fixes
- Extended
-
Mms:
- Cursor-based pagination support in
getOutboundMmsMessageLogsfunction withuseCursorandcursorparameters.- Extended
MmsLogsResponsemodel withcursorfield
- Extended
- JavaDoc fixes
- Cursor-based pagination support in
-
Moments:
- Fixed
FlowExceptionResponsemodel with adding missing fields:type,title,status,detail,instance - JavaDoc fixes
- Fixed
-
Sms:
- Unified
SmsWebhookInboundReportwith the existingSmsInboundMessagemodel - Unified
SmsWebhookInboundReportResponsewith the existingSmsInboundMessageResultmodel - JavaDoc fixes
- Unified
-
Tfa:
- Extended
TfaCreateEmailMessageRequest,TfaMessage,TfaUpdateEmailMessageRequestandTfaEmailMessagewithlandingPageIdfield support - Extended
TfaStartEmailAuthenticationRequestwithlandingPagePlaceholdersfield support - JavaDoc fixes
- Extended
-
Viber:
- Cursor-based pagination support in
getOutboundViberMessageLogsfunction withuseCursorandcursorparameters.- Extended
ViberLogsResponsemodel withcursorfield
- Extended
- Extended
ViberMessageDeliveryReportingwithreceiveTriggeredFailoverReportsfield support - Extended
ViberOutboundFileContentandViberOutboundFileContentTypewith aCAROUSELsupport - JavaDoc fixes
- Cursor-based pagination support in
-
Voice:
- Class replaced in
updateConferenceCallmethod fromCallsUpdateRequesttoCallsUpdateCallRequestto better reflect its specific usage - Extended
Call,CalLog,CallRequestmodels with new field:externalId - Extended
CallEndpoint,CallRoutingEndpointmodels withWHATSAPPtype support - Extended
CallRoutingDestinationmodel withAPPLICATIONtype support - Extended
CallRecordingRequestmodel with new field:channels - Extended
CallRoutingPhoneEndpointmodel with new field:ringbackGeneration - Extended
CallRoutingRouteResponsemodel with new fields:statusandorder - Extended
CallRoutingSipEndpointmodel with new field:from - Extended
CallsAddExistingCallRequestmodel with new fields:roleandcustomData - Extended
CallsAddNewCallRequestwithrolesupport - Extended
CallsMachineDetectionmodel withmachineDetectionsupport - Extended
CallsDialogStatewithTRANSFERRINGstate support - Removed
UNKOWNenum value fromCallsDetectionResultenum - Removed
creationMethodfield fromCallsFilemodel - Extended
CallsLanguagewith multiple new language options - Extended
CallsMachineDetectionPropertieswithconfidenceRatingfield support - Extended
CallsMachineDetectionRequestwithdetectionTimefield support - Extended
CallsParticipantwithrolefield support - Extended
CallsSearchResponse,CallsUpdateScenarioRequest,CallsUpdateScenarioResponsemodel with new fields:notifyUrlandnotifyContentType - Fixed
CallsSpeechCaptureRequestkeyPhrases now are null instead of being initialized as a new LinkedHashSet to reflect field change from required to optional - Extended
CallsTranscriptionmodel with new fields:customDictionaryandadvancedFormatting - Extended
CallsUpdateRequest,CallsVideoMediaPropertiesmodel with newblindfield support - Extended
CallsVoiceDatawith new field support:answeredBy - Extended
CallsWebsocketEndpointConfigRequest.SampleRateEnumwith new rate values:24000and32000 - Extended
CallVoicewith new voices - JavaDoc fixes
- Class replaced in
-
Number Masking:
- Extended
NumberMaskingStatusRequestwithmachineDetectionResultfield support - JavaDoc fixes
- Extended
-
WebRtc:
- Removed
capabilitesfield fromWebRtcTokenRequestModelto reflect the current behaviour of the endpoint - Extended
WebRtcParticipantwithstateanddirectionfield support - JavaDoc fixes
- Removed
-
WhatsApp:
- Extended
WhatsAppWebhookTypewith new types:INTERACTIVE_CALL_PERMISSION_REPLYandREACTION - Extended
WhatsAppVideoMessage,WhatsAppAudioMessage,WhatsAppContactsMessage,WhatsAppDocumentMessage,WhatsAppImageMessage,WhatsAppInteractiveButtonsMessage,WhatsAppInteractiveFlowMessage,WhatsAppInteractiveListMessage,WhatsAppInteractiveLocationRequestMessage,WhatsAppInteractiveMultiProductMessage,WhatsAppInteractiveOrderDetailsMessage,WhatsAppTextMessage,WhatsAppInteractiveOrderStatusMessage,WhatsAppStickerMessage,WhatsAppMessage,WhatsAppLocationMessage,WhatsAppInteractiveProductMessage,WhatsAppInteractiveUrlButtonMessagemodels withcontextfield support - Removed
allowCategoryChangefield fromWhatsAppTemplatePublicApiRequestmodel to reflect the current behaviour of the endpoint - Extended
WhatsAppTemplateEditPublicApiRequest,WhatsAppDefaultUtilityTemplateApiResponsemodels withsubCategoryfield support - Extended
WhatsAppTemplateDataContentmodel withorderStatusfield support - Extended
WhatsAppSenderLimitmodel with additional value (LIMIT_2K) - Fixed
callbackDatafield type inWhatsAppPaymentmodel fromList<String>toObjectreflecting the current behaviour of the endpoint - Extended
WhatsAppLanguagewith multiple new language options - Extended
WhatsAppInteractiveUrlButtonHeaderContentwithDOCUMENT,IMAGEandVIDEO` type support - Extended
WhatsAppInteractiveOrderUPIPGRazorpayPaymentDetailswith callbackData field support - Extended
WhatsAppInteractiveOrderPaymentStatuswithBRAZIL_BOLETOstatus support - Extended
WhatsAppInteractiveAllowedOrderPaymentDetailswithBRAZIL_BOLETOandBRAZIL_PAYMENTStype support - Extended
WhatsAppDefaultTemplateStructureApiDatawithcallPermissionRequestfield support - Extended
WhatsAppButtonApiDatawithORDER_DETAILSandVOICE_CALLtype support - JavaDoc fixes
- Extended
-
General:
- Updated tests
Removed
- Unused
EmailReturnPathAddressRequest,CallsCreationMethod,WebRtcCapabilities,WebhookMessageCountandWebRtcRecordingclasses are removed
6.1.1
[ 6.1.1 ] - 2025-06-20
Added
- Most recent feature set for Infobip SMS API.
- Cursor-based pagination support in
getOutboundSmsMessageLogsfunction withuseCursorandcursorparameters.
- Cursor-based pagination support in
Changed
SmsLogsResponsenow includes cursor field to support cursor-based pagination.- Updated Javadoc documentation for
SmsMessageDeliveryReporting.
6.1.0
[ 6.1.0 ] - 2025-04-09
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.
Added
- Most recent feature set for:
- Added new Viber Outbound Content type:
LIST. - Added new MessagesApi message body types:
PRODUCTandMIXED. - Added new WhatsAppInteractive payment status and payment details type:
UPI_INTENT. - Added support for
WEBSOCKEToption in call routing endpoint. - Added WhatsAppWebhookType support:
- Added support for
INFECTED_CONTENTandINTERACTIVE_FLOW_REPLYtypes in theWhatsAppWebhookTypeenum.
Changed
- WhatsAppWebhookPaymentTransactionNotification model, previously nested enum 'type' and 'status' are now extracted to a separate class.
- WhatsAppWebhookPaymentNotification model, previously nested enum 'currency' is now extracted to a separate class.
- Updated
WhatsAppTemplateCardContent.buttonsfield type fromList<WhatsAppTemplateButtonContent>→List<WhatsAppCardAllowedTemplateButtonContent>. - Updated
WhatsAppTemplatePublicApiRequest.structurefield type fromWhatAppTemplateStructureApiData→Object. - Updated
CallsUpdateScenarioResponse.lastUsageDatefield type fromString→LocalDate. - Updated
CallsSearchResponse.lastUsageDatefield type fromString→LocalDate. - Removed
EmailWebhookTrackReportandEmailWebhookTrackResponsein favor of a unified class:EmailWebhookTrackingPayload. - Updated
FormsRequest.formTypefield type fromFormType→String. - Removed
CallSipTrunkLocationenum class, now processed as aString. - Updated
WhatsAppTemplateEditPublicApiRequestcategoryfield:CategoryEnuminner enum replaced by the existingWhatsAppCategoryclass enum value. - Updated
WhatsAppTemplatePublicApiRequestcategoryfield:CategoryEnuminner enum replaced by the existingWhatsAppCategoryclass enum value. - Replaced
WhatsAppWebhookAddresstypeenum withStringto support more options. - Fixed
WhatsAppWebhookContactbirthdayfield type: changed fromOffsetDateTimetoLocalDate. - Removed
WhatsAppWebhookPaymentNotificationCurrencyEnuminner enum class, replaced by the existingWhatsAppPaymentStatusclass. - Removed
WhatsAppTemplateAllowedOrderPaymentDetailsclass, replaced by the unifiedWhatsAppInteractiveAllowedOrderPaymentDetailsclass. - Fixed Javadoc.
Removed
- Removed deviceDetails and networkId fields
MessagesApiDeliveryResult.
6.0.0
[ 6.0.0 ] - 2025-02-17
🎉 NEW Major Version of infobip-api-java-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.
Added
- Most recent feature set for:
- Infobip Messages API.
- Footer support for Messages API Message. For additional details check Messages API documentation.
- Add calendar event button support for Messages API Message. For additional details check Messages API documentation.
- Card options for Carousel and Rich Link body types in Messages API Message. For additional details check Messages API documentation.
- Infobip Voice API.
- Support for Calls Configuration.
- Infobip SMS API.
- Infobip 2FA API.
- Infobip Email API.
- Support for Email IP Management instead of set of deprecated Email IP endpoints. Check Email API documentation for additional details.
- Infobip WhatsApp API.
- Infobip Viber API.
- Infobip WebRTC API.
- Infobip Moments.
- Infobip MMS API.
- Introduced
/mms/2/messages (V2)replacing the/mms/1/advanced (V1)endpoint. - Introduced
/mms/2/reports (V2)replacing/mms/1/reports (V1)endpoint. - Introduced
/mms/2/logs (V2)replacing/mms/1/logs (V1)endpoint.
- Introduced
- Infobip Messages API.
- Added new Calls error code type:
MACHINE_DETECTED. - Added support for
CallsProviderSipTrunkUpdateRequest. - Created
RawJsonDeserializerto handle raw JSON deserialization.
Changed
-
General
- Unified
MessageResponse,MessageResponseDetails,MessageGroupError,SendingSpeedLimitandSpeedLimitTimeUnit. - Updated
MessagesApiMessageGeneralStatus– Adjustments due to API updates. - Updated
DeprecationCheckerlogging level fromWARNINGtoINFOwhen the endpoint is only deprecated without a defined sunset date.
- Unified
-
Mms API
- Introduced the new
MmsMessageclass to replaceMmsAdvancedMessage, reflecting the latest state of the API for MMS messaging.
Updated request classes by replacingMmsAdvancedRequestwith the newMmsRequestclass, reflecting the latest state of the API. - Updated sending message function: use
sendMmsMessagesinstead ofsendMmsMessage.
- Introduced the new
-
Voice API
- Adjusted IVR models in script processing. Scenario scripting is now implemented as a raw string to increase usability of the feature. Scripts should be passed as strings to the IVR request model in all upcoming SDK versions.
- Updated
CallsUpdateScenarioRequest.scriptfield type fromList<CallsScriptInner>→String. - Updated
CallsSearchResponse.scriptandelsefields type fromList<Object>→String. - Updated
CallsUpdateScenarioResponse.scriptfield type fromObject→String.
- Updated
- Updated
CallsGetVoicesResponses.voicesfield type fromList<CallsVoice>→List<CallsSynthesisVoice>. - Updated
CallsSearchResponse.lastUsageDatefield type fromOffsetDateTime→String. - Updated
CallsSpeechCaptureRequest.languagefield type fromCallsLanguage→CallTranscriptionLanguage. - Updated
CallsTranscription.languagefield type fromCallsLanguage→CallTranscriptionLanguage. - Updated
CallsUpdateScenarioResponse.lastUsageDatefield type fromOffsetDateTime→String. - Removed
CallsVoice– Certain fields removed due to API updates. - Removed
CallRoutingUrlSecurityConfigType– Unified intoSecurityConfigTypeenumeration class. - Removed
CallsUrlSecurityConfigType– Unified intoSecurityConfigTypeenumeration class. - Fixed Number Masking content schema when uploading audio files.
- Fixed Number Masking UTC date-time deserialization in setup response model.
- Fixed: Replaced body content in
ConferencePlayFileRequestfromCallsPlayRequesttoCallsConferencePlayRequest.
- Adjusted IVR models in script processing. Scenario scripting is now implemented as a raw string to increase usability of the feature. Scripts should be passed as strings to the IVR request model in all upcoming SDK versions.
-
Email API
- Updated
EmailSuppressionInfo.createdDatefield type fromString→OffsetDateTime. - Removed
EmailSingleMessageStatus– Now integrated into the unifiedMessageStatusclass. - Updated
EmailAddDeleteSuppressionType– Pending further clarification.
- Updated
-
Messaging API
- Removed
MessagesApiRequestOptions– Now replaced byMessagesApiDefaultMessageRequestOptionsclass. - Removed
MessagesApiSpeedLimitTimeUnit– Now replaced by the unifiedSpeedLimitTimeUnitclass.
- Removed
-
Viber API
- Removed
ViberMessageRequestSchedulingSettings– Now useViberRequestSchedulingSettings. - Updated
ViberInboundContent.typeEnum→ViberInboundContentType. - Updated
ViberOutboundContent.typeEnum→ViberOutboundContentType. - Removed
ViberMessageStatus– Now unified intoMessageStatus. - Removed
ViberSpeedLimitTimeUnit– Now unified intoSpeedLimitTimeUnit. - Removed
ViberWebhookInboundReport– Now useViberInboundMessageViberInboundContent.
- Removed
-
WhatsApp API
- Removed unsupported enumeration values from
WhatsAppWebhookType. - Updated
WhatsAppWebhookReferralMediaVideo,WhatsAppWebhookReferralMediaImage,WhatsAppWebhookMediaVideo– Introduced newtypefield, no longer extendingWhatsappWebhookReferalMedia. - Refactored
WhatsAppWebhookReferralMedia– Changed from an abstract class to a normal class. - Removed
contextfield from variousWhatsAppWebhookmessage types:WhatsAppWebhookQuickReplyContentWhatsAppWebhookListReplyContentWhatsAppWebhookInboundAudioMessageWhatsAppWebhookButtonReplyContentWhatsAppWebhookInboundVoiceMessageWhatsAppWebhookInboundVideoMessageWhatsAppWebhookInboundTextMessageWhatsAppWebhookInboundStickerMessageWhatsAppWebhookInboundLocationMessageWhatsAppWebhookInboundImageMessageWhatsAppWebhookInboundDocumentMessageWhatsAppWebhookInboundContactMessage
- Removed
integrationType,pairedMessageId, andcallbackDatafields fromWhatsAppWebhookInboundMessageData. - Removed
INFECTED_CONTENT,INTERACTIVE_EXTENSION_REPLY,UNSUPPORTEDsubtypes fromWhatsAppWebhookInboundMessageabstract class. - Replaced
WhatsAppValidityPeriodTimeUnitclass withValidityPeriodTimeUnit. - Removed no longer supported 50 business-initiated conversations messaging tear limit for WhatsApp senders.
- Updated
WhatsAppPhoneNumberRequest.typeEnum→WhatsAppPhoneNumberTypeEnum. - Updated
WhatsAppOtpRequest.typeEnum→WhatsAppNumberType. - Removed
structurefield fromWhatsAppDefaultUtilityTemplatePublicApiRequest. - Removed
structurefield fromWhatsAppTemplatePublicApiRequest. - Removed
groupIdfield fromWhatsAppContext. - Refactored
WhatsAppDefaultTemplateStructureApiData– Now an implementation ofWhatsAppTemplateStructureApiData. - Refactored
WhatsAppAuthenticationTemplateStructureApiData– Now an implementation ofWhatsAppTemplateStructureApiData.
- Removed unsupported enumeration values from
-
WebRTC API
- Updated
WebRtcValidityWindow.acceptableDaystypeEnum →DeliveryDay. - Removed
applicationIdfield fromWebRtcTokenRequestModel. - Updated
WebRtcValidityWindow.LayoutsEnum→WebRtcLayout. - Updated
WebRtcLocalization.typeEnum→WebRtcLocalizationType. - Updated
WebRtcWebRtcDestination→WebRtcCallsDestination. - Removed
fcmServerKeyfield fromWebRtcAndroidPushNotificationConfig.
- Updated
Removed:
- Deprecated functions for sending Viber
Image,File, andTextmessages have been removed. UseViberApi.sendViberMessagesto send messages. - All the Calls IVR script related class and from now on all the scripts are processed as
String:CallsCallApiCallsCaptureCallsCollectCallsDialCallsDialToManyCallsDialToWebRTCCallsDialToConversationsCallsForEachCallsGoToCallsHangupCallsIfThenElseCallsMachineDetectionCallsPauseCallsPlayCallsPlayFromRecordingCallsRecordCallsRepeatUntilCallsRepeatWhileCallsSayCallsSendSmsCallsSetVariableCallsSwitchCaseCallsWhileDo
These changes align the SDK with the current API specification, ensuring consistency and reliability in future updates.
5.1.0
5.0.0
[ 5.0.0 ] - 2024-12-06
🎉 NEW Major Version of infobip-api-java-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.
Added
- Most recent feature set for:
- Infobip SMS API
- Introduced
/sms/3/messages (V3)replacing the/sms/2/text/advanced (V2)and/sms/2/binary/advanced (V2)endpoints. - Introduced
/sms/3/reports (V3)replacing/sms/1/reports (V1)endpoint. - Introduced
/sms/3/logs (V3)replacing/sms/1/logs (V1)endpoint.
- Introduced
- Infobip Email API
- Infobip Voice API
- Infobip SMS API
Changed
- Fixes and changes
- Introduced the new SmsMessage class to replace
SmsTextualMessageandSmsBinaryMessage, providing a unified structure for SMS messaging. - Added a content field within
SmsMessageto define the message content. This supports both textual and binary messages, which can be created using SmsTextContent or SmsBinaryContent, respectively. - Unified request classes by replacing
SmsAdvancedTextualRequestandSmsAdvancedBinaryRequestwith the new SmsRequest class. - Consolidated sending functions: use
sendSmsMessagesinstead of thesendSmsMessageandsendBinarySmsMessagefunctions. - Changed 'sentAt', 'doneAt' field type in MmsReport from String to OffsetDateTime since it didn't correspond to the state of the endpoint.
- Across all voice models, the 'applicationId' field has been removed and replaced with the 'platform' field, as it better reflects the state of the endpoint.
- Removed delivery time window configuration classes (
SmsDeliveryTimeWindow,MmsDeliveryTimeWindow,ViberDeliveryTimeWindow,CallRoutingAllowedTimeWindow,CallsDeliveryTimeWindow,SmsDeliveryTimeWindow,CallsTimeWindow) in favor of a unified class: DeliveryTimeWindow - Removed delivery time configuration classes (
SmsDeliveryTimeFrom,SmsDeliveryTimeTo,MmsDeliveryTime,ViberDeliveryTime,CallsTimeWindowPoint,WebRtcTimeOfDay,CallRoutingAllowedTimeFrom,CallRoutingAllowedTimeTo,WebRtcTimeOfDay) in favor of a unified class: DeliveryTime - Removed URL options configuration classes (
MessagesApiUrlOptions,ViberUrlOptions,WhatsAppUrlOptions) in favor of a unified class: UrlOptions - Removed platform configuration class (
ViberPlatform,MessagesApiPlatform) in favor of a unified class: Platform - Removed TurkeyIys options configuration classes (
MessagesApiTurkeyIysOptions,ViberTurkeyIysOptions,SmsTurkeyIysOptions) in favor of a unified class: TurkeyIysOptions - Removed delivery day enumeration classes (
SmsDeliveryDay,MmsDeliveryDay,CallsDeliveryDay,CallRoutingAllowedDay) in favor of a unified class: DeliveryDay - Removed recipient type enumeration classes (
SmsIysRecipientType,ViberRecipientType,MessagesApiRecipientType) in favor of a unified class: IysRecipientType - Removed validity period configuration classes (
ViberValidityPeriod,MessagesApiValidityPeriod) in favor of a unified class: ValidityPeriod - Removed validity period time unit enumeration classes (
ViberValidityPeriodTimeUnit,MessagesApiValidityPeriodTimeUnit) in favor of a unified class: ValidityPeriodTimeUnit
- Introduced the new SmsMessage class to replace