Bulk Generate
Create many links of the same type in a single request — useful for importing spreadsheets of URLs, products, phone numbers, or contacts.
Scope: bulk.create
Generate links in bulk
POST /bulk-generate
Body
| Field | Type | Required | Notes |
|---|---|---|---|
type | string | yes | One of website, product, sms, vcard. |
data | array | yes | 1–1200 records. Each record's shape depends on type. |
folderId | string | no | Place all generated links in this folder. |
Every record requires a name, plus the type-specific fields below.
website records
| Field | Type | Required |
|---|---|---|
name | string | yes |
url | string (URL) | yes |
product records
| Field | Type | Required | Notes |
|---|---|---|---|
name, productName | string | yes | |
productDescription | string | no | |
currency | string | no | Defaults to USD. |
subTotal, tax, totalNet | number | no |
sms records
| Field | Type | Required |
|---|---|---|
name | string | yes |
phone | string | yes |
vcard records
| Field | Type | Required |
|---|---|---|
name, firstName, lastName, contact | string | yes |
email | string (email) | yes |
phone, fax, company, department, street, city, zip, state, country, website | string | no |
Example
curl -X POST https://api.prolinksqr.com/bulk-generate \
-H "Authorization: Basic key-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"type": "website",
"folderId": "0c8f...e21",
"data": [
{ "name": "Landing A", "url": "https://example.com/a" },
{ "name": "Landing B", "url": "https://example.com/b" }
]
}'
tip
A maximum of 1200 records is allowed per request. Split larger imports into multiple calls.