Integration
Add landing pages to customer journeys in Moments or communications in Broadcast to control where customers land when they interact with your messages.
Only opt-out pages for email are supported.
All email communications include an unsubscribe link automatically. When a customer clicks it, they are taken to your configured opt-out landing page. If no landing page is configured, Infobip uses the default opt-out page.
Forms
Add custom forms to your landing pages to gather information directly from customers. Forms can capture contact details, preferences, or any other data you want to collect as part of a customer journey. Build forms and select them when creating a landing page. Forms must be active before you can add them to a landing page.
Once a form is integrated with a landing page, it cannot be made inactive or deleted while that association exists. Any updates you make to an integrated form take effect immediately across all landing pages using it, so review changes carefully before publishing.
Configure forms to store collected data in People to update customer profiles, or as raw data for custom processing.
2FA Email
Use a custom opt-out landing page with 2FA email message templates. When customers click the unsubscribe link in a 2FA email, they are taken to your custom page instead of the Infobip default. This lets you control the design and messaging of the opt-out flow.
Before you start, make sure you have:
- A published landing page. See Quick start for details.
- A configured 2FA email setup. See Using 2FA Email templates for details.
Get your landing page ID
- In the web interface (opens in a new tab), go to Content > Landing Pages.
- Copy the ID of the landing page you want to use. You will need this ID to link the landing page to a 2FA email message template in the API request.
Create a 2FA email message template with a custom opt-out page
Include the landingPageId field when creating a new 2FA email message template:
POST /2fa/2/applications/{appId}/email/messages
{
"pinType": "NUMERIC",
"pinLength": 4,
"emailTemplateId": 350140,
"landingPageId": "your-landing-page-id"
}See Create 2FA email message template (opens in a new tab) for the full list of parameters.
Update an existing 2FA email message template
To add or change the opt-out landing page on an existing template, include landingPageId in your update request:
PUT /2fa/2/applications/{appId}/email/messages/{msgId}
{
"landingPageId": "your-landing-page-id"
}See Update 2FA email message template (opens in a new tab) for the full list of parameters.