Links
Update Link
Update an existing dynamic link’s configuration, name, and destination
PUT
Request
The unique code of the link to update
Your API key:
b2co_your_api_keyOptional display name for the link to help with organization and
identification.
Updated link configuration object containing destination URL and platform-specific
settings.
The destination URL where users will be redirected when they click the dynamic
link.
ID of a saved iOS mobile app to use for this link. When provided, the link will use the saved app’s configuration instead of manual iOS settings.
ID of a saved Android mobile app to use for this link. When provided, the link will use the saved app’s configuration instead of manual Android settings.
Android-specific configuration for deep linking and app store fallbacks.
Android app package name (e.g., com.yourapp.android).
Play Store URL to redirect Android users without the app.
Minimum app version required to handle the deep link.
Whether to save this Android configuration as a new reusable mobile app.
Name for the saved mobile app (required if saveApp is true).
iOS-specific configuration for deep linking and App Store fallbacks.
iOS app bundle identifier (e.g., com.yourapp.ios).
App Store URL to redirect iOS users without the app.
App Store ID for the iOS app.
Minimum app version required to handle the deep link.
Whether to save this iOS configuration as a new reusable mobile app.
Name for the saved mobile app (required if saveApp is true).
Social media preview configuration for rich link sharing.
Title displayed in social media previews.
Description displayed in social media previews.
Image URL displayed in social media previews.
UTM campaign parameters for analytics tracking.
Campaign source parameter.
Campaign medium parameter.
Campaign name parameter.
Campaign term parameter (for paid search keywords).
Campaign content parameter (for A/B testing and content-targeted ads).
Fallback URL for desktop users.
Optional expiration date in ISO 8601 format. Link will become inactive after
this date.
Expired Links: You cannot update a link that has already expired. Consider creating a new link instead.
Response
Indicates if the request was successful
The updated link confirmation
Success message confirming the update
Common Use Cases
Updating Destination URL
Change where users are redirected:Switching to Saved Mobile Apps
Replace manual configuration with saved apps:Updating Social Preview
Update how the link appears when shared:Updating Campaign Parameters
Change analytics tracking parameters:Related Endpoints
- Update Link Status - Change link status (ACTIVE/PAUSED)
- Get Link - Retrieve link details
- Delete Link - Permanently remove a link