Logo
Login

API Documentation

To get started, get your private API key from your account page.

  1. Base URL for our API is: https://infidrive.net/api/v1
  2. We allow only HTTP POST requests.
  3. Request and response from API are in JSON structure.
  4. Every response with status code other than 201 implies an error.
  5. We allow maximum of 10 requests per minute, if you surpass it you will receive a rate limit error.

File Upload

Add file to your account

ItemDetails
ENDPOINThttps://infidrive.net/api/v1/file
METHODPOST
HEADERSx-api-key
PARAMSfile_url or file_id and file_type
curl --location 'https://infidrive.net/api/v1/file' \
    --header 'Content-Type: application/json' \
    --header 'x-api-key: your-api-key' \
    --data '{"file_url": "https://domain.tld/path/filename.extension"}, "file_type": "direct"'