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/sdk
v1.8.0
pip install preread-sdk
v1.5.0
gem install preread
v1.4.0
composer require preread/sdk
v1.2.0
go get github.com/preread/go-sdk
v1.1.0
Maven/Gradle available
Get real-time notifications when important events happen
topic.created
HighNew topic is created
topic.deadline_reached
MediumTopic deadline has passed
contribution.added
HighUser contributes to a topic
report.generated
MediumTopic report is generated
user.invited
LowNew user invited to workspace
workspace.updated
LowWorkspace settings changed
template.created
LowNew template is created
integration.connected
LowExternal integration added
audit.log_created
HighNew 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_KEY
Get your API key and start integrating team coordination into your applications today.