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

Quota

GET
https://api.s.id/v1/quota
Information about your account quota

Request

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/quota' \
--header 'X-Auth-Id;' \
--header 'X-Auth-Key;'

Responses

🟢200OK
application/json
Body
code
integer 
required
data
object 
required
user_id
integer 
required
link_remaining
integer 
required
short_remaining
integer 
required
premium_name_remaining
integer 
required
long_url_remaining
integer 
required
reset_at
string 
required
Example
{
    "code": 200,
    "data": {
        "user_id": 228,
        "link_remaining": 96,
        "short_remaining": 5,
        "premium_name_remaining": 0,
        "long_url_remaining": 0,
        "reset_at": "2024-07-01T00:00:00+07:00"
    }
}
Previous
Unarchive Link
Next
Me
Built with