Bulk actions
Learn how to perform bulk actions on links.
Dub allows you to perform bulk actions on links. This is particularly useful when you need to create, update, or delete multiple links at once without having to make multiple API requests.
Bulk create links
Bulk create allows you to create up to 100 links at once.
Bulk link creation does not support custom link previews. Also, webhook events will not be triggered when using bulk link creation.
Bulk update links
Bulk update allows you to modify up to 100 links simultaneously with the same data.
Some potential use cases:
- Tagging multiple links at once
- Setting the same expiration date for multiple links
- Updating UTM parameters for multiple links
You cannot update the domain or key of a link with this endpoint. Also, webhook events will not be triggered when using bulk link updates
Bulk delete links
With bulk delete, you can delete up to 100 links at once.
This is a destructive action and cannot be undone. Proceed with caution. Also, webhook events will not be triggered when using this endpoint.
Was this page helpful?