Skip to main content

SimpleURL API Reference (1.0)

Download OpenAPI specification:Download

SimpleURL Developer Support: contact@simpleurl.tech

Getting Started

Welcome to the SimpleURL API documentation! Our RESTful APIs allow you to programmatically manage your short links, branded domains, and campaigns.

Authentication

All API requests require authentication using an API key. You must send the key in the X-API-Key header.

X-API-Key: YOUR_API_KEY_HERE

You can generate and manage your API keys from your Account Settings in the dashboard.

Base URL

The base URL for all production API requests is: https://api.simpleurl.tech

Rate Limiting

To ensure platform stability, API requests are rate-limited based on your subscription tier. If you exceed your limit, the API will respond with a 429 Too Many Requests status code. Please ensure your application handles rate limiting gracefully.

Domains

Endpoints for managing custom branded domains

List branded domains

Returns all branded domains configured by the authenticated user.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Add a branded domain

Adds a new branded domain to the account and returns DNS setup instructions.

Request Body schema: application/json
required

Branded domain details

domain
required
string

The custom branded domain name to add (e.g. links.acme.com or acme.com).

Responses

Request samples

Content type
application/json
{
  • "domain": "links.acme.com"
}

Response samples

Content type
application/json
{
  • "id": 1,
  • "domain": "links.acme.com",
  • "type": "SUBDOMAIN",
  • "status": "PENDING",
  • "verificationInstructions": {
    }
}

Verify domain DNS

Triggers a DNS verification check for the given branded domain to activate it.

path Parameters
domain
required
string

Responses

Response samples

Content type
application/json
{
  • "id": 1,
  • "domain": "links.acme.com",
  • "status": "ACTIVE",
  • "message": "Domain verified successfully",
  • "verificationInstructions": {
    }
}

Get domain details

Returns details for a single branded domain by domain name.

path Parameters
domain
required
string

Responses

Response samples

Content type
application/json
{
  • "id": 1,
  • "domain": "links.acme.com",
  • "type": "SUBDOMAIN",
  • "status": "PENDING",
  • "createdAt": "2026-05-31T09:16:48Z"
}

Delete branded domain

Removes a branded domain from the account.

path Parameters
domain
required
string

Responses

Response samples

Content type
application/json
{ }

Short URLs

Endpoints for managing shortened URLs

Get short URL

Retrieves details of a specific short URL by keyword.

path Parameters
keyword
required
string
query Parameters
domain
string
Default: "smplu.link"

Responses

Response samples

Content type
application/json
{}

Update short URL

Updates the destination URL and/or description of an existing short URL.

path Parameters
keyword
required
string
Request Body schema: application/json
required

Updated short URL details

url
string

The new target long URL. If omitted, only the description will be updated.

description
string

The new description/notes for the short URL.

domain
string
Default: "smplu.link"

The branded domain configured for this keyword. Defaults to 'smplu.link'.

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}

Delete short URL

Permanently deletes a short URL.

path Parameters
keyword
required
string
query Parameters
domain
string
Default: "smplu.link"

Responses

Response samples

Content type
application/json
{ }

List short URLs

Returns a paginated list of short URLs belonging to the authenticated user.

query Parameters
page
integer <int32>
Default: 1
pageSize
integer <int32>
Default: 10
search
string
domain
string
isPublic
boolean

Responses

Response samples

Content type
application/json
{}

Create short URL

Creates a new short URL. You can provide a custom keyword or leave it blank to auto-generate one.

Request Body schema: application/json
required

Short URL details

url
required
string

The target long URL to shorten.

keyword
string

Custom keyword for the shortened URL. If omitted, a random 5-character keyword will be generated.

description
string

Optional description/notes to identify this short URL.

domain
string
Default: "smplu.link"

The branded custom domain configured on your account. Defaults to 'smplu.link'.

createQrCode
boolean
Default: false

Whether to automatically enable/generate a client-side QR code for this link. Defaults to false.

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}

Batch create short URLs

Creates up to 100 short URLs in a single request.

Request Body schema: application/json
required

List of short URLs to create in bulk

required
Array of objects (CreateShortUrlV1Request)

A list of short URL objects to create in bulk (maximum 100).

Array
url
required
string

The target long URL to shorten.

keyword
string

Custom keyword for the shortened URL. If omitted, a random 5-character keyword will be generated.

description
string

Optional description/notes to identify this short URL.

domain
string
Default: "smplu.link"

The branded custom domain configured on your account. Defaults to 'smplu.link'.

createQrCode
boolean
Default: false

Whether to automatically enable/generate a client-side QR code for this link. Defaults to false.

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}

QR Codes

Endpoints for generating and managing QR codes

List QR codes

Returns a paginated list of all short URLs that have a QR code enabled. Optionally filter by domain.

query Parameters
page
integer <int32>
Default: 1
pageSize
integer <int32>
Default: 10
domain
string

Responses

Response samples

Content type
application/json
{}

Enable QR code

Enables a QR code on an existing short URL.

Request Body schema: application/json
required

QR code enable details

keyword
required
string

The short URL keyword to enable the QR code for.

domain
string

The domain of the short URL.

Responses

Request samples

Content type
application/json
{
  • "keyword": "my-promo",
  • "domain": "smplu.link"
}

Response samples

Content type
application/json
{}

Get QR code details

Returns the QR code details for a single short URL.

path Parameters
keyword
required
string
query Parameters
domain
string
Default: "smplu.link"

Responses

Response samples

Content type
application/json
{}

Remove QR code

Removes the QR code flag from a short URL.

path Parameters
keyword
required
string
query Parameters
domain
string
Default: "smplu.link"

Responses

Response samples

Content type
application/json
{ }

Download QR code PNG

Generates and downloads the QR code as a PNG image. Use the 'Download' button that appears in Swagger UI after calling this endpoint.

path Parameters
keyword
required
string
query Parameters
domain
string
Default: "smplu.link"
size
integer <int32>
Default: 300

Responses