Build powerful integrations with our comprehensive REST API, real-time webhooks, and SDK libraries. Everything you need to embed team coordination into your applications.
const preread = require('@preread/sdk');
const client = new preread.Client({
apiKey: process.env.PREREAD_API_KEY
});
const topic = await client.topics.create({
title: 'Sprint Planning',
templateId: 'agile-sprint',
deadline: '2024-02-01T17:00:00Z',
contributors: ['eng-team'],
workspace: 'engineering'
});
console.log('Topic created:', topic.url);Try our API endpoints right here with live examples and responses
{
"title": "Q1 Planning Session",
"description": "Strategic planning for Q1 objectives",
"template_id": "planning-template",
"deadline": "2024-02-01T17:00:00Z",
"contributors": ["user123", "user456"],
"viewers": ["user789"],
"workspace_id": "ws_abc123",
"settings": {
"require_all_contributors": true,
"allow_late_submissions": false,
"auto_generate_report": true
}
}Note: Create a new topic with contributors and deadlines
Official SDKs for popular programming languages and frameworks
v2.1.0
npm install @preread/sdkv1.8.0
pip install preread-sdkv1.5.0
gem install prereadv1.4.0
composer require preread/sdkv1.2.0
go get github.com/preread/go-sdkv1.1.0
Maven/Gradle availableGet real-time notifications when important events happen
topic.createdHighNew topic is created
topic.deadline_reachedMediumTopic deadline has passed
contribution.addedHighUser contributes to a topic
report.generatedMediumTopic report is generated
user.invitedLowNew user invited to workspace
workspace.updatedLowWorkspace settings changed
template.createdLowNew template is created
integration.connectedLowExternal integration added
audit.log_createdHighNew audit log entry
{
"event": "topic.deadline_reached",
"timestamp": "2024-01-15T17:00:00Z",
"data": {
"topic_id": "topic_xyz789",
"title": "Q1 Planning Session",
"workspace_id": "ws_abc123",
"contributors": [
{
"user_id": "user123",
"status": "completed"
},
{
"user_id": "user456",
"status": "pending"
}
],
"completion_rate": 0.6,
"report_url": "https://api.preread.io/v1/topics/topic_xyz789/report"
}
}Include your API key in the Authorization header of every request.
Authorization: Bearer YOUR_API_KEYGet your API key and start integrating team coordination into your applications today.