Skip to content

API reference

Start here

All 35 articles

  1. Authentication
    Get the bearer token that every other command needs.
  2. Rate limits and errors
    Requests an hour on each plan, the X-RateLimit headers, and what to do on a 429, 401, 400, 502 or 503.
  3. Get and update account info
    2 commands: Get account info, Update account info.
  4. Get API limits
    GET /v2/account/limits: Use this method to check the allowed number of API requests and the number of requests used in the past 60 minutes.
  5. Get users and user info
    2 commands: Get users, Get user info.
  6. Get storage and billing info
    2 commands: Get storage info, Get billing info.
  7. Add or remove a custom domain
    2 commands: Add custom domain, Remove custom domain.
  8. Create or close a sub-account
    2 commands: Create sub-account, Close sub-account.
  9. List account events and mark them seen
    2 commands: List or search account events, Mark account event(s) as seen.
  10. Get transfer stats
    2 commands: Get transfer stats, Get transfer stats.
  11. Get storage stats
    GET /v2/stats/storage: Check the total amount of data stored on a given day or each day over a certain period.
  12. Get 360 spin views
    GET /v2/stats/spins/views: Get spins views stats over a certain period (date from/to).
  13. Upload a file
    POST /v2/files/upload: Upload a file.
  14. Fetch a file from a URL
    POST /v2/files/fetch: Fetch a file(s) from a URL via HTTP and save it to your Sirv account.
  15. Upload large files with tus
    2 commands: List available tus.io locations, Get tus.io upload link.
  16. Download a file
    GET /v2/files/download: Download a single file from an account.
  17. List a folder's contents
    GET /v2/files/readdir: Get a list of all the files/folders within a folder.
  18. Get file info
    GET /v2/files/stat: Get information about a file, including created time, modified time, content type and size.
  19. Copy, rename and delete files and folders
    4 commands: Copy file, Rename file or folder, Delete file or empty folder, Create new empty folder.
  20. Search files
    2 commands: Search files, Scroll through search results.
  21. Delete many files at once
    2 commands: Delete a batch of files or directories, Get results of batch delete job.
  22. Zip files and folders
    2 commands: Zip a batch of files or directories, Get results of ZIP job.
  23. Get and set all file metadata
    2 commands: Get all file meta, Set all file meta.
  24. Get and set a file's title and description
    4 commands: Get meta title, Set meta title, Get meta description, Set meta description.
  25. Get, add and delete tags
    3 commands: Get file meta tags, Add file meta tags, Delete file meta tags.
  26. Get and set product metadata
    2 commands: Get product meta, Set product meta.
  27. Get and set the approval flag
    2 commands: Get approval flag, Set approval flag.
  28. Set, get and delete points of interest
    3 commands: Set point of interest, Get user points of interest, Delete point of interest.
  29. Get and set folder options
    2 commands: Get folder options, Set folder options.
  30. Get a JWT protected URL
    POST /v2/files/jwt: JWT protection is a powerful way to protect your files from being seen without permission.
  31. Convert a 360 spin to video
    POST /v2/files/spin2video: Convert a 360 spin into an MP4 video.
  32. Convert a video to a 360 spin
    POST /v2/files/video2spin: Create a 360 spin from a video file.
  33. Export a 360 spin to Amazon, Walmart and other retailers
    6 commands: Export spin to Amazon, Export spin to Walmart, Export spin to Home Depot, Export spin to Lowe's, Export spin to Grainger, Export spin to MSC Direct.
  34. Convert 3D models to GLB
    2 commands: Convert OBJ, USD, USDZ, FBX to GLB, Get results of GLB conversion job.
  35. Remove an image's background
    2 commands: Remove image background, Get results of image background removal job.
Back to top