🔗
ShortenURL API
  • Welcome!
  • Quick Start
Powered by GitBook
On this page

Was this helpful?

Export as PDF

Quick Start

Make your first request.

API Version
Stage
Shorten URLs
Password Protection
Add Custom Domain
Count
Check Domain DNS
Cache

v6

Latest

v5

Deprecated

v4

Deprecated

v3

Deprecated

v2

Deprecated

v1

Beta

v0

Alpha

Shorten Multiple URLs POST - /api/{API Version}/shorten
body: {
    urls: urls,                // string
    password: password         // string
}

Add Custom Domain only available after v2.

Add Custom Domain GET -/api/{API Version}/domain?add={domain}

Status:

  [ 200 ] Domain/Subdomain added successfully. (Further action: use CNAME and point to ```javascript
  cname.vercel-dns.com.
[ 403 ] You are not authorized to add this domain.
[ 409 ] This domain/subdomain is already taken. Please remove it from your Vercel account and try again.
PreviousWelcome!

Last updated 22 days ago

Was this helpful?