Skip to content

Releases: infobip/infobip-api-java-client

6.2.0

29 Oct 12:33
fb6480e

Choose a tag to compare

[ 6.2.0 ] - 2025-10-27

⚠️ IMPORTANT NOTE: This release contains compile time breaking changes.
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

Changed

  • Email:

    • For getIpPool method response type changed from EmailIpPoolResponse to EmailIpPoolDetailResponse
    • Removed returnPathAddress field from EmailAddDomainRequest, EmailDomainResponse model
    • /email/1/domains/{domainName}/return-path - This endpoint has been is no longer supported in the SDK.
    • Fixed bulks field in EmailBulkScheduleResponse and EmailBulkStatusResponse, now initialized as an empty list due to field change from optional to required
    • Extended EmailDomainResponse model with blocklistConfigrationLevel field
    • Extended EmailIpDetailResponse, EmailIpResponse model with ipAddresses field
    • Fixed messages field in EmailSendResponse, now initialized as an empty list due to field change from optional to required
    • Fixed reason field type in EmailValidationResponse from String to EmailValidationReason
    • Fixed risk field type in EmailValidationResponse from String to EmailValidationApiRisk
    • Extended EmailWebhookTrackingPayload model with eventId and sender field support
    • JavaDoc fixes
  • MessagesApi:

    • Extended MessagesApiDefaultMessageRequestOptions with messageOrdering field support
    • Extended MessagesApiMessageBody with FORM, ORDER_REQUEST, ORDER_STATUS and TIME_PICKER body type support
    • Extended MessagesApiMessageButton with DIAL_PHONE and SHOW_LOCATION button type support
    • Extended MessagesApiMessageOpenUrlButton model with postbackData and openIn field support
    • Extended MessagesApiMessageOptions model with transliteration and correlationData field support
    • Extended MessagesApiOutboundTemplateChannel model with VIBER_BM type support
    • Extended MessagesApiWebhookEventContent model with FORM_RESPONSE and PAYMENT_RESPONSE event type support
    • Extended MessagesApiWebhookEvent with messageCount and metadata field support
    • JavaDoc fixes
  • Mms:

    • Cursor-based pagination support in getOutboundMmsMessageLogs function with useCursor and cursor parameters.
      • Extended MmsLogsResponse model with cursor field
    • JavaDoc fixes
  • Moments:

    • Fixed FlowExceptionResponse model with adding missing fields: type, title, status, detail, instance
    • JavaDoc fixes
  • Sms:

    • Unified SmsWebhookInboundReport with the existing SmsInboundMessage model
    • Unified SmsWebhookInboundReportResponse with the existing SmsInboundMessageResult model
    • JavaDoc fixes
  • Tfa:

    • Extended TfaCreateEmailMessageRequest, TfaMessage, TfaUpdateEmailMessageRequest and TfaEmailMessage with landingPageId field support
    • Extended TfaStartEmailAuthenticationRequest with landingPagePlaceholders field support
    • JavaDoc fixes
  • Viber:

    • Cursor-based pagination support in getOutboundViberMessageLogs function with useCursor and cursor parameters.
      • Extended ViberLogsResponse model with cursor field
    • Extended ViberMessageDeliveryReporting with receiveTriggeredFailoverReports field support
    • Extended ViberOutboundFileContent and ViberOutboundFileContentType with a CAROUSEL support
    • JavaDoc fixes
  • Voice:

    • Class replaced in updateConferenceCall method from CallsUpdateRequest to CallsUpdateCallRequest to better reflect its specific usage
    • Extended Call, CalLog, CallRequest models with new field: externalId
    • Extended CallEndpoint, CallRoutingEndpoint models with WHATSAPP type support
    • Extended CallRoutingDestination model with APPLICATION type support
    • Extended CallRecordingRequest model with new field: channels
    • Extended CallRoutingPhoneEndpoint model with new field: ringbackGeneration
    • Extended CallRoutingRouteResponse model with new fields: status and order
    • Extended CallRoutingSipEndpoint model with new field: from
    • Extended CallsAddExistingCallRequest model with new fields: role and customData
    • Extended CallsAddNewCallRequest with role support
    • Extended CallsMachineDetection model with machineDetection support
    • Extended CallsDialogState with TRANSFERRING state support
    • Removed UNKOWN enum value from CallsDetectionResult enum
    • Removed creationMethod field from CallsFile model
    • Extended CallsLanguage with multiple new language options
    • Extended CallsMachineDetectionProperties with confidenceRating field support
    • Extended CallsMachineDetectionRequest with detectionTime field support
    • Extended CallsParticipant with role field support
    • Extended CallsSearchResponse, CallsUpdateScenarioRequest, CallsUpdateScenarioResponse model with new fields: notifyUrl and notifyContentType
    • Fixed CallsSpeechCaptureRequest keyPhrases now are null instead of being initialized as a new LinkedHashSet to reflect field change from required to optional
    • Extended CallsTranscription model with new fields: customDictionary and advancedFormatting
    • Extended CallsUpdateRequest, CallsVideoMediaProperties model with new blind field support
    • Extended CallsVoiceData with new field support: answeredBy
    • Extended CallsWebsocketEndpointConfigRequest.SampleRateEnum with new rate values: 24000 and 32000
    • Extended CallVoice with new voices
    • JavaDoc fixes
  • Number Masking:

    • Extended NumberMaskingStatusRequest with machineDetectionResult field support
    • JavaDoc fixes
  • WebRtc:

    • Removed capabilites field from WebRtcTokenRequestModel to reflect the current behaviour of the endpoint
    • Extended WebRtcParticipant with state and direction field support
    • JavaDoc fixes
  • WhatsApp:

    • Extended WhatsAppWebhookType with new types: INTERACTIVE_CALL_PERMISSION_REPLY and REACTION
    • Extended WhatsAppVideoMessage, WhatsAppAudioMessage, WhatsAppContactsMessage, WhatsAppDocumentMessage, WhatsAppImageMessage, WhatsAppInteractiveButtonsMessage, WhatsAppInteractiveFlowMessage, WhatsAppInteractiveListMessage, WhatsAppInteractiveLocationRequestMessage, WhatsAppInteractiveMultiProductMessage, WhatsAppInteractiveOrderDetailsMessage, WhatsAppTextMessage, WhatsAppInteractiveOrderStatusMessage, WhatsAppStickerMessage, WhatsAppMessage, WhatsAppLocationMessage, WhatsAppInteractiveProductMessage, WhatsAppInteractiveUrlButtonMessage models with context field support
    • Removed allowCategoryChange field from WhatsAppTemplatePublicApiRequest model to reflect the current behaviour of the endpoint
    • Extended WhatsAppTemplateEditPublicApiRequest, WhatsAppDefaultUtilityTemplateApiResponse models with subCategory field support
    • Extended WhatsAppTemplateDataContent model with orderStatus field support
    • Extended WhatsAppSenderLimit model with additional value (LIMIT_2K)
    • Fixed callbackData field type in WhatsAppPayment model from List<String> to Object reflecting the current behaviour of the endpoint
    • Extended WhatsAppLanguage with multiple new language options
    • Extended WhatsAppInteractiveUrlButtonHeaderContent with DOCUMENT, IMAGEandVIDEO` type support
    • Extended WhatsAppInteractiveOrderUPIPGRazorpayPaymentDetails with callbackData field support
    • Extended WhatsAppInteractiveOrderPaymentStatus with BRAZIL_BOLETO status support
    • Extended WhatsAppInteractiveAllowedOrderPaymentDetails with BRAZIL_BOLETO and BRAZIL_PAYMENTS type support
    • Extended WhatsAppDefaultTemplateStructureApiData with callPermissionRequest field support
    • Extended WhatsAppButtonApiData with ORDER_DETAILS and VOICE_CALL type support
    • JavaDoc fixes
  • General:

    • Updated tests

Removed

  • Unused EmailReturnPathAddressRequest, CallsCreationMethod, WebRtcCapabilities, WebhookMessageCount and WebRtcRecording classes are removed

6.1.1

20 Jun 09:58
3ad0c1d

Choose a tag to compare

[ 6.1.1 ] - 2025-06-20

Added

  • Most recent feature set for Infobip SMS API.
    • Cursor-based pagination support in getOutboundSmsMessageLogs function with useCursor and cursor parameters.

Changed

  • SmsLogsResponse now includes cursor field to support cursor-based pagination.
  • Updated Javadoc documentation for SmsMessageDeliveryReporting.

6.1.0

09 Apr 12:32
62288d7

Choose a tag to compare

[ 6.1.0 ] - 2025-04-09

⚠️ IMPORTANT NOTE: This release contains compile time breaking changes.
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

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.buttons field type from List<WhatsAppTemplateButtonContent>List<WhatsAppCardAllowedTemplateButtonContent>.
  • Updated WhatsAppTemplatePublicApiRequest.structure field type from WhatAppTemplateStructureApiDataObject.
  • Updated CallsUpdateScenarioResponse.lastUsageDate field type from StringLocalDate.
  • Updated CallsSearchResponse.lastUsageDate field type from StringLocalDate.
  • Removed EmailWebhookTrackReport and EmailWebhookTrackResponse in favor of a unified class: EmailWebhookTrackingPayload.
  • Updated FormsRequest.formType field type from FormTypeString.
  • Removed CallSipTrunkLocation enum class, now processed as a String.
  • Updated WhatsAppTemplateEditPublicApiRequest category field: CategoryEnum inner enum replaced by the existing WhatsAppCategory class enum value.
  • Updated WhatsAppTemplatePublicApiRequest category field: CategoryEnum inner enum replaced by the existing WhatsAppCategory class enum value.
  • Replaced WhatsAppWebhookAddress type enum with String to support more options.
  • Fixed WhatsAppWebhookContact birthday field type: changed from OffsetDateTime to LocalDate.
  • Removed WhatsAppWebhookPaymentNotification CurrencyEnum inner enum class, replaced by the existing WhatsAppPaymentStatus class.
  • Removed WhatsAppTemplateAllowedOrderPaymentDetails class, replaced by the unified WhatsAppInteractiveAllowedOrderPaymentDetails class.
  • Fixed Javadoc.

Removed

  • Removed deviceDetails and networkId fields MessagesApiDeliveryResult.

6.0.0

17 Feb 15:28
9eba410

Choose a tag to compare

[ 6.0.0 ] - 2025-02-17

🎉 NEW Major Version of infobip-api-java-client.

⚠️ IMPORTANT NOTE: This release contains compile time breaking changes.
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 Calls error code type: MACHINE_DETECTED.
  • Added support for CallsProviderSipTrunkUpdateRequest.
  • Created RawJsonDeserializer to handle raw JSON deserialization.

Changed

  • General

    • Unified MessageResponse, MessageResponseDetails, MessageGroupError, SendingSpeedLimit and SpeedLimitTimeUnit.
    • Updated MessagesApiMessageGeneralStatus – Adjustments due to API updates.
    • Updated DeprecationChecker logging level from WARNING to INFO when the endpoint is only deprecated without a defined sunset date.
  • Mms API

    • Introduced the new MmsMessage class to replace MmsAdvancedMessage, reflecting the latest state of the API for MMS messaging.
      Updated request classes by replacing MmsAdvancedRequest with the new MmsRequest class, reflecting the latest state of the API.
    • Updated sending message function: use sendMmsMessages instead of sendMmsMessage.
  • 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.script field type from List<CallsScriptInner>String.
      • Updated CallsSearchResponse.script and else fields type from List<Object>String.
      • Updated CallsUpdateScenarioResponse.script field type from ObjectString.
    • Updated CallsGetVoicesResponses.voices field type from List<CallsVoice>List<CallsSynthesisVoice>.
    • Updated CallsSearchResponse.lastUsageDate field type from OffsetDateTimeString.
    • Updated CallsSpeechCaptureRequest.language field type from CallsLanguageCallTranscriptionLanguage.
    • Updated CallsTranscription.language field type from CallsLanguageCallTranscriptionLanguage.
    • Updated CallsUpdateScenarioResponse.lastUsageDate field type from OffsetDateTimeString.
    • Removed CallsVoice – Certain fields removed due to API updates.
    • Removed CallRoutingUrlSecurityConfigType – Unified into SecurityConfigType enumeration class.
    • Removed CallsUrlSecurityConfigType – Unified into SecurityConfigType enumeration 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 ConferencePlayFileRequest from CallsPlayRequest to CallsConferencePlayRequest.
  • Email API

    • Updated EmailSuppressionInfo.createdDate field type from StringOffsetDateTime.
    • Removed EmailSingleMessageStatus – Now integrated into the unified MessageStatus class.
    • Updated EmailAddDeleteSuppressionType – Pending further clarification.
  • Messaging API

    • Removed MessagesApiRequestOptions – Now replaced by MessagesApiDefaultMessageRequestOptions class.
    • Removed MessagesApiSpeedLimitTimeUnit – Now replaced by the unified SpeedLimitTimeUnit class.
  • Viber API

    • Removed ViberMessageRequestSchedulingSettings – Now use ViberRequestSchedulingSettings.
    • Updated ViberInboundContent.typeEnumViberInboundContentType.
    • Updated ViberOutboundContent.typeEnumViberOutboundContentType.
    • Removed ViberMessageStatus – Now unified into MessageStatus.
    • Removed ViberSpeedLimitTimeUnit – Now unified into SpeedLimitTimeUnit.
    • Removed ViberWebhookInboundReport – Now use ViberInboundMessageViberInboundContent.
  • WhatsApp API

    • Removed unsupported enumeration values from WhatsAppWebhookType.
    • Updated WhatsAppWebhookReferralMediaVideo, WhatsAppWebhookReferralMediaImage, WhatsAppWebhookMediaVideo – Introduced new type field, no longer extending WhatsappWebhookReferalMedia.
    • Refactored WhatsAppWebhookReferralMedia – Changed from an abstract class to a normal class.
    • Removed context field from various WhatsAppWebhook message types:
      • WhatsAppWebhookQuickReplyContent
      • WhatsAppWebhookListReplyContent
      • WhatsAppWebhookInboundAudioMessage
      • WhatsAppWebhookButtonReplyContent
      • WhatsAppWebhookInboundVoiceMessage
      • WhatsAppWebhookInboundVideoMessage
      • WhatsAppWebhookInboundTextMessage
      • WhatsAppWebhookInboundStickerMessage
      • WhatsAppWebhookInboundLocationMessage
      • WhatsAppWebhookInboundImageMessage
      • WhatsAppWebhookInboundDocumentMessage
      • WhatsAppWebhookInboundContactMessage
    • Removed integrationType, pairedMessageId, and callbackData fields from WhatsAppWebhookInboundMessageData.
    • Removed INFECTED_CONTENT, INTERACTIVE_EXTENSION_REPLY, UNSUPPORTED subtypes from WhatsAppWebhookInboundMessage abstract class.
    • Replaced WhatsAppValidityPeriodTimeUnit class with ValidityPeriodTimeUnit.
    • Removed no longer supported 50 business-initiated conversations messaging tear limit for WhatsApp senders.
    • Updated WhatsAppPhoneNumberRequest.typeEnumWhatsAppPhoneNumberTypeEnum.
    • Updated WhatsAppOtpRequest.typeEnumWhatsAppNumberType.
    • Removed structure field from WhatsAppDefaultUtilityTemplatePublicApiRequest.
    • Removed structure field from WhatsAppTemplatePublicApiRequest.
    • Removed groupId field from WhatsAppContext.
    • Refactored WhatsAppDefaultTemplateStructureApiData – Now an implementation of WhatsAppTemplateStructureApiData.
    • Refactored WhatsAppAuthenticationTemplateStructureApiData – Now an implementation of WhatsAppTemplateStructureApiData.
  • WebRTC API

    • Updated WebRtcValidityWindow.acceptableDays typeEnum → DeliveryDay.
    • Removed applicationId field from WebRtcTokenRequestModel.
    • Updated WebRtcValidityWindow.LayoutsEnumWebRtcLayout.
    • Updated WebRtcLocalization.typeEnumWebRtcLocalizationType.
    • Updated WebRtcWebRtcDestinationWebRtcCallsDestination.
    • Removed fcmServerKey field from WebRtcAndroidPushNotificationConfig.

Removed:

  • Deprecated functions for sending Viber Image, File, and Text messages have been removed. Use ViberApi.sendViberMessages to send messages.
  • All the Calls IVR script related class and from now on all the scripts are processed as String:
    • CallsCallApi
    • CallsCapture
    • CallsCollect
    • CallsDial
    • CallsDialToMany
    • CallsDialToWebRTC
    • CallsDialToConversations
    • CallsForEach
    • CallsGoTo
    • CallsHangup
    • CallsIfThenElse
    • CallsMachineDetection
    • CallsPause
    • CallsPlay
    • CallsPlayFromRecording
    • CallsRecord
    • CallsRepeatUntil
    • CallsRepeatWhile
    • CallsSay
    • CallsSendSms
    • CallsSetVariable
    • CallsSwitchCase
    • CallsWhileDo

These changes align the SDK with the current API specification, ensuring consistency and reliability in future updates.

5.1.0

16 Dec 17:59
eb638aa

Choose a tag to compare

[ 5.1.0 ] - 2024-12-16

Added

5.0.0

06 Dec 16:17
822eb08

Choose a tag to compare

[ 5.0.0 ] - 2024-12-06

🎉 NEW Major Version of infobip-api-java-client.

⚠️ IMPORTANT NOTE: This release contains compile time breaking changes.
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.
    • Infobip Email API
    • Infobip Voice API

Changed

  • Fixes and changes
    • Introduced the new SmsMessage class to replace SmsTextualMessage and SmsBinaryMessage, providing a unified structure for SMS messaging.
    • Added a content field within SmsMessage to 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 SmsAdvancedTextualRequest and SmsAdvancedBinaryRequest with the new SmsRequest class.
    • Consolidated sending functions: use sendSmsMessages instead of the sendSmsMessage and sendBinarySmsMessage functions.
    • 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

4.4.0

19 Nov 13:00
cd8c720

Choose a tag to compare

[ 4.4.0 ] - 2024-11-19

⚠️ IMPORTANT NOTE: This release contains compile time breaking changes.
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

Changed

4.3.1

05 Jun 11:52

Choose a tag to compare

[ 4.3.1 ] - 2024-06-05

Added

Changed

4.3.0

19 Mar 15:38

Choose a tag to compare

[ 4.3.0 ] - 2024-03-19

⚠️ IMPORTANT NOTE: This release contains compile time breaking changes.
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

Changed

  • Removed classes and unified structures
    • Removed basic url security configuration classes (CallsBasicUrlSecurityConfig, CallRoutingBasicUrlSecurityConfig) in favor of a unified class: BasicSecurityConfig
    • Removed hmac algorithm class (CallsHmacAlgorithm) in favor of a unified class: HmacAlgorithm
    • Removed hmac url security configuration classes (CallRoutingHmacUrlSecurityConfig, CallsHmacUrlSecurityConfig) in favor of a unified class: HmacSecurityConfig
    • Removed url security configuration classes (CallRoutingUrlSecurityConfig, CallsUrlSecurityConfig) in favor of a unified class: SecurityConfig
  • Fixes and changes
  • Documentation
    • Fixed Javadoc.

Removed

  • Models for Receive WhatsApp Deleted Reports webhook since it is no longer part of Infobip's product stack.
  • Unused model classes

4.2.0

07 Mar 14:02

Choose a tag to compare

[ 4.2.0 ] - 2024-03-07

⚠️ IMPORTANT NOTE: This release contains changes that are not compatible with Infobip HTTP API. Therefore, it is considered broken. We strongly advise to avoid using it. We are working on a new version.