Skip to main content
POST
Create Shortlinks in bulk

Authorizations

X-API-Key
string
header
required

Your API key, for example dlk_live_.... Create one in the dashboard under Settings → API Keys. Keys are shown once at creation and stored only as a hash, so they cannot be recovered.

Body

application/x-www-form-urlencoded

Shortlinks to operate on: an array of link objects for bulk create/update, or a list of shortlink ids for channel operations.

stop_on_error
string
default:true

Stop at the first failure and roll back, instead of processing every item. Defaults to true.

overwrite
string
default:false

In bulk create, update an existing link with the same domain and back-half instead of skipping it. Defaults to false.

Response

Success.

data
object

The result of a bulk operation. Deletion is bulk-only, so this is also what you get back when deleting a single resource.