Links
Update Link
Update an existing dynamic link’s configuration, name, and destination
PUT
Request
string
required
The unique code of the link to update
string
required
Your API key:
b2co_your_api_keystring
Optional display name for the link to help with organization and
identification.
object
required
Updated link configuration object containing destination URL and platform-specific
settings.
string
required
The destination URL where users will be redirected when they click the dynamic
link.
string
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.
string
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.
object
Android-specific configuration for deep linking and app store fallbacks.
string
Android app package name (e.g., com.yourapp.android).
string
Play Store URL to redirect Android users without the app.
string
Minimum app version required to handle the deep link.
boolean
Whether to save this Android configuration as a new reusable mobile app.
string
Name for the saved mobile app (required if saveApp is true).
object
iOS-specific configuration for deep linking and App Store fallbacks.
string
iOS app bundle identifier (e.g., com.yourapp.ios).
string
App Store URL to redirect iOS users without the app.
string
App Store ID for the iOS app.
string
Minimum app version required to handle the deep link.
boolean
Whether to save this iOS configuration as a new reusable mobile app.
string
Name for the saved mobile app (required if saveApp is true).
object
Social media preview configuration for rich link sharing.
string
Title displayed in social media previews.
string
Description displayed in social media previews.
string
Image URL displayed in social media previews.
object
UTM campaign parameters for analytics tracking.
string
Campaign source parameter.
string
Campaign medium parameter.
string
Campaign name parameter.
string
Campaign term parameter (for paid search keywords).
string
Campaign content parameter (for A/B testing and content-targeted ads).
string
Fallback URL for desktop users.
string
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
boolean
Indicates if the request was successful
object
The updated link confirmation
string
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