List Short URLs GET
Lists your account's active short URLs, newest first, with pagination.
Authorization
API Key (Authentication) — send the header Authorization: Bearer <API_KEY> (API keys start with smsk_)
HTTP Request
http
GET https://public-api.smsup-plus.com/shorten/list?page=1&pageSize=20Content Type
No body — parameters are sent in the query string
Parameter Description
| Property | Type | Required | Description |
|---|---|---|---|
page | integer (query) | Optional | Page number, starting at 1. Default 1 |
pageSize | integer (query) | Optional | Items per page, an integer of 1 or more. Default 20, maximum 100 (larger values are capped to 100) |
Response Description
| Property | Type | Description |
|---|---|---|
status | number | 200 on success |
data | array | Short URLs (see table below) — may be null when the page is empty |
total | number | Total number of active short URLs in the account |
totalpage | number | Total number of pages for the given pageSize |
data[]
| Property | Type | Description |
|---|---|---|
shortCode | string | Short code |
originalUrl | string | Destination URL |
domain | string | Short-link domain (full link = domain + shortCode) |
accountId | number | Owning account ID |
userId | number | ID of the user who created the link |
messageId | string | The messageId sent at creation (empty if none) |
clickCount | number | Number of times the link was opened |
isActive | boolean | Link status (this list only returns true) |
createdAt | string | Creation time (ISO 8601, UTC) |
expiresAt | string | Not used — currently always 0001-01-01T00:00:00Z (links do not expire) |
Request Example
bash
curl -X GET 'https://public-api.smsup-plus.com/shorten/list?page=1&pageSize=20' \
-H 'Authorization: Bearer <API_KEY>'js
const res = await fetch('https://public-api.smsup-plus.com/shorten/list?page=1&pageSize=20', {
headers: { Authorization: 'Bearer <API_KEY>' },
})
console.log(await res.json())Response Example
json
{
"status": 200,
"data": [
{
"shortCode": "aB3dE9xZ",
"originalUrl": "https://www.example.com/promotion?utm_source=sms",
"domain": "https://c0c.me/",
"accountId": 1024,
"userId": 2048,
"messageId": "PROMO-2026-11",
"clickCount": 37,
"isActive": true,
"createdAt": "2026-11-16T03:15:42.512Z",
"expiresAt": "0001-01-01T00:00:00Z"
}
],
"total": 1,
"totalpage": 1
}Possible Errors
| HTTP | Response | Cause |
|---|---|---|
| 401 | {"error":"invalid api key"} | Invalid API key — see Errors |
| 400 | {"status":400,"description":"page and pageSize must be positive integers"} | page or pageSize is not a number, or is 0 or negative |
| 500 | {"status":500,"description":"failed to query URLs"} | Query failed — retry |
