Path parameters
ParameterDescription
folderId
any
requiredFolder Id
Query parameters
ParameterDescription
driveId
string
optionalDrive id. Required when library is sharepoint or msteams.
library
string
optionalOne of sharepoint, msteams, google, onedrive, box, dropbox, cloudfiles, s3, azure, hubspot, azurefiles, sftp
limit
string
optionalPagination - Number of children
skip
string
optionalPagination for Hubspot and CloudFile Libraries - Number of pages already fectched * Number of child per page
nextPageToken
string
optionalPagination for other libraries - Next page token received when the limit is less than the number of children
Header parameters
ParameterDescription
Authorization
string
optionalReplace the API_Key placeholder with your actual API key.

Example request

curl --request GET \
     --url 'https://api.cloudfiles.io/v1/folders/:folderId/children?driveId=string&library=string&limit=string&skip=string&nextPageToken=string' \
     --header 'accept: application/json' \
     --header 'authorization: Bearer API_Key'
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
myHeaders.append("authorization", "Bearer API_Key");

var requestOptions = {
   method: 'GET',
   headers: myHeaders,
   redirect: 'follow'
};

fetch("https://api.cloudfiles.io/v1/folders/:folderId/children?driveId=string&library=string&limit=string&skip=string&nextPageToken=string", requestOptions)
   .then(response => response.text())
   .then(result => console.log(result))
   .catch(error => console.log('error', error));
require "uri"
require "json"
require "net/http"

url = URI("https://api.cloudfiles.io/v1/folders/:folderId/children?driveId=string&library=string&limit=string&skip=string&nextPageToken=string")

https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true

request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request["authorization"] = "Bearer API_Key"

response = https.request(request)
puts response.read_body
import requests
import json

url = "https://api.cloudfiles.io/v1/folders/:folderId/children?driveId=string&library=string&limit=string&skip=string&nextPageToken=string"

payload = {}
headers = {
   'accept': 'application/json',
   'content-type': 'application/json',
   'authorization': 'Bearer API_Key'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

Response body

{
  "count": 42,
  "nextPageToken": "eyJ...",
  "content": [
    {
      "id": "fld_456",
      "name": "Contracts",
      "type": "folder",
      "createdAt": "2026-07-01T09:00:00Z",
      "updatedAt": "2026-07-08T12:00:00Z",
      "createdBy": "usr_1",
      "externalUrl": "https://cloudfiles.sharepoint.com/sites/Sales/Shared%20Documents/Contracts"
    },
    {
      "id": "file_789",
      "name": "Proposal.pdf",
      "type": "file",
      "createdAt": "2026-07-02T09:00:00Z",
      "updatedAt": "2026-07-08T12:00:00Z",
      "createdBy": "usr_1",
      "extension": "pdf",
      "size": 20481,
      "externalUrl": "https://cloudfiles.sharepoint.com/sites/Sales/Shared%20Documents/Proposal.pdf"
    }
  ]
}