Bulk Create Links
Creates links in Dub in bulk.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
array of objectrequired
JSON array of link objects. Each item must include `url`. Common optional keys include `domain`, `key`, `title`, `externalId`, `tagIds`, `tagNames`, `folderId`, `comments`, and `expiresAt`.
string
Destination URL for this link row. Required by Dub for each link object.
string
Short-link domain for this row.
string
Custom short-link slug for this row.
string
Optional title for this row.
string
External identifier for this row.
array of string
Tag IDs assigned to this row.
array of string
Tag names assigned to this row.
string
Folder ID assigned to this row.
string
Comments for this row.
date
ISO-8601 expiration timestamp for this row.