Using flatfile-node with flat.io

TypeScript integration

Install

npm install flatfile-node

Quick start

import Flatfile_node from 'flatfile-node';

const client = new Flatfile_node({ accessToken: "YOUR_ACCESS_TOKEN" });
Get current user profile
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.flat.io/v2/me
List the classes available for the current user
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.flat.io/v2/classes
List the collections
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.flat.io/v2/collections
SDK on GitHub 📄 API Docs
SDK
flatfile-node
TypeScript
API
flat.io
flat.io

At a glance

Language TypeScript
Endpoints81
Base URLhttps://api.flat.io/v2