Find an API

Search public APIs with auth details & Postman guides

← All APIs

Files

hubapi · Company

Company No Auth Free & Open API

Upload and manage files.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Search files

Search through files in the file manager. Does not display hidden or archived files.

https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/search?id=1&url=https://example.com&name=test&path=example&size=10&sort=desc&type=json&after=example&limit=10&width=1&before=example&height=1&encoding=example&createdAt=example&extension=example&updatedAt=example&properties=example&createdAtGte=example&createdAtLte=example&updatedAtGte=example&updatedAtLte=example&parentFolderId=1&isUsableInContent=true&allowsAnonymousAccess=true

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/search?id=1&url=https%3A%2F%2Fexample.com&name=test&path=example&size=10&sort=desc&type=json&after=example&limit=10&width=1&before=example&height=1&encoding=example&createdAt=example&extension=example&updatedAt=example&properties=example&createdAtGte=example&createdAtLte=example&updatedAtGte=example&updatedAtLte=example&parentFolderId=1&isUsableInContent=true&allowsAnonymousAccess=true"
import requests
params = {
    "id": "1",
    "url": "https://example.com",
    "name": "test",
    "path": "example",
    "size": "10",
    "sort": "desc",
    "type": "json",
    "after": "example",
    "limit": "10",
    "width": "1",
    "before": "example",
    "height": "1",
    "encoding": "example",
    "createdAt": "example",
    "extension": "example",
    "updatedAt": "example",
    "properties": "example",
    "createdAtGte": "example",
    "createdAtLte": "example",
    "updatedAtGte": "example",
    "updatedAtLte": "example",
    "parentFolderId": "1",
    "isUsableInContent": "true",
    "allowsAnonymousAccess": "true"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/search",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/search');
url.searchParams.set('id', '1');
url.searchParams.set('url', 'https://example.com');
url.searchParams.set('name', 'test');
url.searchParams.set('path', 'example');
url.searchParams.set('size', '10');
url.searchParams.set('sort', 'desc');
url.searchParams.set('type', 'json');
url.searchParams.set('after', 'example');
url.searchParams.set('limit', '10');
url.searchParams.set('width', '1');
url.searchParams.set('before', 'example');
url.searchParams.set('height', '1');
url.searchParams.set('encoding', 'example');
url.searchParams.set('createdAt', 'example');
url.searchParams.set('extension', 'example');
url.searchParams.set('updatedAt', 'example');
url.searchParams.set('properties', 'example');
url.searchParams.set('createdAtGte', 'example');
url.searchParams.set('createdAtLte', 'example');
url.searchParams.set('updatedAtGte', 'example');
url.searchParams.set('updatedAtLte', 'example');
url.searchParams.set('parentFolderId', '1');
url.searchParams.set('isUsableInContent', 'true');
url.searchParams.set('allowsAnonymousAccess', 'true');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/search")
	q := baseURL.Query()
	q.Set("id", "1")
	q.Set("url", "https://example.com")
	q.Set("name", "test")
	q.Set("path", "example")
	q.Set("size", "10")
	q.Set("sort", "desc")
	q.Set("type", "json")
	q.Set("after", "example")
	q.Set("limit", "10")
	q.Set("width", "1")
	q.Set("before", "example")
	q.Set("height", "1")
	q.Set("encoding", "example")
	q.Set("createdAt", "example")
	q.Set("extension", "example")
	q.Set("updatedAt", "example")
	q.Set("properties", "example")
	q.Set("createdAtGte", "example")
	q.Set("createdAtLte", "example")
	q.Set("updatedAtGte", "example")
	q.Set("updatedAtLte", "example")
	q.Set("parentFolderId", "1")
	q.Set("isUsableInContent", "true")
	q.Set("allowsAnonymousAccess", "true")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/search")
uri.query = URI.encode_www_form({
  "id" => "1",
  "url" => "https://example.com",
  "name" => "test",
  "path" => "example",
  "size" => "10",
  "sort" => "desc",
  "type" => "json",
  "after" => "example",
  "limit" => "10",
  "width" => "1",
  "before" => "example",
  "height" => "1",
  "encoding" => "example",
  "createdAt" => "example",
  "extension" => "example",
  "updatedAt" => "example",
  "properties" => "example",
  "createdAtGte" => "example",
  "createdAtLte" => "example",
  "updatedAtGte" => "example",
  "updatedAtLte" => "example",
  "parentFolderId" => "1",
  "isUsableInContent" => "true",
  "allowsAnonymousAccess" => "true"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/search?" . http_build_query([
    "id" => "1",
    "url" => "https://example.com",
    "name" => "test",
    "path" => "example",
    "size" => "10",
    "sort" => "desc",
    "type" => "json",
    "after" => "example",
    "limit" => "10",
    "width" => "1",
    "before" => "example",
    "height" => "1",
    "encoding" => "example",
    "createdAt" => "example",
    "extension" => "example",
    "updatedAt" => "example",
    "properties" => "example",
    "createdAtGte" => "example",
    "createdAtLte" => "example",
    "updatedAtGte" => "example",
    "updatedAtLte" => "example",
    "parentFolderId" => "1",
    "isUsableInContent" => "true",
    "allowsAnonymousAccess" => "true"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Search folders

Search for folders. Does not contain hidden or archived folders.

https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/folders/search?id=1&name=test&path=example&sort=desc&after=example&limit=10&before=example&createdAt=example&updatedAt=example&properties=example&createdAtGte=example&createdAtLte=example&updatedAtGte=example&updatedAtLte=example&parentFolderId=1

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/folders/search?id=1&name=test&path=example&sort=desc&after=example&limit=10&before=example&createdAt=example&updatedAt=example&properties=example&createdAtGte=example&createdAtLte=example&updatedAtGte=example&updatedAtLte=example&parentFolderId=1"
import requests
params = {
    "id": "1",
    "name": "test",
    "path": "example",
    "sort": "desc",
    "after": "example",
    "limit": "10",
    "before": "example",
    "createdAt": "example",
    "updatedAt": "example",
    "properties": "example",
    "createdAtGte": "example",
    "createdAtLte": "example",
    "updatedAtGte": "example",
    "updatedAtLte": "example",
    "parentFolderId": "1"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/folders/search",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/folders/search');
url.searchParams.set('id', '1');
url.searchParams.set('name', 'test');
url.searchParams.set('path', 'example');
url.searchParams.set('sort', 'desc');
url.searchParams.set('after', 'example');
url.searchParams.set('limit', '10');
url.searchParams.set('before', 'example');
url.searchParams.set('createdAt', 'example');
url.searchParams.set('updatedAt', 'example');
url.searchParams.set('properties', 'example');
url.searchParams.set('createdAtGte', 'example');
url.searchParams.set('createdAtLte', 'example');
url.searchParams.set('updatedAtGte', 'example');
url.searchParams.set('updatedAtLte', 'example');
url.searchParams.set('parentFolderId', '1');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/folders/search")
	q := baseURL.Query()
	q.Set("id", "1")
	q.Set("name", "test")
	q.Set("path", "example")
	q.Set("sort", "desc")
	q.Set("after", "example")
	q.Set("limit", "10")
	q.Set("before", "example")
	q.Set("createdAt", "example")
	q.Set("updatedAt", "example")
	q.Set("properties", "example")
	q.Set("createdAtGte", "example")
	q.Set("createdAtLte", "example")
	q.Set("updatedAtGte", "example")
	q.Set("updatedAtLte", "example")
	q.Set("parentFolderId", "1")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/folders/search")
uri.query = URI.encode_www_form({
  "id" => "1",
  "name" => "test",
  "path" => "example",
  "sort" => "desc",
  "after" => "example",
  "limit" => "10",
  "before" => "example",
  "createdAt" => "example",
  "updatedAt" => "example",
  "properties" => "example",
  "createdAtGte" => "example",
  "createdAtLte" => "example",
  "updatedAtGte" => "example",
  "updatedAtLte" => "example",
  "parentFolderId" => "1"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/folders/search?" . http_build_query([
    "id" => "1",
    "name" => "test",
    "path" => "example",
    "sort" => "desc",
    "after" => "example",
    "limit" => "10",
    "before" => "example",
    "createdAt" => "example",
    "updatedAt" => "example",
    "properties" => "example",
    "createdAtGte" => "example",
    "createdAtLte" => "example",
    "updatedAtGte" => "example",
    "updatedAtLte" => "example",
    "parentFolderId" => "1"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Get file.

Get file by ID.

https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/{fileId}?properties=example

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/{fileId}?properties=example"
import requests
params = {
    "properties": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/{fileId}",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/{fileId}');
url.searchParams.set('properties', 'example');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/{fileId}")
	q := baseURL.Query()
	q.Set("properties", "example")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/{fileId}")
uri.query = URI.encode_www_form({
  "properties" => "example"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/hubapi.com/files/v3/files/v3/files/{fileId}?" . http_build_query([
    "properties" => "example"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Files?

Files is a Company API. Developers commonly use company APIs for:

  • enriching CRM records with company firmographics
  • building lead-generation and prospecting tools
  • verifying business identity and registration details
  • monitoring competitors and market intelligence
  • powering B2B data enrichment pipelines

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Files is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗