s.id Public API
  1. Links
  • Introduction
  • v1
    • Links
      • List Links
        GET
      • Create Link
        POST
      • Link Detail by Short
        GET
      • Link Detail
        GET
      • Update Link
        POST
      • Protected Link
        POST
      • Dispossable Link
        POST
      • Archive Link
        PUT
      • Unarchive Link
        PUT
    • Quota
      GET
    • Me
      GET
  • Ping
    GET
  1. Links

Link Detail

GET
https://api.s.id/v1/links/{id}

Request

Path Params
id
string 
required
Header Params
X-Auth-Id
string 
required
X-Auth-Key
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.s.id/v1/links/' \
--header 'X-Auth-Id;' \
--header 'X-Auth-Key;'

Responses

🟢200OK
application/json
Body
code
integer 
required
data
object (LinkItem) 
required
id
integer 
required
created_at
string <date-time>
required
updated_at
string <date-time>
required
short
string 
required
long_url
string 
required
blocked
boolean 
required
blocked_reason
string 
optional
blocked_at
string <date-time>
required
microsite
boolean 
required
protected
boolean 
required
disposable
boolean 
required
adult
boolean 
required
archive_at
string <date-time>
required
Example
{
  "code": 200,
  "data": {
    "_id": "6673610e22b2eaa01abe4873",
    "id": 414736,
    "created_at": "2024-06-19T22:51:58.036Z",
    "updated_at": "2024-06-19T22:51:58.036Z",
    "short": "1JTi",
    "long_url": "https://example.com/test-link2",
    "blocked": null,
    "blocked_reason": null,
    "blocked_at": null,
    "microsite": false,
    "protected": false,
    "disposable": false,
    "adult": false,
    "archive_at": null
  }
}
Modified at 2024-06-22 00:21:40
Previous
Link Detail by Short
Next
Update Link
Built with