Skip to main content

Overview

Bulk operations allow you to create or delete up to 100 links in a single API request. This is perfect for:
  • Launching marketing campaigns with many variations
  • Migrating links from another service
  • Cleaning up expired campaign links
  • Automating link generation at scale
Create up to 100 links in one request using POST /v1/links/bulk.

Basic Example

Response Format

Response Fields:
  • created - Array of successfully created links
  • failed - Array of links that failed with error details
  • summary - Count of total, succeeded, and failed operations
Partial success is supported - if some links fail, the successful ones are still created.

Real-World Examples

Marketing Campaign with UTM Parameters

Generate 50 links for a social media campaign across platforms:

Import from CSV

Read links from a CSV file and bulk create:
Delete up to 100 links in one request using DELETE /v1/links/bulk.

Example

Response

Combine GET /v1/links with bulk delete to remove all links with a specific tag:

Best Practices

Always check the failed array in the response:
Each bulk request counts as 1 request toward your rate limit, regardless of how many links are in it. This makes bulk operations very efficient!Example: Creating 100 links individually = 100 requests. Creating 100 links with bulk = 1 request.
When processing multiple batches, add a small delay to avoid overwhelming the API:

Error Handling

Quota Exceeded

If you exceed your plan’s link limit, the entire bulk request fails:
Solution: Delete unused links or upgrade your plan. If individual links fail validation, they appear in the failed array:
Fix the invalid links and retry only the failed ones.

Next Steps

Create Link

Create a single link with full customization

Get Analytics

Get aggregated analytics across all links

Organize with Groups

Create groups to organize bulk-created links

Error Handling

Handle errors and rate limits