Snapbyte
  1. Domain
Snapbyte
  • Snapbyte
  • Pricing
  • Speedtest
  • Snapbyte APIs
    • Basic
      • Signup
      • Authenticate
      • Logout
      • Get API Key
      • Add webhook
      • Get User Stats
    • Files
      • Top Files
      • Get Files
      • Get File Info
      • Get File's Stats
    • Zones
      • Get Zones
      • Create Zone
      • Get Zone's Stats
    • Domain
      • Whitelist Domain
        POST
      • Domain Patterns
        GET
    • Preload a File
      POST
    • Get Snapbyte Signed Url
      GET
  • Legacy APIs
    • Preload File
      POST
    • Get Download Url
      GET
  • ⚡ Fast Snap
    GET
  1. Domain

Domain Patterns

GET
/v1/domains
Get domain patterns
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.snapbyte.io/v1/domains' \
--header 'x-api-key;'
Response Response Example
{
    "success": true,
    "data": [
        {
            "id": 5,
            "pattern": "ash-speed.hetzner.com",
            "user_id": 1,
            "description": "hetnzer",
            "active": true,
            "ctime": "2025-07-11T05:42:39.034Z",
            "utime": "2025-07-11T05:42:39.034Z"
        },
        {
            "id": 1,
            "pattern": "storage.googleapis.com/snapbyte-dev",
            "user_id": 1,
            "description": "Development GCS bucket",
            "active": true,
            "ctime": "2025-07-11T05:39:49.275Z",
            "utime": "2025-07-11T05:39:49.275Z"
        },
        {
            "id": 3,
            "pattern": "snapbyte-prod.s3.amazonaws.com",
            "user_id": 1,
            "description": "Production S3 bucket",
            "active": true,
            "ctime": "2025-07-11T05:39:49.275Z",
            "utime": "2025-07-11T05:39:49.275Z"
        },
        {
            "id": 4,
            "pattern": "cloud.google.com",
            "user_id": 1,
            "description": "Google Cloud Storage",
            "active": true,
            "ctime": "2025-07-11T05:39:49.275Z",
            "utime": "2025-07-11T05:39:49.275Z"
        }
    ]
}

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************

Responses

🟢200Success
application/json
Body
data
array[string]
required
Modified at 2025-07-11 08:06:35
Previous
Whitelist Domain
Next
Preload a File
Built with