Bulk shortening

Turn a list of URLs into short links in one go — from the dashboard or the API. Bulk creation is available on Pro and Team.

From the dashboard

Open Bulk, then paste one URL per line or upload a CSV. To set a custom back-half for a row, add it after a comma: https://example.com,launch. fewly creates each link, scans destinations, and reports which rows succeeded.

From the API

Send a JSON array of URLs (each optionally followed by a comma and a custom code).

POST/api/v1/links/bulk
curl -X POST https://fewly.tech/api/v1/links/bulk \
  -H "Authorization: Bearer fwly_xxx_yyy" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://example.com", "https://example.org,promo"]}'

Response

The response summarizes how many links were created and returns a per-row result so you can retry only the failures.

200 OK
{
  "created": 2,
  "failed": 0,
  "results": [
    { "input": "https://example.com", "ok": true,
      "short_url": "https://go.fewly.tech/aZ3kQ", "code": "aZ3kQ" },
    { "input": "https://example.org,promo", "ok": true,
      "short_url": "https://go.fewly.tech/promo", "code": "promo" }
  ]
}

Limits

  • Up to 200 URLs per API request — split larger jobs into batches.
  • Your plan’s total bulk allowance still applies across requests.
  • Rows that fail validation or safety checks come back with an error and don’t stop the rest.