The URL list attached to a config determines which pages the template visits on every run.

POST /user-templates/get-urls

curl -X POST https://api.jetscrape.com/user-templates/get-urls \
  -H "Content-Type: application/json" \
  -H "x-api-key: js_YOUR_API_KEY" \
  -d '{ "configId": 42 }'

POST /user-templates/set-url

Adds or updates a single URL.

curl -X POST https://api.jetscrape.com/user-templates/set-url \
  -H "Content-Type: application/json" \
  -H "x-api-key: js_YOUR_API_KEY" \
  -d '{
    "url": "https://example.com/product/123",
    "name": "Product Page",
    "configId": 42
  }'
  • url (string, required) — the target address.
  • name (string, optional) — a label shown in listings.
  • configId (number, required) — the config it belongs to.

POST /user-templates/set-bulk-url

Uploads many URLs from a CSV or Excel file, sent as multipart/form-data.

curl -X POST https://api.jetscrape.com/user-templates/set-bulk-url \
  -H "x-api-key: js_YOUR_API_KEY" \
  -F "file=@urls.csv" \
  -F "configId=42"
url,name
https://example.com/product/1,Product 1
https://example.com/product/2,Product 2
https://example.com/product/3,Product 3

POST /user-templates/delete-urls

curl -X POST https://api.jetscrape.com/user-templates/delete-urls \
  -H "Content-Type: application/json" \
  -H "x-api-key: js_YOUR_API_KEY" \
  -d '{
    "urls": [
      "https://example.com/product/123",
      "https://example.com/product/456"
    ]
  }'

Sending the same URL through set-url again updates the existing record rather than creating a duplicate. To take a URL out of rotation without losing its history, set isActive: false via PATCH /user-templates/:configId instead of deleting it.

To run against a different set of URLs just once, without touching the saved list, use the urls field of POST /webhook/run-routine — see Running Routines.

Last updated: September 22, 2026