
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
buildin-api-sdk
Advanced tools
Official TypeScript/JavaScript SDK for Buildin API - Create, manage, and interact with Buildin pages, databases, and blocks
Official TypeScript/JavaScript SDK for the Buildin API. Create, manage, and interact with Buildin pages, databases, and blocks programmatically.
npm install buildin-api-sdk
import { DefaultApi, Configuration } from 'buildin-api-sdk';
// Initialize the API client
const config = new Configuration({
basePath: 'https://api.buildin.ai',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN'
}
});
const api = new DefaultApi(config);
// Create a new page
const newPage = await api.createPage({
parent: {
type: 'page_id',
page_id: 'parent-page-id'
},
properties: {
title: {
type: 'title',
title: [{
type: 'text',
text: { content: 'My New Page' }
}]
}
}
});
console.log('Created page:', newPage.id);
To use the Buildin API, you need to obtain an API token:
createPage() - Create a new pageupdatePage() - Update an existing pagequeryDatabase() - Query a databasegetBlockChildren() - Get child blocks of a page/blockappendBlockChildren() - Add child blocks to a page/blockupdateBlock() - Update a blockdeleteBlock() - Delete a blockcreateDatabase() - Create a new databaseupdateDatabase() - Update database propertiessearch() - Search for pages and databasesThis SDK is written in TypeScript and includes full type definitions for all API methods and response objects.
import { Block, Page, Database } from 'buildin-api-sdk';
// All types are fully typed
const page: Page = await api.getPage('page-id');
const blocks: Block[] = await api.getBlockChildren('block-id');
try {
const page = await api.createPage(pageData);
console.log('Page created successfully');
} catch (error) {
if (error.status === 401) {
console.error('Invalid API token');
} else if (error.status === 404) {
console.error('Resource not found');
} else {
console.error('API error:', error.message);
}
}
Check out the examples directory for complete usage examples including:
For detailed API documentation, visit: Buildin API Documentation
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Official TypeScript/JavaScript SDK for Buildin API - Create, manage, and interact with Buildin pages, databases, and blocks
We found that buildin-api-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.