Node.js SDK
Node.js SDK reference
Installation
npm install @missinglettr/apiUsage
const { MissinglettrAPI } = require('@missinglettr/api');
const api = new MissinglettrAPI('YOUR_API_KEY');
// List workspaces
const workspaces = await api.workspaces.list();
// Create a post
const post = await api.posts.create({
workspaceId: 1,
text: 'Hello from Node.js!',
platforms: ['twitter', 'linkedin']
});