Overview
Update an existing dynamic link’s configuration, destination URL, mobile app settings, social previews, and campaign parameters. This allows you to modify links without changing their short code or losing analytics data.Endpoint
What Can Be Updated
You can update the following aspects of a link:- Display Name: Change the link’s organizational name
- Destination URL: Update where the link redirects users
- Mobile App Configuration: Change iOS/Android app settings or switch to saved apps
- Social Preview: Update title, description, and image for link sharing
- Campaign Parameters: Modify UTM tracking parameters
- Desktop Fallback: Change desktop-specific destination
- Expiration Date: Extend or set link expiration
Common Update Scenarios
1. Update Destination URL
Change where users are redirected:cURL
2. Switch to Saved Mobile Apps
Replace manual configuration with saved apps:cURL
3. Update Social Preview
Modify how the link appears when shared:cURL
4. Update Campaign Parameters
Change analytics tracking:cURL
5. Update Mobile App Configuration
Change mobile app settings:cURL
Complete Update Example
Response
Success Response
Error Responses
Link Not Found
Expired Link
Invalid Payload
Best Practices
Mobile Apps: When switching to saved mobile apps (
iosAppId/androidAppId), you don’t need to include the manual ios/android configuration objects.Limitations
- Code Immutability: The link’s short code cannot be changed
- Expired Links: Cannot update links past their expiration date
- Active Links: Updates take effect immediately for active links
- Rate Limits: Standard API rate limits apply
Next Steps
Update Link Status
Pause or activate links
Get Link Details
View current link configuration
Mobile Apps
Learn about saved mobile apps
Delete Link
Permanently remove links