Validate Bulk CSV
Bulk URLs
Validate Bulk CSV
Validate a CSV file containing URLs for bulk shortening and get a preview of the operation
POST
Validate Bulk CSV
Validates a CSV file containing a list of URLs to be shortened. This endpoint checks for format errors, duplicates, and plan limits before actual creation. It returns a summary of valid and invalid entries, along with a preview of the data.
Request
You can send the CSV data either as a file upload (multipart/form-data) or as a raw string in the JSON body.Headers
multipart/form-data (for file upload) or application/json (for raw content)Body Parameters
The CSV file to upload. Required if
csv_content is not provided.Max Size: 5MB
Format: CSV (comma-separated values)The raw CSV content as a string. Required if
file is not provided.CSV Format Requirements
The CSV should have headers corresponding to theshort-urls creation parameters. The url column is required.
Supported Columns:
url(Required): The long URL to shortencustom_alias: Optional custom aliasname: Optional friendly namedomain: Optional branded domain or subdomain (must be fully qualified, e.g.,link.mysite.com)tags: Optional comma-separated tags (e.g., “promo,social”)
Response
Indicates if the request was successful.
Human-readable summary message.
Request Examples
- cURL (File)
- cURL (Raw Content)