April 16, 2025

Add Tasks via API

You can now programmatically create tasks in any board using the new t0ggles API — a powerful way to connect your workflows, automations, and external systems directly with your boards.

#What's new

  • 🧠 API Access for Board Owners Board owners can generate a secure API key under Board Settings → Services. This key allows authenticated access to create tasks via HTTP requests.

  • ⚙️ Simple REST Endpoint Send a POST request to https://t0ggles.com/api/v1/tasks with an array of tasks and all their details.

  • 🎯 Supports Full Task Details API supports title, project, tags, priority, user assignment, rich markdown descriptions, dates, and custom property values.

#Why it matters

This is perfect if you're:

  • Integrating task creation into your product or CI/CD pipelines
  • Syncing form submissions, support tickets, or feedback directly into t0ggles
  • Automating recurring task creation from external tools or scripts

#Example

const res = await fetch('https://t0ggles.com/api/v1/tasks', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer YOUR_API_KEY',
},
body: JSON.stringify({
tasks: [
{
title: 'Launch Spring Email Campaign',
projectKey: 'MARKETING',
assignedUserEmail: '[email protected]',
priority: 'high',
pinToTop: true,
tags: ['Email', 'Q2 Launch'],
startDate: '2025-04-17',
dueDate: '2025-04-22',
descriptionType: 'markdown',
descriptionContent: `
We're preparing a launch campaign for Q2.
**Checklist**
- Finalize email copy
- Setup in Mailchimp
- QA test with team
> Goal: Go live by April 22
`,
properties: {
Budget: 1200,
Channel: 'Email',
Audience: ['Customers', 'Newsletter'],
},
},
],
}),
});

🛠️ Read the full API Documentation →