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

Get API Key

GET
/v1/users/api-key
Get API Key of an Account
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.snapbyte.io/v1/users/api-key' \
--header 'Cookie: token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwid2Vic2l0ZSI6e30sIm5hbWUiOm51bGwsInJvbGUiOjEsInZlciI6InYxIiwiaWF0IjoxNzUxOTQwNzg4LCJleHAiOjE3ODM0NzY3ODh9.bL8f6tvb2WoQru7atsf1CSRcElrBW1NDZZsD2TTs0rM;id=1'
Response Response Example
{
    "success": true,
    "message": "Generated",
    "data": {
        "api_key": "9cc215b6-4fd1-41c7-ba73-4ad2ac8ed335"
    }
}

Request

Cookie Params
token
string 
optional
Authentication token
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Miwid2Vic2l0ZSI6e30sIm5hbWUiOm51bGwsInJvbGUiOjEsInZlciI6InYxIiwiaWF0IjoxNzUxOTQwNzg4LCJleHAiOjE3ODM0NzY3ODh9.bL8f6tvb2WoQru7atsf1CSRcElrBW1NDZZsD2TTs0rM
id
integer 
optional
Account ID
Example:
1

Responses

🟢200Success
application/json
Body
success
boolean 
required
message
string 
required
data
object 
required
api_key
string 
required
Account API Key
Modified at 2025-07-08 02:29:43
Previous
Logout
Next
Add webhook
Built with