डेवलपर्स
Planitude के साथ निर्माण करें
REST API, हस्ताक्षरित वेबहुक और MCP सर्वर: अपने सिस्टम को योजना के साथ सिंक रखें, हर बदलाव पर प्रतिक्रिया दें और AI असिस्टेंट को अपने प्रोजेक्ट पर काम करने दें।
अधिकांश API दस्तावेज़ों की तरह कोड, फ़ील्ड नाम और तकनीकी संदर्भ अंग्रेज़ी में हैं।
- टास्क को अपने सिस्टम के साथ सिंक करेंCRM, ERP या स्क्रिप्ट से प्रोजेक्ट और टास्क बनाएँ,
externalIdके ज़रिए अपनी आईडी से उन्हें दोबारा खोजें और शेड्यूलिंग इंजन को तारीखें गणना करने दें। - हर बदलाव पर प्रतिक्रिया देंटास्क बनने, पूर्ण होने या खिसकाए जाने पर हस्ताक्षरित HTTPS अनुरोध प्राप्त करें, चाहे बदलाव ऐप, API, इम्पोर्ट या AI असिस्टेंट से आया हो।
- AI असिस्टेंट कनेक्ट करेंChatGPT, Claude, Gemini, Cursor और VS Code आपकी योजनाएँ पढ़ते हैं और MCP सर्वर के माध्यम से बदलाव प्रस्तावित करते हैं, आपकी अनुमतियों के साथ और उससे अधिक कुछ नहीं।
बेस URL: https://planitude.app
अनुरोध और प्रतिक्रियाएँ HTTPS पर JSON में होती हैं। अवधि और लैग कार्य-मिनट में हैं (8 घंटे का दिन 480 होता है), इंस्टेंट UTC में ISO 8601 हैं, समय के बिना तारीखें YYYY-MM-DD हैं।
curl https://planitude.app/api/auth/me \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/auth/me", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/auth/me",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"user": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"email": "anna@example.com",
"name": "Anna Rossi",
"avatarUrl": null,
"locale": "en",
"emailVerified": true
}
}क्विकस्टार्ट
तीन चरणों में शून्य से अपने पहले वेबहुक तक। आपको बस एक टर्मिनल चाहिए।
API कुंजी बनाएँ
प्रोफ़ाइल → API कुंजियाँ खोलें, पढ़ें और लिखें चुनें और कुंजी कॉपी करें: यह
pln_से शुरू होती है और केवल एक बार दिखाई जाती है। इसे एनवायरनमेंट वेरिएबल में रखें।अपनी पहली कॉल करें
आपको दिखने वाले प्रोजेक्ट की सूची प्राप्त करें। कुंजी आपकी ओर से काम करती है: वही प्रोजेक्ट, वही भूमिकाएँ।
वेबहुक प्राप्त करें
अपनी ज़रूरत के इवेंट के लिए एक सार्वजनिक HTTPS एंडपॉइंट सब्सक्राइब करें, फिर तुरंत एक टेस्ट इवेंट भेजें और उसका हस्ताक्षर सत्यापित करें।
export PLANITUDE_API_KEY="pln_…"curl https://planitude.app/api/projects \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/projects",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"projects": [
{
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"keyLocked": false,
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"calendarId": null,
"currency": "EUR",
"scheduleFrom": "forward",
"deadline": null,
"color": null,
"settings": {},
"archivedAt": null,
"createdBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"workspaceName": "Acme Construction",
"role": "owner",
"taskCount": 12,
"finishAt": "2026-10-07T15:00:00.000Z"
}
]
}curl -X POST https://planitude.app/api/webhooks \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8"
}'const res = await fetch("https://planitude.app/api/webhooks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://example.com/hooks/planitude",
events: ["task.created", "task.completed"],
projectId: "40be00e0-7e34-4f7a-864b-5cc986f575b8",
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/webhooks",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"url": "https://example.com/hooks/planitude",
"events": ["task.created", "task.completed"],
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
},
)
res.raise_for_status()
print(res.json()){
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "webhook.ping",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"message": "Planitude webhook test",
"webhook": {
"id": "1747ee7f-a395-4d3c-94b0-54b513d71d88",
"name": "Warehouse sync",
"events": [
"task.created",
"task.completed"
]
}
}
}प्रमाणीकरण
हर अनुरोध को Authorization हेडर में बेयरर टोकन के रूप में व्यक्तिगत API कुंजी से प्रमाणित करें। कुंजियाँ व्यक्तिगत होती हैं: वे आपकी ओर से, प्रत्येक प्रोजेक्ट पर आपकी भूमिका के साथ काम करती हैं, उससे अधिक कभी नहीं। आप कुंजी को एक वर्कस्पेस तक सीमित कर सकते हैं, उसकी समाप्ति तिथि तय कर सकते हैं और किसी भी समय रद्द कर सकते हैं; हर कॉल कुंजी के साथ लॉग की जाती है।
स्कोप
| स्कोप | अनुमति देता है |
|---|---|
| readplanitude:read | प्रोजेक्ट, टास्क, डिपेंडेंसी, सदस्य, टिप्पणियाँ, बेसलाइन और वेबहुक पढ़ें। |
| writeplanitude:write | पढ़ने की सभी सुविधाएँ, साथ ही प्रोजेक्ट, टास्क, डिपेंडेंसी, टिप्पणियाँ, बेसलाइन और वेबहुक बनाना और बदलना। |
कुंजियाँ और OAuth ऐप प्रोजेक्ट या टास्क हटा नहीं सकते: हटाना वेब ऐप में ही रहता है, जहाँ कोई व्यक्ति उसकी पुष्टि करता है। गलत आईडी को लक्षित करने वाली स्क्रिप्ट पूरी योजना नहीं मिटा सकती।
तृतीय-पक्ष ऐप के लिए OAuth 2.1
दूसरे लोगों की ओर से काम करने वाले ऐप OAuth 2.1 का उपयोग करते हैं: PKCE (S256) के साथ ऑथराइज़ेशन कोड, हर उपयोग पर बदले जाने वाले रिफ़्रेश टोकन, डायनेमिक क्लाइंट रजिस्ट्रेशन (RFC 7591)। रिसोर्स https://planitude.app/api और स्कोप planitude:read या planitude:write माँगें।
एंडपॉइंट मानक डिस्कवरी दस्तावेज़ों में प्रकाशित हैं, इसलिए OAuth लाइब्रेरी स्वयं कॉन्फ़िगर हो जाती हैं।
https://planitude.app/.well-known/oauth-authorization-serverhttps://planitude.app/.well-known/oauth-protected-resource
अच्छे अभ्यास
- कुंजियों को एनवायरनमेंट वेरिएबल या सीक्रेट मैनेजर में रखें, कभी कोड या रिपॉज़िटरी में नहीं। कुंजियाँ
pln_से शुरू होती हैं, इसलिए सीक्रेट स्कैनर उन्हें पहचान सकते हैं। - केवल पढ़ने पर रीड-ओनली कुंजी और हर इंटीग्रेशन के लिए एक अलग कुंजी का उपयोग करें: आप एक को रद्द कर सकते हैं और बाकी चलते रहेंगे।
- स्क्रिप्ट द्वारा उपयोग की जाने वाली कुंजियों की समाप्ति तिथि तय करें और उन्हें रोटेट करें।
- API को अपने सर्वर से कॉल करें, ब्राउज़र से नहीं: फ्रंट-एंड कोड में कुंजी सार्वजनिक कुंजी होती है।
curl https://planitude.app/api/projects \
-H "Authorization: Bearer $PLANITUDE_API_KEY"{
"issuer": "https://planitude.app",
"authorization_endpoint": "https://planitude.app/oauth/authorize",
"token_endpoint": "https://planitude.app/api/oauth/token",
"registration_endpoint": "https://planitude.app/api/oauth/register",
"revocation_endpoint": "https://planitude.app/api/oauth/revoke",
"scopes_supported": [
"planitude:read",
"planitude:write"
],
"grant_types_supported": [
"authorization_code",
"refresh_token"
],
"code_challenge_methods_supported": [
"S256"
]
}त्रुटियाँ
Planitude मानक HTTP स्टेटस कोड का उपयोग करता है। त्रुटियों का JSON रूप हमेशा समान होता है: शाखा बनाने के लिए एक स्थिर error कोड और, ज़रूरत होने पर, कारण या सुधारे जाने वाले फ़ील्ड के साथ details।
| स्टेटस | अर्थ |
|---|---|
| 400invalid_request | अनुरोध मान्य नहीं है: details.fields हर फ़ील्ड और उसकी समस्या सूचीबद्ध करता है। |
| 401unauthorized | कुंजी अनुपस्थित, अमान्य, रद्द या समाप्त हो चुकी है। |
| 403forbidden | कुंजी या आपकी भूमिका इसकी अनुमति नहीं देती (details.reason), उदाहरण के लिए रीड-ओनली कुंजी से लिखना, या हटाना। |
| 404not_found | नहीं मिला, या आपको दिखाई नहीं देता। |
| 409dependency_cycle | योजना के साथ टकराव, उदाहरण के लिए ऐसी डिपेंडेंसी जो चक्र बना देगी (dependency_cycle)। |
| 429rate_limited | बहुत अधिक अनुरोध: Retry-After में दिए सेकंड प्रतीक्षा करें। |
| 500server_error | हमारी ओर से कुछ गड़बड़ हुई: एक्सपोनेंशियल बैकऑफ़ के साथ पुनः प्रयास करें। |
Error
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| error आवश्यक | string | Stable error code: invalid_request, unauthorized, forbidden, not_found, conflict, dependency_cycle, limit_exceeded, rate_limited, server_error, ... |
| details | object |
{
"error": "invalid_request",
"details": {
"fields": [
{
"path": "name",
"message": "Invalid input: expected string, received undefined"
},
{
"path": "durationMin",
"message": "Too small: expected number to be >=0"
}
]
}
}{
"error": "forbidden",
"details": {
"reason": "destructive"
}
}{
"error": "dependency_cycle",
"details": {
"cycles": [
{
"path": "Foundations -> Walls -> Foundations",
"taskIds": [
"4dbd104a-00cd-4035-8955-255f52ea586a",
"a22fd799-c4dc-4869-a466-0dd6e96f71ce"
],
"taskNames": [
"Foundations",
"Walls"
]
}
]
}
}रेट लिमिट
सीमाएँ प्रति कुंजी, एक मिनट की स्लाइडिंग विंडो में लागू होती हैं: 240 रीड अनुरोध और 60 राइट अनुरोध। सीमा पार होने पर आपको सेकंड में Retry-After हेडर के साथ 429 rate_limited मिलता है।
पुनः प्रयास से पहले Retry-After की प्रतीक्षा करें, बल्क कार्य को समय में फैलाएँ और कई बदलावों को एक चेंज सेट में समूहित करें: एक अनुरोध और एक पुनर्गणना में अधिकतम 1,000 बदलाव।
HTTP/1.1 429 Too Many Requests
Retry-After: 12
Content-Type: application/json
{
"error": "rate_limited",
"details": {
"retryAfterSec": 12
}
}पेजिनेशन और खोज
टास्क सूचियाँ कर्सर से पेजिनेटेड होती हैं। limit दें (1–500, डिफ़ॉल्ट 100) और अगले पेज के लिए पिछली प्रतिक्रिया का nextCursor cursor के रूप में दें। जब nextCursor null हो, तो और पेज नहीं हैं।
externalId (आपकी अपनी आईडी पर सटीक मिलान), q (नाम में शामिल), updatedSince और completed से फ़िल्टर करें; sort=-number (नवीनतम पहले) या -updatedAt से क्रमबद्ध करें। छोटी सूचियाँ, जैसे प्रोजेक्ट, सदस्य और डिपेंडेंसी, एक ही प्रतिक्रिया में पूरी लौटती हैं।
curl "https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks?limit=500" \
-H "Authorization: Bearer $PLANITUDE_API_KEY"
# next page: pass the nextCursor of the previous response
curl "https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks?limit=500&cursor=$NEXT_CURSOR" \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const tasks = [];
let cursor = null;
do {
const url = new URL("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks");
url.searchParams.set("limit", "500");
if (cursor) url.searchParams.set("cursor", cursor);
const res = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}` },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const page = await res.json();
tasks.push(...page.tasks);
cursor = page.nextCursor;
} while (cursor);
console.log(tasks.length);import os
import requests
tasks, cursor = [], None
while True:
res = requests.get(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
params={"limit": 500, **({"cursor": cursor} if cursor else {})},
)
res.raise_for_status()
page = res.json()
tasks += page["tasks"]
cursor = page["nextCursor"]
if not cursor:
break
print(len(tasks))वर्ज़निंग
API और वेबहुक पेलोड तारीख़ के आधार पर वर्ज़न किए जाते हैं। वर्तमान वर्ज़न 2026-10-01 है: यह हर इवेंट का apiVersion फ़ील्ड और OpenAPI दस्तावेज़ का info.version है।
एक वर्ज़न के भीतर हम केवल जोड़ते हैं: नए एंडपॉइंट, नए वैकल्पिक फ़ील्ड, नए इवेंट प्रकार। नए वर्ज़न के बिना फ़ील्ड कभी हटाए या उनका प्रकार नहीं बदला जाता, इसलिए जिन फ़ील्ड को आप नहीं जानते उन्हें अनदेखा करें।
curl https://planitude.app/api/webhooks/eventsconst res = await fetch("https://planitude.app/api/webhooks/events");
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import requests
res = requests.get("https://planitude.app/api/webhooks/events")
res.raise_for_status()
print(res.json()){
"apiVersion": "2026-10-01",
"events": [
"project.created",
"project.updated",
"project.deleted",
"task.created",
"task.updated",
"task.deleted",
"task.completed",
"task.dates_changed",
"dependency.created",
"dependency.deleted",
"baseline.saved",
"member.invited",
"member.joined",
"comment.created"
]
}API संदर्भ
Account
Who is calling, and their workspaces.
User
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string (uuid) | |
| string (email) | ||
| name | stringnullable | |
| avatarUrl | stringnullable | |
| locale | string | |
| emailVerified | boolean |
{
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"email": "anna@example.com",
"name": "Anna Rossi",
"avatarUrl": null,
"locale": "en",
"emailVerified": true
}Workspace
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string (uuid) | |
| name | string | |
| role | string | इनमें से एक: |
{
"id": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"name": "Acme Construction",
"role": "owner"
}Current user (connection test)
GET/api/auth/me
रीड एक्सेस वाली कुंजी
रिटर्न करता है
200 OK The user
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| user | User |
curl https://planitude.app/api/auth/me \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/auth/me", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/auth/me",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"user": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"email": "anna@example.com",
"name": "Anna Rossi",
"avatarUrl": null,
"locale": "en",
"emailVerified": true
}
}Workspaces of the user, with role
GET/api/workspaces
रीड एक्सेस वाली कुंजी
रिटर्न करता है
200 OK Workspaces
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| workspaces | array of Workspace |
curl https://planitude.app/api/workspaces \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/workspaces", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/workspaces",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"workspaces": [
{
"id": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"name": "Acme Construction",
"role": "owner"
}
]
}API संदर्भ
Projects
Projects, templates and baselines.
Project
A project as returned by the write endpoints and project listings.
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string (uuid) | |
| workspaceId | string (uuid) | |
| key | string | Project key, e.g. CRON (task keys are CRON-12). |
| keyLocked | boolean | |
| name | string | |
| description | stringnullable | |
| startDate | string (date) | |
| calendarId | string (uuid)nullable | |
| currency | string | |
| scheduleFrom | string | इनमें से एक: |
| deadline | string (date)nullable | |
| color | stringnullable | |
| settings | object | |
| archivedAt | string (date-time)nullable | |
| createdBy | string (uuid)nullable | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
{
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"keyLocked": false,
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"calendarId": null,
"currency": "EUR",
"scheduleFrom": "forward",
"deadline": null,
"color": null,
"settings": {},
"archivedAt": null,
"createdBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z"
}Template
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string | builtin:<slug> or the id of a template saved by you. |
| kind | string | इनमें से एक: |
| name | string | |
| description | stringnullable | |
| taskCount | integer | |
| durationDays | integer | Working days from start to finish. |
{
"id": "builtin:website-launch",
"kind": "builtin",
"name": "Website launch",
"description": "From discovery to go-live: design, content, development, testing and launch.",
"taskCount": 12,
"durationDays": 43
}Baseline
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string (uuid) | |
| name | string | |
| index | integernullable | Numbered MS Project baseline (1-10); null for the main baseline and the ones you name. |
| capturedAt | string (date-time) | |
| capturedBy | string (uuid)nullable | |
| taskCount | integer |
{
"id": "b5d68d05-0640-48f9-8eeb-ed7804f4a116",
"name": "Plan v1",
"index": null,
"capturedAt": "2026-10-01T08:30:12.418Z",
"capturedBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"taskCount": 12
}List projects
GET/api/projects
रीड एक्सेस वाली कुंजी
All projects visible to the user (not paginated). ?archived=1 includes archived ones.
क्वेरी पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| archived | string | इनमें से एक: |
रिटर्न करता है
200 OK Projects
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projects | array of Project |
curl https://planitude.app/api/projects \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/projects",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"projects": [
{
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"keyLocked": false,
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"calendarId": null,
"currency": "EUR",
"scheduleFrom": "forward",
"deadline": null,
"color": null,
"settings": {},
"archivedAt": null,
"createdBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"workspaceName": "Acme Construction",
"role": "owner",
"taskCount": 12,
"finishAt": "2026-10-07T15:00:00.000Z"
}
]
}Create a project
POST/api/projects
राइट एक्सेस वाली कुंजी
अनुरोध बॉडी
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| name आवश्यक | string | |
| workspaceId | string (uuid) | Defaults to your personal workspace. |
| key | string | 2-5 letters/digits, starts with a letter. Derived from the name if omitted. |
| description | stringnullable | |
| startDate | string (date) | |
| deadline | string (date)nullable | |
| currency | string | |
| scheduleFrom | string | इनमें से एक: |
| color | stringnullable |
रिटर्न करता है
201 Created Created
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| project | Project |
curl -X POST https://planitude.app/api/projects \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Warehouse expansion","startDate":"2026-10-05","currency":"EUR"}'const res = await fetch("https://planitude.app/api/projects", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
name: "Warehouse expansion",
startDate: "2026-10-05",
currency: "EUR",
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/projects",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"name": "Warehouse expansion",
"startDate": "2026-10-05",
"currency": "EUR",
},
)
res.raise_for_status()
print(res.json()){
"project": {
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"keyLocked": false,
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"calendarId": null,
"currency": "EUR",
"scheduleFrom": "forward",
"deadline": null,
"color": null,
"settings": {},
"archivedAt": null,
"createdBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z"
}
}Create a project from a template
POST/api/projects/from-template
राइट एक्सेस वाली कुंजी
अनुरोध बॉडी
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| templateId आवश्यक | string | Id from GET /api/templates. |
| startDate आवश्यक | string (date) | |
| name | string | |
| key | string | |
| locale | string | Language of the template texts (en, it, es, fr, de, pt, nl, pl, ja, zh, sv, da, no, fi, cs, ro, uk, tr, ar, he, hi, id, vi, ko). |
| tz | string | IANA time zone of the project calendar. |
| workspaceId | string (uuid) |
रिटर्न करता है
201 Created Created
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| project | Project | |
| taskCount | integer | |
| conflicts | array of Conflict |
curl -X POST https://planitude.app/api/projects/from-template \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"templateId": "builtin:website-launch",
"startDate": "2026-10-05",
"name": "Website relaunch",
"locale": "en"
}'const res = await fetch("https://planitude.app/api/projects/from-template", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
templateId: "builtin:website-launch",
startDate: "2026-10-05",
name: "Website relaunch",
locale: "en",
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/projects/from-template",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"templateId": "builtin:website-launch",
"startDate": "2026-10-05",
"name": "Website relaunch",
"locale": "en",
},
)
res.raise_for_status()
print(res.json()){
"project": {
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"keyLocked": false,
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"calendarId": null,
"currency": "EUR",
"scheduleFrom": "forward",
"deadline": null,
"color": null,
"settings": {},
"archivedAt": null,
"createdBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z"
},
"taskCount": 12,
"conflicts": []
}List project templates
GET/api/templates
रीड एक्सेस वाली कुंजी
क्वेरी पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| locale | string |
रिटर्न करता है
200 OK Templates
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| templates | array of Template |
curl https://planitude.app/api/templates \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/templates", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/templates",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"templates": [
{
"id": "builtin:website-launch",
"kind": "builtin",
"name": "Website launch",
"description": "From discovery to go-live: design, content, development, testing and launch.",
"taskCount": 12,
"durationDays": 43
}
]
}Full project (tasks tree, dependencies, resources, members, baselines)
GET/api/projects/{projectId}
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
रिटर्न करता है
200 OK Project
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| project | Project | |
| tasks | array of Task | |
| dependencies | array of Dependency |
curl https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8 \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"project": {
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"keyLocked": false,
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"calendarId": null,
"currency": "EUR",
"scheduleFrom": "forward",
"deadline": null,
"color": null,
"settings": {},
"archivedAt": null,
"createdBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z"
},
"tasks": [
{
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"sortKey": "i",
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null
}
],
"dependencies": [
{
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}
]
}Update a project
PATCH/api/projects/{projectId}
राइट एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
अनुरोध बॉडी
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| name | string | |
| description | stringnullable | |
| startDate | string (date) | |
| deadline | string (date)nullable | |
| currency | string | |
| scheduleFrom | string | इनमें से एक: |
| color | stringnullable | |
| archived | boolean |
रिटर्न करता है
200 OK Updated
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| project | Project | |
| conflicts | array of Conflict | |
| rescheduled | boolean | The schedule was recalculated (start date, calendar or direction changed). |
curl -X PATCH https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8 \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"deadline":"2026-12-18"}'const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
deadline: "2026-12-18",
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.patch(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"deadline": "2026-12-18",
},
)
res.raise_for_status()
print(res.json()){
"project": {
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"keyLocked": false,
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"calendarId": null,
"currency": "EUR",
"scheduleFrom": "forward",
"deadline": null,
"color": null,
"settings": {},
"archivedAt": null,
"createdBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z"
},
"conflicts": [],
"rescheduled": false
}Export the plan as a file (Microsoft Project XML, CSV, PNG or PDF)
GET/api/projects/{projectId}/export
रीड एक्सेस वाली कुंजी
Returns the file itself (Content-Disposition: attachment), not JSON. Any role with access to the project, read-only included.
png and pdf draw the Gantt chart on the server (title, generation date, legend; in the PDF repeated on every page) and accept the image options below; at most 20 image exports per user every 10 minutes. Over the size limits: 413 limit_exceeded with details.reason (tasks, image_too_large, pages, timeline).
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
क्वेरी पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| format | string | File format. mspdi = Microsoft Project XML.इनमें से एक: डिफ़ॉल्ट: |
| locale | string | Language of headings, legend and dates (e.g. en, it, ar, ja).डिफ़ॉल्ट: |
| scale | string | PNG/PDF: time unit of the columns. इनमें से एक: डिफ़ॉल्ट: |
| from | string (date) | PNG/PDF: first day to draw (with to). Default: the whole project. |
| to | string (date) | PNG/PDF: last day to draw (with from). |
| critical | string | PNG/PDF: highlight the critical path. इनमें से एक: डिफ़ॉल्ट: |
| baseline | string | PNG/PDF: draw the main baseline under each bar. इनमें से एक: डिफ़ॉल्ट: |
| links | string | PNG/PDF: draw dependency arrows. इनमें से एक: डिफ़ॉल्ट: |
| paper | string | PDF: paper size. इनमें से एक: डिफ़ॉल्ट: |
| orientation | string | PDF: page orientation. इनमें से एक: डिफ़ॉल्ट: |
रिटर्न करता है
200 OK The file: `application/xml`, `text/csv`, `image/png` or `application/pdf`.
curl "https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/export?format=pdf&locale=en&paper=a4" \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-o plan.pdfconst res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/export?format=pdf&locale=en&paper=a4", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
await (await import("node:fs/promises")).writeFile("plan.pdf", Buffer.from(await res.arrayBuffer()));import os
import requests
res = requests.get(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/export",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
params={
"format": "pdf",
"locale": "en",
"paper": "a4",
},
)
res.raise_for_status()
with open("plan.pdf", "wb") as out:
out.write(res.content)List baselines
GET/api/projects/{projectId}/baseline
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
रिटर्न करता है
200 OK Baselines
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| baselines | array of Baseline |
curl https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/baseline \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/baseline", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/baseline",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"baselines": [
{
"id": "b5d68d05-0640-48f9-8eeb-ed7804f4a116",
"name": "Plan v1",
"index": null,
"capturedAt": "2026-10-01T08:30:12.418Z",
"capturedBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"taskCount": 12
}
]
}Save a baseline
POST/api/projects/{projectId}/baseline
राइट एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
अनुरोध बॉडी
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| name | string |
रिटर्न करता है
201 Created Saved
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| baseline | Baseline |
curl -X POST https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/baseline \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Plan v1"}'const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/baseline", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
name: "Plan v1",
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/baseline",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"name": "Plan v1",
},
)
res.raise_for_status()
print(res.json()){
"baseline": {
"id": "b5d68d05-0640-48f9-8eeb-ed7804f4a116",
"name": "Plan v1",
"index": null,
"capturedAt": "2026-10-01T08:30:12.418Z",
"capturedBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"taskCount": 12
}
}API संदर्भ
Tasks
Tasks, search by external id, comments.
Task
Task representation of GET /tasks and webhook payloads: the stored task (without sortKey) plus project, assignees and link.
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string (uuid) | |
| number | integer | Sequential number in the project, never reused. |
| key | string | Human key, e.g. CRON-12. |
| parentId | string (uuid)nullable | |
| name | string | |
| type | string | इनमें से एक: |
| durationMin | integer | Duration in working minutes (8h day = 480). |
| workMin | integer | |
| progressPct | number | |
| constraintKind | string | इनमें से एक: |
| constraintDate | string (date-time)nullable | |
| deadline | string (date-time)nullable | |
| calendarId | string (uuid)nullable | |
| costFixed | number | |
| notes | stringnullable | |
| color | stringnullable | |
| wbs | stringnullable | |
| externalId | stringnullable | Your identifier for this task in another system. Searchable with GET /tasks?externalId=. |
| startAt | string (date-time)nullable | Computed start. |
| finishAt | string (date-time)nullable | Computed finish. |
| isCritical | boolean | On the critical path. |
| totalFloatMin | integernullable | Total float (slack) in working minutes. |
| earlyStartAt | string (date-time)nullable | |
| lateFinishAt | string (date-time)nullable | |
| actualStartAt | string (date-time)nullable | |
| actualFinishAt | string (date-time)nullable | |
| actualDurationMin | integernullable | |
| remainingDurationMin | integernullable | |
| manuallyScheduled | boolean | |
| levelingDelayMin | integer | |
| taskType | string | इनमें से एक: |
| effortDriven | boolean | |
| durationOptimisticMin | integernullable | |
| durationPessimisticMin | integernullable | |
| projectId | string (uuid) | |
| completed | boolean | progressPct = 100. |
| assignees | array of Assignee | |
| url | string (uri) | Page of the task in the web app. |
{
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null,
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"completed": false,
"assignees": [
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}
],
"url": "https://planitude.app/app/t/WHX-1"
}WriteResult
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tasks | array of Task | Created/updated tasks plus the ones the recalculation moved. | |||||||||||||||
| deletedTaskIds | array of string | ||||||||||||||||
| dependencies | array of Dependency | ||||||||||||||||
| deletedDependencyIds | array of string | ||||||||||||||||
| conflicts | array of Conflict | ||||||||||||||||
| projectStartAt | string (date-time) | ||||||||||||||||
| projectFinishAt | string (date-time) | ||||||||||||||||
| stats | object | stats के फ़ील्ड दिखाएँ
|
{
"tasks": [
{
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"sortKey": "i",
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null
}
],
"deletedTaskIds": [],
"dependencies": [
{
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}
],
"deletedDependencyIds": [],
"conflicts": [],
"projectStartAt": "2026-10-05T06:00:00.000Z",
"projectFinishAt": "2026-10-07T15:00:00.000Z",
"stats": {
"taskCount": 12,
"recomputedCount": 3,
"savedCount": 2,
"durationMs": 39
}
}Comment
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string (uuid) | |
| taskId | string (uuid) | |
| userId | string (uuid) | |
| authorName | string | |
| authorAvatarUrl | stringnullable | |
| body | string | |
| mentions | array of string | |
| createdAt | string (date-time) | |
| editedAt | string (date-time)nullable |
{
"id": "0fc2dec5-a409-47c9-9c6e-0663e8f8bcf3",
"taskId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"authorName": "Anna Rossi",
"authorAvatarUrl": null,
"body": "Concrete delivered, we can start the walls.",
"mentions": [],
"createdAt": "2026-10-01T08:30:12.418Z",
"editedAt": null
}List or search tasks (paginated)
GET/api/projects/{projectId}/tasks
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
क्वेरी पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| limit | integer | 1-500. डिफ़ॉल्ट: |
| cursor | string | nextCursor of the previous page. |
| sort | string | -number = newest first (polling triggers). -updatedAt returns the first page only.इनमें से एक: डिफ़ॉल्ट: |
| externalId | string | Exact match on externalId. |
| q | string | Name contains (case-insensitive). |
| updatedSince | string (date-time) | |
| completed | string | इनमें से एक: |
रिटर्न करता है
200 OK A page of tasks
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| tasks | array of Task | |
| nextCursor | stringnullable |
curl "https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks?externalId=crm-4711" \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks?externalId=crm-4711", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
params={
"externalId": "crm-4711",
},
)
res.raise_for_status()
print(res.json()){
"tasks": [
{
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null,
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"completed": false,
"assignees": [
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}
],
"url": "https://planitude.app/app/t/WHX-1"
}
],
"nextCursor": null
}Create a task, or apply a change set
POST/api/projects/{projectId}/tasks
राइट एक्सेस वाली कुंजी
Send a TaskCreate to create one task (201), or a ChangeSet to apply several changes in one transaction (200). Dates are recalculated by the scheduling engine.
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
अनुरोध बॉडी
TaskCreate
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| name आवश्यक | string | |
| parentId | string (uuid)nullable | Parent (summary) task; null = top level. |
| afterTaskId | string (uuid)nullable | Insert after this sibling. |
| beforeTaskId | string (uuid)nullable | Insert before this sibling. |
| type | string | इनमें से एक: |
| durationMin | integer | Duration in working minutes (8h day = 480). |
| workMin | integer | |
| progressPct | number | |
| constraintKind | string | इनमें से एक: |
| constraintDate | string (date-time)nullable | |
| deadline | string (date-time)nullable | |
| calendarId | string (uuid)nullable | |
| costFixed | number | |
| notes | stringnullable | |
| color | stringnullable | |
| wbs | stringnullable | |
| externalId | stringnullable | Your identifier for this task in another system. Searchable with GET /tasks?externalId=. |
या ChangeSet
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| createTasks | array of TaskCreate | |
| updateTasks | array of any | |
| createDependencies | array of DependencyCreate | |
| deleteDependencyIds | array of string | |
| fullReschedule | boolean |
रिटर्न करता है
201 Created Task created
| फ़ील्ड | प्रकार | विवरण | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tasks | array of Task | Created/updated tasks plus the ones the recalculation moved. | |||||||||||||||
| deletedTaskIds | array of string | ||||||||||||||||
| dependencies | array of Dependency | ||||||||||||||||
| deletedDependencyIds | array of string | ||||||||||||||||
| conflicts | array of Conflict | ||||||||||||||||
| projectStartAt | string (date-time) | ||||||||||||||||
| projectFinishAt | string (date-time) | ||||||||||||||||
| stats | object | stats के फ़ील्ड दिखाएँ
|
curl -X POST https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Foundations","durationMin":1440,"externalId":"crm-4711"}'const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
name: "Foundations",
durationMin: 1440,
externalId: "crm-4711",
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"name": "Foundations",
"durationMin": 1440,
"externalId": "crm-4711",
},
)
res.raise_for_status()
print(res.json()){
"tasks": [
{
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"sortKey": "i",
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null
}
],
"deletedTaskIds": [],
"dependencies": [
{
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}
],
"deletedDependencyIds": [],
"conflicts": [],
"projectStartAt": "2026-10-05T06:00:00.000Z",
"projectFinishAt": "2026-10-07T15:00:00.000Z",
"stats": {
"taskCount": 12,
"recomputedCount": 3,
"savedCount": 2,
"durationMs": 39
}
}Get a task
GET/api/projects/{projectId}/tasks/{taskId}
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
| taskId आवश्यक | string (uuid) | Task id. |
रिटर्न करता है
200 OK The task
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| task | Task |
curl https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"task": {
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null,
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"completed": false,
"assignees": [
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}
],
"url": "https://planitude.app/app/t/WHX-1"
}
}Update a task
PATCH/api/projects/{projectId}/tasks/{taskId}
राइट एक्सेस वाली कुंजी
Only the fields you send change; null clears a field.
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
| taskId आवश्यक | string (uuid) | Task id. |
अनुरोध बॉडी
| फ़ील्ड | प्रकार | विवरण | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name | string | |||||||||||||
| type | string | इनमें से एक: | ||||||||||||
| durationMin | integer | Duration in working minutes (8h day = 480). | ||||||||||||
| workMin | integer | |||||||||||||
| progressPct | number | |||||||||||||
| constraintKind | string | इनमें से एक: | ||||||||||||
| constraintDate | string (date-time)nullable | |||||||||||||
| deadline | string (date-time)nullable | |||||||||||||
| calendarId | string (uuid)nullable | |||||||||||||
| costFixed | number | |||||||||||||
| notes | stringnullable | |||||||||||||
| color | stringnullable | |||||||||||||
| wbs | stringnullable | |||||||||||||
| externalId | stringnullable | Your identifier for this task in another system. Searchable with GET /tasks?externalId=. | ||||||||||||
| placement | object | placement के फ़ील्ड दिखाएँ
|
रिटर्न करता है
200 OK Updated
| फ़ील्ड | प्रकार | विवरण | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tasks | array of Task | Created/updated tasks plus the ones the recalculation moved. | |||||||||||||||
| deletedTaskIds | array of string | ||||||||||||||||
| dependencies | array of Dependency | ||||||||||||||||
| deletedDependencyIds | array of string | ||||||||||||||||
| conflicts | array of Conflict | ||||||||||||||||
| projectStartAt | string (date-time) | ||||||||||||||||
| projectFinishAt | string (date-time) | ||||||||||||||||
| stats | object | stats के फ़ील्ड दिखाएँ
|
curl -X PATCH https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"progressPct":100}'const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
progressPct: 100,
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.patch(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"progressPct": 100,
},
)
res.raise_for_status()
print(res.json()){
"tasks": [
{
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"sortKey": "i",
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null
}
],
"deletedTaskIds": [],
"dependencies": [
{
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}
],
"deletedDependencyIds": [],
"conflicts": [],
"projectStartAt": "2026-10-05T06:00:00.000Z",
"projectFinishAt": "2026-10-07T15:00:00.000Z",
"stats": {
"taskCount": 12,
"recomputedCount": 3,
"savedCount": 2,
"durationMs": 39
}
}Comments of a task
GET/api/projects/{projectId}/tasks/{taskId}/comments
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
| taskId आवश्यक | string (uuid) | Task id. |
रिटर्न करता है
200 OK Comments
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| comments | array of Comment |
curl https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a/comments \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a/comments", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a/comments",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"comments": [
{
"id": "0fc2dec5-a409-47c9-9c6e-0663e8f8bcf3",
"taskId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"authorName": "Anna Rossi",
"authorAvatarUrl": null,
"body": "Concrete delivered, we can start the walls.",
"mentions": [],
"createdAt": "2026-10-01T08:30:12.418Z",
"editedAt": null
}
]
}Comment on a task
POST/api/projects/{projectId}/tasks/{taskId}/comments
राइट एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
| taskId आवश्यक | string (uuid) | Task id. |
अनुरोध बॉडी
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| body आवश्यक | string | Plain text. |
| mentions | array of string | User ids to notify. |
रिटर्न करता है
201 Created Created
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| comment | Comment |
curl -X POST https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a/comments \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"Concrete delivered, we can start the walls."}'const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a/comments", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
body: "Concrete delivered, we can start the walls.",
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a/comments",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"body": "Concrete delivered, we can start the walls.",
},
)
res.raise_for_status()
print(res.json()){
"comment": {
"id": "0fc2dec5-a409-47c9-9c6e-0663e8f8bcf3",
"taskId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"authorName": "Anna Rossi",
"authorAvatarUrl": null,
"body": "Concrete delivered, we can start the walls.",
"mentions": [],
"createdAt": "2026-10-01T08:30:12.418Z",
"editedAt": null
}
}API संदर्भ
Dependencies
Links between tasks (FS, SS, FF, SF, with lag).
Dependency
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string (uuid) | |
| predecessorId | string (uuid) | |
| successorId | string (uuid) | |
| type | string | इनमें से एक: |
| lagMin | integer | Working minutes; negative = lead. |
{
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}List dependencies
GET/api/projects/{projectId}/dependencies
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
रिटर्न करता है
200 OK Dependencies
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| dependencies | array of Dependency |
curl https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/dependencies \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/dependencies", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/dependencies",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"dependencies": [
{
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}
]
}Create (or update) a dependency
POST/api/projects/{projectId}/dependencies
राइट एक्सेस वाली कुंजी
A dependency that would close a cycle is refused with 409 dependency_cycle.
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
अनुरोध बॉडी
DependencyCreate
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| predecessorId आवश्यक | string (uuid) | |
| successorId आवश्यक | string (uuid) | |
| type | string | इनमें से एक: डिफ़ॉल्ट: |
| lagMin | integer | डिफ़ॉल्ट: |
या dependencies
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| dependencies आवश्यक | array of DependencyCreate |
रिटर्न करता है
201 Created Created
| फ़ील्ड | प्रकार | विवरण | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tasks | array of Task | Created/updated tasks plus the ones the recalculation moved. | |||||||||||||||
| deletedTaskIds | array of string | ||||||||||||||||
| dependencies | array of Dependency | ||||||||||||||||
| deletedDependencyIds | array of string | ||||||||||||||||
| conflicts | array of Conflict | ||||||||||||||||
| projectStartAt | string (date-time) | ||||||||||||||||
| projectFinishAt | string (date-time) | ||||||||||||||||
| stats | object | stats के फ़ील्ड दिखाएँ
|
curl -X POST https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/dependencies \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}'const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/dependencies", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
predecessorId: "4dbd104a-00cd-4035-8955-255f52ea586a",
successorId: "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
type: "FS",
lagMin: 0,
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/dependencies",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0,
},
)
res.raise_for_status()
print(res.json()){
"tasks": [
{
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"sortKey": "i",
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null
}
],
"deletedTaskIds": [],
"dependencies": [
{
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}
],
"deletedDependencyIds": [],
"conflicts": [],
"projectStartAt": "2026-10-05T06:00:00.000Z",
"projectFinishAt": "2026-10-07T15:00:00.000Z",
"stats": {
"taskCount": 12,
"recomputedCount": 3,
"savedCount": 2,
"durationMs": 39
}
}Remove a dependency
DEL/api/projects/{projectId}/dependencies/{dependencyId}
राइट एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
| dependencyId आवश्यक | string (uuid) |
रिटर्न करता है
200 OK Removed
| फ़ील्ड | प्रकार | विवरण | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tasks | array of Task | Created/updated tasks plus the ones the recalculation moved. | |||||||||||||||
| deletedTaskIds | array of string | ||||||||||||||||
| dependencies | array of Dependency | ||||||||||||||||
| deletedDependencyIds | array of string | ||||||||||||||||
| conflicts | array of Conflict | ||||||||||||||||
| projectStartAt | string (date-time) | ||||||||||||||||
| projectFinishAt | string (date-time) | ||||||||||||||||
| stats | object | stats के फ़ील्ड दिखाएँ
|
curl -X DELETE https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/dependencies/9ba5faf8-923d-4ecc-86f0-f245c5d179db \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/dependencies/9ba5faf8-923d-4ecc-86f0-f245c5d179db", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(res.status); // 204import os
import requests
res = requests.delete(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/dependencies/9ba5faf8-923d-4ecc-86f0-f245c5d179db",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.status_code) # 204{
"tasks": [
{
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"sortKey": "i",
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null
}
],
"deletedTaskIds": [],
"dependencies": [
{
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}
],
"deletedDependencyIds": [],
"conflicts": [],
"projectStartAt": "2026-10-05T06:00:00.000Z",
"projectFinishAt": "2026-10-07T15:00:00.000Z",
"stats": {
"taskCount": 12,
"recomputedCount": 3,
"savedCount": 2,
"durationMs": 39
}
}API संदर्भ
People
Project members and task assignees.
Member
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| userId | string (uuid) | |
| name | string | |
| string | ||
| role | string | Effective role on the project. इनमें से एक: |
| directRole | stringnullable | Role granted on the project itself (null = only through the workspace). इनमें से एक: |
| inherited | boolean | Access comes from the workspace. |
| resourceId | string (uuid)nullable | Resource used when the person is assigned to tasks. |
| addedAt | string (date-time) | |
| avatarUrl | stringnullable |
{
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"email": "anna@example.com",
"role": "owner",
"directRole": null,
"inherited": false,
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"addedAt": "2026-10-01T08:30:12.418Z",
"avatarUrl": null
}Assignee
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| resourceId | string (uuid) | |
| userId | string (uuid)nullable | |
| name | string | |
| unitsPct | integer |
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}Replace the people assigned to a task
PUT/api/projects/{projectId}/tasks/{taskId}/assignees
राइट एक्सेस वाली कुंजी
userIds must be members of the project (GET /members). An empty list removes everyone. Optional resourceIds replaces the people imported from a file (resources without an account) assigned to the task; omit it to leave them as they are.
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
| taskId आवश्यक | string (uuid) | Task id. |
अनुरोध बॉडी
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| userIds आवश्यक | array of string | |
| resourceIds | array of string |
रिटर्न करता है
200 OK Assignees saved
| फ़ील्ड | प्रकार | विवरण | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| taskId | string (uuid) | |||||||||||||||||||||||||||||||||||||
| assignments | array of object | assignments के फ़ील्ड दिखाएँ
| ||||||||||||||||||||||||||||||||||||
| resources | array of object | resources के फ़ील्ड दिखाएँ
| ||||||||||||||||||||||||||||||||||||
| needsReschedule | boolean | |||||||||||||||||||||||||||||||||||||
| conflicts | array of Conflict |
curl -X PUT https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a/assignees \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"userIds":["b1666432-132a-4ea9-b1ae-76ea69e226c5"]}'const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a/assignees", {
method: "PUT",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
userIds: ["b1666432-132a-4ea9-b1ae-76ea69e226c5"],
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.put(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/tasks/4dbd104a-00cd-4035-8955-255f52ea586a/assignees",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"userIds": ["b1666432-132a-4ea9-b1ae-76ea69e226c5"],
},
)
res.raise_for_status()
print(res.json()){
"taskId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"assignments": [
{
"id": "e62ac96b-e68e-40d3-842e-335e27dfd099",
"taskId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"unitsPct": 100,
"workMin": 0
}
],
"resources": [
{
"id": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"kind": "builtin",
"email": "anna@example.com",
"costPerHour": 0,
"costPerUse": 0,
"capacityPct": 0,
"calendarId": null,
"color": null,
"avatarUrl": null
}
],
"needsReschedule": false,
"conflicts": []
}People with access to the project (assignable)
GET/api/projects/{projectId}/members
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| projectId आवश्यक | string (uuid) | Project id. |
रिटर्न करता है
200 OK Members
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| members | array of Member | |
| role | string |
curl https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/members \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/members", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/members",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"members": [
{
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"email": "anna@example.com",
"role": "owner",
"directRole": null,
"inherited": false,
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"addedAt": "2026-10-01T08:30:12.418Z",
"avatarUrl": null
}
],
"role": "owner"
}API संदर्भ
Webhooks
Outgoing webhook subscriptions (REST hooks: subscribe/unsubscribe).
- GET/api/webhooks
- POST/api/webhooks
- GET/api/webhooks/events
- GET/api/webhooks/{webhookId}
- PATCH/api/webhooks/{webhookId}
- DELETE/api/webhooks/{webhookId}
- GET/api/webhooks/{webhookId}/deliveries
- GET/api/webhooks/{webhookId}/deliveries/{deliveryId}
- POST/api/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver
- POST/api/webhooks/{webhookId}/test
- POST/api/webhooks/{webhookId}/rotate-secret
Webhook
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | string (uuid) | ||||||||||
| workspaceId | string (uuid) | ||||||||||
| workspaceName | string | ||||||||||
| projectId | string (uuid)nullable | null = every project of the workspace. | |||||||||
| projectName | stringnullable | ||||||||||
| name | string | ||||||||||
| url | string (uri) | ||||||||||
| events | array of string | इनमें से एक: | |||||||||
| secretPrefix | string | First characters of the signing secret (not secret). | |||||||||
| active | boolean | ||||||||||
| disabledReason | stringnullable | इनमें से एक: | |||||||||
| disabledAt | string (date-time)nullable | ||||||||||
| consecutiveFailures | integer | ||||||||||
| viaApi | boolean | Created with the API (REST hook) rather than from the profile. | |||||||||
| createdBy | objectnullable | createdBy के फ़ील्ड दिखाएँ
| |||||||||
| createdAt | string (date-time) | ||||||||||
| updatedAt | string (date-time) | ||||||||||
| lastDeliveryAt | string (date-time)nullable | ||||||||||
| lastSuccessAt | string (date-time)nullable |
{
"id": "1747ee7f-a395-4d3c-94b0-54b513d71d88",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"workspaceName": "Acme Construction",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"projectName": "Warehouse expansion",
"name": "Warehouse sync",
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"secretPrefix": "whsec_Fdwl",
"active": true,
"disabledReason": null,
"disabledAt": null,
"consecutiveFailures": 0,
"viaApi": true,
"createdBy": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"lastDeliveryAt": "2026-10-01T08:30:12.418Z",
"lastSuccessAt": "2026-10-01T08:30:12.418Z"
}Delivery
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string (uuid) | |
| eventId | string (uuid) | |
| eventType | string | |
| status | string | इनमें से एक: |
| attempts | integer | |
| nextAttemptAt | string (date-time)nullable | |
| lastAttemptAt | string (date-time)nullable | |
| responseStatus | integernullable | |
| responseExcerpt | stringnullable | |
| error | stringnullable | |
| durationMs | integernullable | |
| manual | boolean | |
| createdAt | string (date-time) |
{
"id": "4b207161-80f9-40bb-bc3f-d8f70315be00",
"eventId": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"eventType": "task.completed",
"status": "success",
"attempts": 1,
"nextAttemptAt": null,
"lastAttemptAt": "2026-10-01T08:30:12.418Z",
"responseStatus": 200,
"responseExcerpt": "{\"ok\":true}",
"error": null,
"durationMs": 39,
"manual": false,
"createdAt": "2026-10-01T08:30:12.418Z"
}Event
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id आवश्यक | string (uuid) | Event id, also in the Planitude-Event-Id header: use it to deduplicate. | |||||||||
| type आवश्यक | string | इनमें से एक: | |||||||||
| apiVersion आवश्यक | string | इनमें से एक: | |||||||||
| createdAt आवश्यक | string (date-time) | ||||||||||
| workspaceId आवश्यक | string (uuid) | ||||||||||
| projectId | string (uuid)nullable | ||||||||||
| actor | objectnullable | Who made the change (null for system changes).actor के फ़ील्ड दिखाएँ
| |||||||||
| data आवश्यक | object |
{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "project.created",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {}
}Project (event payload)
Compact project representation used in webhook payloads.
एट्रिब्यूट
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| id | string (uuid) | |
| workspaceId | string (uuid) | |
| key | string | |
| name | string | |
| description | stringnullable | |
| startDate | string (date) | |
| deadline | string (date)nullable | |
| currency | string | |
| scheduleFrom | string | इनमें से एक: |
| color | stringnullable | |
| archived | boolean | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| url | string (uri) |
{
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"deadline": null,
"currency": "EUR",
"scheduleFrom": "forward",
"color": null,
"archived": false,
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"url": "https://planitude.app/app/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8"
}List webhook subscriptions
GET/api/webhooks
रीड एक्सेस वाली कुंजी
क्वेरी पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| workspaceId | string (uuid) | |
| projectId | string (uuid) |
रिटर्न करता है
200 OK Subscriptions
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhooks | array of Webhook |
curl https://planitude.app/api/webhooks \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/webhooks", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/webhooks",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"webhooks": [
{
"id": "1747ee7f-a395-4d3c-94b0-54b513d71d88",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"workspaceName": "Acme Construction",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"projectName": "Warehouse expansion",
"name": "Warehouse sync",
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"secretPrefix": "whsec_Fdwl",
"active": true,
"disabledReason": null,
"disabledAt": null,
"consecutiveFailures": 0,
"viaApi": true,
"createdBy": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"lastDeliveryAt": "2026-10-01T08:30:12.418Z",
"lastSuccessAt": "2026-10-01T08:30:12.418Z"
}
]
}Subscribe (REST hook)
POST/api/webhooks
राइट एक्सेस वाली कुंजी
Creates a subscription. The response contains the signing secret: it is shown only once. Aliases accepted for automation platforms: targetUrl for url, event for a single event.
अनुरोध बॉडी
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| url आवश्यक | string (uri) | HTTPS endpoint that receives the events. Public addresses only. |
| events आवश्यक | array of string | * = all events.इनमें से एक: |
| name | string | |
| projectId | string (uuid) | Limit to one project (editor role needed). Omit for the whole workspace (owner/admin). |
| workspaceId | string (uuid) |
रिटर्न करता है
201 Created Created
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhook | Webhook | |
| secret | string | whsec_... |
curl -X POST https://planitude.app/api/webhooks \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8"
}'const res = await fetch("https://planitude.app/api/webhooks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://example.com/hooks/planitude",
events: ["task.created", "task.completed"],
projectId: "40be00e0-7e34-4f7a-864b-5cc986f575b8",
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/webhooks",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"url": "https://example.com/hooks/planitude",
"events": ["task.created", "task.completed"],
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
},
)
res.raise_for_status()
print(res.json()){
"webhook": {
"id": "1747ee7f-a395-4d3c-94b0-54b513d71d88",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"workspaceName": "Acme Construction",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"projectName": "Warehouse expansion",
"name": "Warehouse sync",
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"secretPrefix": "whsec_Fdwl",
"active": true,
"disabledReason": null,
"disabledAt": null,
"consecutiveFailures": 0,
"viaApi": true,
"createdBy": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"lastDeliveryAt": "2026-10-01T08:30:12.418Z",
"lastSuccessAt": "2026-10-01T08:30:12.418Z"
},
"secret": "whsec_3dvU0T1oaYlW4kH6m2Vb8nqXcR9eZpLsYw1QhGk"
}Event catalog (public)
GET/api/webhooks/events
सार्वजनिक, कुंजी की आवश्यकता नहीं
रिटर्न करता है
200 OK Events
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| apiVersion | string | |
| events | array of string |
curl https://planitude.app/api/webhooks/eventsconst res = await fetch("https://planitude.app/api/webhooks/events");
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import requests
res = requests.get("https://planitude.app/api/webhooks/events")
res.raise_for_status()
print(res.json()){
"apiVersion": "2026-10-01",
"events": [
"project.created",
"project.updated",
"project.deleted",
"task.created",
"task.updated",
"task.deleted",
"task.completed",
"task.dates_changed",
"dependency.created",
"dependency.deleted",
"baseline.saved",
"member.invited",
"member.joined",
"comment.created"
]
}Get a subscription
GET/api/webhooks/{webhookId}
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhookId आवश्यक | string (uuid) | Webhook id. |
रिटर्न करता है
200 OK Subscription
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhook | Webhook |
curl https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88 \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"webhook": {
"id": "1747ee7f-a395-4d3c-94b0-54b513d71d88",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"workspaceName": "Acme Construction",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"projectName": "Warehouse expansion",
"name": "Warehouse sync",
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"secretPrefix": "whsec_Fdwl",
"active": true,
"disabledReason": null,
"disabledAt": null,
"consecutiveFailures": 0,
"viaApi": true,
"createdBy": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"lastDeliveryAt": "2026-10-01T08:30:12.418Z",
"lastSuccessAt": "2026-10-01T08:30:12.418Z"
}
}Update, pause or resume a subscription
PATCH/api/webhooks/{webhookId}
राइट एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhookId आवश्यक | string (uuid) | Webhook id. |
अनुरोध बॉडी
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| name | string | |
| url | string (uri) | |
| events | array of string | |
| active | boolean | false = pause; true = resume (also resets the failure counter). |
रिटर्न करता है
200 OK Updated
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhook | Webhook |
curl -X PATCH https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88 \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"active":false}'const res = await fetch("https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88", {
method: "PATCH",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
active: false,
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.patch(
"https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"active": False,
},
)
res.raise_for_status()
print(res.json()){
"webhook": {
"id": "1747ee7f-a395-4d3c-94b0-54b513d71d88",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"workspaceName": "Acme Construction",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"projectName": "Warehouse expansion",
"name": "Warehouse sync",
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"secretPrefix": "whsec_Fdwl",
"active": true,
"disabledReason": null,
"disabledAt": null,
"consecutiveFailures": 0,
"viaApi": true,
"createdBy": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"lastDeliveryAt": "2026-10-01T08:30:12.418Z",
"lastSuccessAt": "2026-10-01T08:30:12.418Z"
}
}Unsubscribe (REST hook)
DEL/api/webhooks/{webhookId}
राइट एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhookId आवश्यक | string (uuid) | Webhook id. |
रिटर्न करता है
204 No Content Deleted
curl -X DELETE https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88 \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(res.status); // 204import os
import requests
res = requests.delete(
"https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.status_code) # 204Delivery log (newest first, kept 30 days)
GET/api/webhooks/{webhookId}/deliveries
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhookId आवश्यक | string (uuid) | Webhook id. |
क्वेरी पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| limit | integer | 1-100. डिफ़ॉल्ट: |
| before | string (date-time) | nextCursor of the previous page. |
रिटर्न करता है
200 OK Deliveries
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| deliveries | array of Delivery | |
| nextCursor | stringnullable |
curl https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/deliveries \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/deliveries", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/deliveries",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"deliveries": [
{
"id": "4b207161-80f9-40bb-bc3f-d8f70315be00",
"eventId": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"eventType": "task.completed",
"status": "success",
"attempts": 1,
"nextAttemptAt": null,
"lastAttemptAt": "2026-10-01T08:30:12.418Z",
"responseStatus": 200,
"responseExcerpt": "{\"ok\":true}",
"error": null,
"durationMs": 39,
"manual": false,
"createdAt": "2026-10-01T08:30:12.418Z"
}
],
"nextCursor": null
}Body sent with a delivery
GET/api/webhooks/{webhookId}/deliveries/{deliveryId}
रीड एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhookId आवश्यक | string (uuid) | Webhook id. |
| deliveryId आवश्यक | string (uuid) |
रिटर्न करता है
200 OK Payload
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| payload | Event |
curl https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/deliveries/4b207161-80f9-40bb-bc3f-d8f70315be00 \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/deliveries/4b207161-80f9-40bb-bc3f-d8f70315be00", {
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.get(
"https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/deliveries/4b207161-80f9-40bb-bc3f-d8f70315be00",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"payload": {
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "project.created",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {}
}
}Send the same event again
POST/api/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver
राइट एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhookId आवश्यक | string (uuid) | Webhook id. |
| deliveryId आवश्यक | string (uuid) |
रिटर्न करता है
202 Accepted Queued
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| delivery | Delivery |
curl -X POST https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/deliveries/4b207161-80f9-40bb-bc3f-d8f70315be00/redeliver \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/deliveries/4b207161-80f9-40bb-bc3f-d8f70315be00/redeliver", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/deliveries/4b207161-80f9-40bb-bc3f-d8f70315be00/redeliver",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"delivery": {
"id": "4b207161-80f9-40bb-bc3f-d8f70315be00",
"eventId": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"eventType": "task.completed",
"status": "success",
"attempts": 1,
"nextAttemptAt": null,
"lastAttemptAt": "2026-10-01T08:30:12.418Z",
"responseStatus": 200,
"responseExcerpt": "{\"ok\":true}",
"error": null,
"durationMs": 39,
"manual": false,
"createdAt": "2026-10-01T08:30:12.418Z"
}
}Send a webhook.ping test event
POST/api/webhooks/{webhookId}/test
राइट एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhookId आवश्यक | string (uuid) | Webhook id. |
रिटर्न करता है
202 Accepted Queued
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| delivery | Delivery |
curl -X POST https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/test \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/test", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/test",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"delivery": {
"id": "4b207161-80f9-40bb-bc3f-d8f70315be00",
"eventId": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"eventType": "task.completed",
"status": "success",
"attempts": 1,
"nextAttemptAt": null,
"lastAttemptAt": "2026-10-01T08:30:12.418Z",
"responseStatus": 200,
"responseExcerpt": "{\"ok\":true}",
"error": null,
"durationMs": 39,
"manual": false,
"createdAt": "2026-10-01T08:30:12.418Z"
}
}Generate a new signing secret
POST/api/webhooks/{webhookId}/rotate-secret
राइट एक्सेस वाली कुंजी
पाथ पैरामीटर
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhookId आवश्यक | string (uuid) | Webhook id. |
रिटर्न करता है
200 OK New secret (shown once)
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
| webhook | Webhook | |
| secret | string |
curl -X POST https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/rotate-secret \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/rotate-secret", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/rotate-secret",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"webhook": {
"id": "1747ee7f-a395-4d3c-94b0-54b513d71d88",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"workspaceName": "Acme Construction",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"projectName": "Warehouse expansion",
"name": "Warehouse sync",
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"secretPrefix": "whsec_Fdwl",
"active": true,
"disabledReason": null,
"disabledAt": null,
"consecutiveFailures": 0,
"viaApi": true,
"createdBy": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"lastDeliveryAt": "2026-10-01T08:30:12.418Z",
"lastSuccessAt": "2026-10-01T08:30:12.418Z"
},
"secret": "whsec_3dvU0T1oaYlW4kH6m2Vb8nqXcR9eZpLsYw1QhGk"
}वेबहुक
वेबहुक
वेबहुक कुछ बदलते ही आपके एंडपॉइंट पर JSON बॉडी के साथ HTTPS POST भेजते हैं, चाहे बदलाव वेब ऐप, API, MCP सर्वर या इम्पोर्ट से आया हो। एक वेबहुक एक प्रोजेक्ट को, या वर्कस्पेस के सभी प्रोजेक्ट को (मालिक और एडमिन) कवर करता है।
इन्हें प्रोफ़ाइल → वेबहुक में या API से, REST हुक के रूप में बनाएँ: POST /api/webhooks से सब्सक्राइब करें, DELETE से अनसब्सक्राइब करें। साइनिंग सीक्रेट केवल एक बार दिखाया जाता है।
हर अनुरोध में ये हेडर होते हैं:
| हेडर | विवरण |
|---|---|
| Planitude-Signature | t=<unix seconds>,v1=<hex HMAC-SHA256>: see Verify signatures. |
| Planitude-Event | Event type, e.g. task.completed. |
| Planitude-Event-Id | Event id, the same in every retry: use it to deduplicate. |
| Planitude-Delivery | Id of this delivery (changes with a manual resend). |
| User-Agent | Planitude-Webhooks/1.0 (+https://planitude.app/developers) |
| Content-Type | application/json |
curl -X POST https://planitude.app/api/webhooks \
-H "Authorization: Bearer $PLANITUDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8"
}'const res = await fetch("https://planitude.app/api/webhooks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://example.com/hooks/planitude",
events: ["task.created", "task.completed"],
projectId: "40be00e0-7e34-4f7a-864b-5cc986f575b8",
}),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/webhooks",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
json={
"url": "https://example.com/hooks/planitude",
"events": ["task.created", "task.completed"],
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
},
)
res.raise_for_status()
print(res.json()){
"webhook": {
"id": "1747ee7f-a395-4d3c-94b0-54b513d71d88",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"workspaceName": "Acme Construction",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"projectName": "Warehouse expansion",
"name": "Warehouse sync",
"url": "https://example.com/hooks/planitude",
"events": [
"task.created",
"task.completed"
],
"secretPrefix": "whsec_Fdwl",
"active": true,
"disabledReason": null,
"disabledAt": null,
"consecutiveFailures": 0,
"viaApi": true,
"createdBy": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"lastDeliveryAt": "2026-10-01T08:30:12.418Z",
"lastSuccessAt": "2026-10-01T08:30:12.418Z"
},
"secret": "whsec_3dvU0T1oaYlW4kH6m2Vb8nqXcR9eZpLsYw1QhGk"
}इवेंट प्रकार
अलग-अलग इवेंट सब्सक्राइब करें, या सभी के लिए *। हर इवेंट का एन्वेलप समान होता है; data प्रकार के अनुसार बदलता है।
| इवेंट | विवरण |
|---|---|
| project.created | A project was created (blank, from a template, duplicated or imported from MS Project). |
| project.updated | Project fields changed (name, dates, deadline, archive...), or a saved version was restored. |
| project.deleted | A project was deleted. |
| task.created | A task was created. |
| task.updated | Task fields or assignees changed. changes lists only the fields that changed. |
| task.deleted | A task was deleted (one event per task of a deleted branch). |
| task.completed | Task progress reached 100%. |
| task.dates_changed | Start or finish moved, because of an edit (cause: edit) or because the schedule was recalculated (cause: reschedule). |
| dependency.created | A dependency was created or changed. |
| dependency.deleted | A dependency was removed. |
| baseline.saved | A baseline was saved. |
| member.invited | An invite link was created for the project. |
| member.joined | A person joined the project. |
| comment.created | A comment was added to a task. |
{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "project.created",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"project": {
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"deadline": null,
"currency": "EUR",
"scheduleFrom": "forward",
"color": null,
"archived": false,
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"url": "https://planitude.app/app/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8"
},
"source": "blank"
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "project.updated",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"project": {
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"deadline": null,
"currency": "EUR",
"scheduleFrom": "forward",
"color": null,
"archived": false,
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"url": "https://planitude.app/app/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8"
},
"changes": {
"deadline": {
"from": null,
"to": "2026-12-18"
}
},
"reason": "version_restored"
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "project.deleted",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"project": {
"id": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"key": "WHX",
"name": "Warehouse expansion",
"description": null,
"startDate": "2026-10-05",
"deadline": null,
"currency": "EUR",
"scheduleFrom": "forward",
"color": null,
"archived": false,
"createdAt": "2026-10-01T08:30:12.418Z",
"updatedAt": "2026-10-01T08:30:12.418Z",
"url": "https://planitude.app/app/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8"
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "task.created",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"task": {
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null,
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"completed": false,
"assignees": [
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}
],
"url": "https://planitude.app/app/t/WHX-1"
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "task.updated",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"task": {
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null,
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"completed": false,
"assignees": [
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}
],
"url": "https://planitude.app/app/t/WHX-1"
},
"changes": {
"progressPct": {
"from": 40,
"to": 60
}
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "task.deleted",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"task": {
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null,
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"completed": false,
"assignees": [
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}
],
"url": "https://planitude.app/app/t/WHX-1"
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "task.completed",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"task": {
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 100,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null,
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"completed": true,
"assignees": [
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}
],
"url": "https://planitude.app/app/t/WHX-1"
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "task.dates_changed",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"task": {
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null,
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"completed": false,
"assignees": [
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}
],
"url": "https://planitude.app/app/t/WHX-1"
},
"cause": "reschedule",
"changes": {
"startAt": {
"from": "2026-10-02T06:00:00.000Z",
"to": "2026-10-05T06:00:00.000Z"
},
"finishAt": {
"from": "2026-10-06T15:00:00.000Z",
"to": "2026-10-07T15:00:00.000Z"
}
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "dependency.created",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"dependency": {
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "dependency.deleted",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"dependency": {
"id": "9ba5faf8-923d-4ecc-86f0-f245c5d179db",
"predecessorId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"successorId": "a22fd799-c4dc-4869-a466-0dd6e96f71ce",
"type": "FS",
"lagMin": 0
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "baseline.saved",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"baseline": {
"id": "b5d68d05-0640-48f9-8eeb-ed7804f4a116",
"name": "Plan v1",
"index": null,
"capturedAt": "2026-10-01T08:30:12.418Z",
"capturedBy": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"taskCount": 12
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "member.invited",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"invite": {
"id": "5d0b7c11-8e2a-4f63-a1d4-93c7e2b6f804",
"role": "editor",
"expiresAt": "2026-10-31T08:30:12.418Z",
"maxUses": null
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "member.joined",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"member": {
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"role": "editor"
}
}
}{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "comment.created",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-01T08:30:12.418Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"data": {
"comment": {
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"taskId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"body": "Concrete delivered, we can start the walls.",
"author": {
"id": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi"
},
"createdAt": "2026-10-01T08:30:12.418Z"
},
"task": {
"id": "4dbd104a-00cd-4035-8955-255f52ea586a",
"number": 1,
"key": "WHX-1",
"parentId": null,
"name": "Foundations",
"type": "task",
"durationMin": 1440,
"workMin": 0,
"progressPct": 0,
"constraintKind": "asap",
"constraintDate": null,
"deadline": null,
"calendarId": null,
"costFixed": 0,
"notes": null,
"color": null,
"wbs": null,
"externalId": "crm-4711",
"startAt": "2026-10-05T06:00:00.000Z",
"finishAt": "2026-10-07T15:00:00.000Z",
"isCritical": true,
"totalFloatMin": 0,
"earlyStartAt": "2026-10-05T06:00:00.000Z",
"lateFinishAt": "2026-10-07T15:00:00.000Z",
"actualStartAt": null,
"actualFinishAt": null,
"actualDurationMin": null,
"remainingDurationMin": null,
"manuallyScheduled": false,
"levelingDelayMin": 0,
"taskType": "fixed_units",
"effortDriven": false,
"durationOptimisticMin": null,
"durationPessimisticMin": null,
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"completed": false,
"assignees": [
{
"resourceId": "0c6a8f52-3d7e-4b19-9a4e-6f1d2c8b7e30",
"userId": "b1666432-132a-4ea9-b1ae-76ea69e226c5",
"name": "Anna Rossi",
"unitsPct": 100
}
],
"url": "https://planitude.app/app/t/WHX-1"
}
}
}हस्ताक्षर सत्यापित करें
हर अनुरोध पर HMAC-SHA256 और आपके वेबहुक के सीक्रेट से हस्ताक्षर होता है। Planitude-Signature हेडर में टाइमस्टैम्प t और हस्ताक्षर v1 होते हैं, जो t, एक डॉट और रॉ बॉडी पर गणना किए जाते हैं।
- रॉ बॉडी का उपयोग करें, किसी भी JSON पार्सिंग से पहले: दोबारा सीरियलाइज़ की गई बॉडी का हस्ताक्षर अलग होता है।
- HMAC की गणना करें और उसकी तुलना कॉन्स्टेंट टाइम में करें।
- उन अनुरोधों को अस्वीकार करें जिनका टाइमस्टैम्प आपकी घड़ी से 5 मिनट से अधिक दूर है: पकड़ा गया अनुरोध दोबारा नहीं चलाया जा सकता।
- जब चाहें सीक्रेट रोटेट करें: पुराना तुरंत काम करना बंद कर देता है।
import { createHmac, timingSafeEqual } from "node:crypto";
// rawBody: the request body as a string, before JSON.parse
export function verifyPlanitude(rawBody, header, secret, toleranceSec = 300) {
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
const t = Number(parts.t);
if (!t || Math.abs(Date.now() / 1000 - t) > toleranceSec) return false; // replay
const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest();
const given = Buffer.from(parts.v1 ?? "", "hex");
return given.length === expected.length && timingSafeEqual(given, expected);
}
// Express: app.post("/hooks/planitude", express.raw({ type: "application/json" }), (req, res) => {
// if (!verifyPlanitude(req.body.toString("utf8"), req.get("Planitude-Signature"), process.env.PLANITUDE_WEBHOOK_SECRET)) return res.sendStatus(400);
// res.sendStatus(200); // then process the event in a queue
// });import hashlib
import hmac
import time
def verify_planitude(raw_body: bytes, header: str, secret: str, tolerance: int = 300) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
t = int(parts.get("t", "0"))
if abs(time.time() - t) > tolerance:
return False # replay
expected = hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts.get("v1", ""))
# Flask: verify_planitude(request.get_data(), request.headers["Planitude-Signature"], os.environ["PLANITUDE_WEBHOOK_SECRET"])पुनः प्रयास और डिलीवरी
10 सेकंड के भीतर किसी भी 2xx से उत्तर दें और असली काम बाद में, क्यू में करें। रीडायरेक्ट फ़ॉलो नहीं किए जाते। त्रुटियों और टाइमआउट पर Planitude कुल अधिकतम 6 बार प्रयास करता है: तुरंत, फिर 1 min, 5 min, 30 min, 2 h, 12 h के बाद।
डिलीवरी कम से कम एक बार होती है और क्रमबद्ध नहीं होती। इवेंट आईडी सहेजें (Planitude-Event-Id, बॉडी में id भी) और जिन्हें आप प्रोसेस कर चुके हैं उन्हें छोड़ दें; createdAt से क्रमबद्ध करें।
लगातार 5 इवेंट के हर प्रयास में विफल होने पर वेबहुक अक्षम हो जाता है और उसके मालिक को ईमेल मिलता है। 410 Gone उत्तर उसे तुरंत अक्षम कर देता है। प्रोफ़ाइल से, या PATCH और active: true से उसे फिर चालू करें।
डिलीवरी लॉग (स्टेटस, HTTP कोड, उत्तर अंश, पेलोड, मैन्युअल पुनः भेजना) 30 दिनों तक रखा जाता है। गंतव्य के रूप में केवल सार्वजनिक पते स्वीकार किए जाते हैं।
प्रयास 1 तुरंत
प्रयास 2 + 1 min
प्रयास 3 + 5 min
प्रयास 4 + 30 min
प्रयास 5 + 2 h
प्रयास 6 + 12 hअपने एंडपॉइंट का परीक्षण करें
- टेस्ट एंडपॉइंट से, या प्रोफ़ाइल में Test बटन से
webhook.pingइवेंट भेजें। - अपने कंप्यूटर पर इवेंट प्राप्त करने के लिए, टनल (उदाहरण के लिए ngrok या Cloudflare Tunnel) से अपना लोकल सर्वर उपलब्ध कराएँ और उसका सार्वजनिक HTTPS पता सब्सक्राइब करें।
- स्टेटस, HTTP कोड और उत्तर देखने के लिए डिलीवरी लॉग खोलें, और एंडपॉइंट ठीक होने पर डिलीवरी दोबारा भेजें।
curl -X POST https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/test \
-H "Authorization: Bearer $PLANITUDE_API_KEY"const res = await fetch("https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/test", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PLANITUDE_API_KEY}`,
},
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());import os
import requests
res = requests.post(
"https://planitude.app/api/webhooks/1747ee7f-a395-4d3c-94b0-54b513d71d88/test",
headers={"Authorization": f"Bearer {os.environ['PLANITUDE_API_KEY']}"},
)
res.raise_for_status()
print(res.json()){
"delivery": {
"id": "4b207161-80f9-40bb-bc3f-d8f70315be00",
"eventId": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"eventType": "task.completed",
"status": "success",
"attempts": 1,
"nextAttemptAt": null,
"lastAttemptAt": "2026-10-01T08:30:12.418Z",
"responseStatus": 200,
"responseExcerpt": "{\"ok\":true}",
"error": null,
"durationMs": 39,
"manual": false,
"createdAt": "2026-10-01T08:30:12.418Z"
}
}AI और MCP
MCP सर्वर
Planitude एक MCP (Model Context Protocol) सर्वर है: AI असिस्टेंट और कोड एडिटर आपकी अनुमतियों के साथ प्रोजेक्ट पढ़ते हैं, क्रिटिकल पाथ और वर्कलोड का विश्लेषण करते हैं, और टास्क बनाते या बदलते हैं। वेब ऐप OAuth से कनेक्ट होते हैं (आप साइन इन करके एक्सेस की अनुमति देते हैं); कमांड-लाइन टूल और एडिटर API कुंजी का उपयोग करते हैं।
सर्वर URL
https://planitude.app/mcp
- ChatGPTOAuth
ChatGPT में Settings › Security and login खोलें और Developer mode चालू करें। सर्वर URL और OAuth प्रमाणीकरण के साथ ऐप बनाएँ, फिर Planitude में साइन इन करें और एक्सेस की अनुमति दें।
आधिकारिक दस्तावेज़ीकरण ↗ - ClaudeOAuth
Customize › Connectors › Add custom connector खोलें, सर्वर URL पेस्ट करें और Connect चुनें: Planitude खुलेगा, आप साइन इन करके एक्सेस की अनुमति देंगे। यह claude.ai, Claude Desktop और मोबाइल ऐप में काम करता है।
आधिकारिक दस्तावेज़ीकरण ↗ - GeminiOAuth
gemini.google.com पर Settings › Connected Apps खोलें, Add a custom app चुनें और सर्वर URL पेस्ट करें; फिर Planitude में साइन इन करें और एक्सेस की अनुमति दें।
आधिकारिक दस्तावेज़ीकरण ↗ - Claude CodeAPI कुंजी
अपनी कुंजी को एनवायरनमेंट वेरिएबल में रखकर कमांड चलाएँ। हर प्रोजेक्ट में उपयोग के लिए
आधिकारिक दस्तावेज़ीकरण ↗--scope userजोड़ें औरclaude mcp listसे जाँचें। - CodexAPI कुंजी
कुंजी को
आधिकारिक दस्तावेज़ीकरण ↗PLANITUDE_API_KEYमें रखें और ब्लॉक को~/.codex/config.tomlमें जोड़ें: यह CLI, ऐप और IDE एक्सटेंशन पर लागू होता है। - CursorAPI कुंजी
ब्लॉक को
आधिकारिक दस्तावेज़ीकरण ↗~/.cursor/mcp.json(सभी प्रोजेक्ट) या.cursor/mcp.json(एक प्रोजेक्ट) में जोड़ें; Cursor कुंजी को एनवायरनमेंट से पढ़ता है। - Visual Studio CodeAPI कुंजी
वर्कस्पेस में
आधिकारिक दस्तावेज़ीकरण ↗.vscode/mcp.jsonजोड़ें: VS Code कुंजी एक बार माँगता है और उसे फ़ाइल से बाहर सुरक्षित रूप से सहेजता है। - Gemini CLIAPI कुंजी
अपनी कुंजी को एनवायरनमेंट वेरिएबल में रखकर कमांड चलाएँ, या ब्लॉक को
आधिकारिक दस्तावेज़ीकरण ↗~/.gemini/settings.jsonमें जोड़ें।
टूल
सर्वर 29 टूल उपलब्ध कराता है, पढ़ने और विश्लेषण से लेकर सुरक्षित बदलावों तक। इनमें से कोई भी प्रोजेक्ट या टास्क नहीं हटाता।
read
planitude_list_projectsplanitude_portfolio_overviewplanitude_get_projectplanitude_critical_pathplanitude_delay_impactplanitude_monte_carloplanitude_workloadplanitude_list_baselinesplanitude_list_versionsplanitude_list_templatesplanitude_list_commentsplanitude_preview_import
write
planitude_create_projectplanitude_create_project_from_templateplanitude_create_project_from_planplanitude_import_fileplanitude_edit_projectplanitude_add_taskplanitude_update_taskplanitude_set_progressplanitude_indent_taskplanitude_outdent_taskplanitude_link_tasksplanitude_unlink_tasksplanitude_rescheduleplanitude_configure_simulationplanitude_add_commentplanitude_save_baselineplanitude_save_version
Server URL
https://planitude.app/mcpServer URL
https://planitude.app/mcpServer URL
https://planitude.app/mcpTerminal
claude mcp add --transport http planitude https://planitude.app/mcp \
--header "Authorization: Bearer $PLANITUDE_API_KEY"~/.codex/config.toml
[mcp_servers.planitude]
url = "https://planitude.app/mcp"
bearer_token_env_var = "PLANITUDE_API_KEY"~/.cursor/mcp.json
{
"mcpServers": {
"planitude": {
"url": "https://planitude.app/mcp",
"headers": {
"Authorization": "Bearer ${env:PLANITUDE_API_KEY}"
}
}
}
}.vscode/mcp.json
{
"servers": {
"planitude": {
"type": "http",
"url": "https://planitude.app/mcp",
"headers": {
"Authorization": "Bearer ${input:planitude-key}"
}
}
},
"inputs": [
{
"id": "planitude-key",
"type": "promptString",
"description": "Planitude API key",
"password": true
}
]
}Terminal
gemini mcp add --transport http \
--header "Authorization: Bearer $PLANITUDE_API_KEY" planitude https://planitude.app/mcp~/.gemini/settings.json
{
"mcpServers": {
"planitude": {
"httpUrl": "https://planitude.app/mcp",
"headers": {
"Authorization": "Bearer $PLANITUDE_API_KEY"
}
}
}
}AI एजेंट
वर्कस्पेस में सदस्य के रूप में अधिकतम 5 बाहरी AI एजेंट जोड़ें: Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot या कोई भी MCP क्लाइंट। उन्हें टास्क सौंपें, टिप्पणियों में उनका उल्लेख करें और उनके बदलावों की समीक्षा करें।
ओनर और एडमिन एजेंट कुंजियाँ एजेंट के कनेक्शन टैब में बनाते हैं। कुंजी pln_ से शुरू होती है, एक बार दिखती है और सिर्फ़ hash के रूप में सहेजी जाती है; हर एजेंट के पास अधिकतम 2 कुंजियाँ हो सकती हैं, और रद्द करना तुरंत लागू होता है।
एजेंट कुंजियाँ सिर्फ़ MCP सर्वर के साथ काम करती हैं, जो तब सामान्य टूल की जगह एजेंट टूल दिखाता है। REST API पर उन्हें 403 agent_credential मिलता है।
हर कुंजी या तो पढ़ती और टिप्पणी करती है या संपादित कर सकती है। टास्क लेने, पूरा करने और बदलाव प्रस्तावित करने के लिए संपादन वाली कुंजी चाहिए; वरना जवाब 403 agent_key_read_only होता है।
एजेंट सिर्फ़ उन प्रोजेक्ट को देखता है जिनमें उसे जोड़ा गया है, viewer (पढ़ता और टिप्पणी करता है) या editor (टास्क भी बदलता है) के रूप में, कभी ओनर के रूप में नहीं। प्रोजेक्ट में “इस प्रोजेक्ट में एजेंट की अनुमति दें” भी चालू होना चाहिए: यह डिफ़ॉल्ट रूप से बंद है और ओनर इसे चालू करता है।
एजेंट किसी टास्क का नाम, नोट्स, अवधि, प्रगति और डेडलाइन बदल सकते हैं, या टास्क बना सकते हैं। कोई भी टूल कुछ नहीं हटाता, लोगों को आमंत्रित नहीं करता और भूमिकाएँ नहीं बदलता।
हर एजेंट की डिफ़ॉल्ट सीमाएँ: प्रति मिनट 60 अनुरोध और प्रति दिन 200 राइट, जिन्हें 240 और 2,000 तक बढ़ाया जा सकता है। हर प्रोजेक्ट में अधिकतम 200 बदलाव समीक्षा की प्रतीक्षा कर सकते हैं।
रीड टूल लोगों का लिखा टेक्स्ट (नाम, नोट्स, टिप्पणियाँ) एक रैंडम nonce वाले planitude-data ब्लॉक में JSON स्ट्रिंग के रूप में रखते हैं, और स्वचालित जाँच द्वारा चिह्नित पंक्तियों को SUSPICIOUS मार्क करते हैं: यह डेटा है, कभी निर्देश नहीं। निजी कुंजी से पढ़ी गई टिप्पणियाँ भी इन्हीं ब्लॉक में आती हैं।
claude mcp add --transport http planitude https://planitude.app/mcp \
--header "Authorization: Bearer $PLANITUDE_AGENT_KEY"एजेंट टूल
एजेंट कुंजी के साथ MCP सर्वर ये 16 टूल दिखाता है:
read
planitude_list_my_projectsplanitude_list_tasksplanitude_read_commentsplanitude_list_my_proposals
propose
planitude_add_commentplanitude_propose_task_updateplanitude_propose_statusplanitude_propose_task_create
events
planitude_poll_eventsplanitude_ack_events
runs
planitude_list_my_runsplanitude_claim_taskplanitude_extend_leaseplanitude_complete_taskplanitude_fail_taskplanitude_release_task
स्वायत्त मोड वाले रन के दौरान एजेंट के अपने टास्क में किए बदलाव तुरंत लागू होते हैं और इतिहास में रहते हैं, बहाल करने के लिए तैयार। बाकी मामलों में, और स्वीकृति के साथ मोड में, वे “समीक्षा बाकी” में तब तक रुके रहते हैं जब तक प्रोजेक्ट का कोई सदस्य उन्हें लागू न करे।
वेबहुक के बिना, एजेंट अपने इवेंट planitude_poll_events से पढ़ता है (एक बार में अधिकतम 50) और planitude_ack_events से उनकी पुष्टि करता है।
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "planitude_claim_task",
"arguments": {
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"task": "4dbd104a-00cd-4035-8955-255f52ea586a",
"leaseMinutes": 30
}
}
}रन वेबहुक
एजेंट को अपने आप शुरू करने के लिए, एजेंट के निष्पादन टैब में एक्ज़ीक्यूशन चालू करें और अपने runner का वेबहुक डालें: जब एजेंट के पास चलाने को कोई टास्क होता है, Planitude एक हस्ताक्षरित POST भेजता है। सीक्रेट whsec_ से शुरू होता है और एक बार दिखता है। URL एक सार्वजनिक HTTPS पता होना चाहिए: निजी और लोकल पते अस्वीकार होते हैं।
हस्ताक्षर, हेडर, 10 सेकंड का टाइमआउट और रीट्राई (1 min, 5 min, 30 min, 2 h, 12 h) बाकी वेबहुक की तरह काम करते हैं। लगातार 5 डिलीवरी विफल होने पर वेबहुक बंद हो जाता है: उसे फिर चालू करने के लिए URL दोबारा सहेजें।
सूचना में सिर्फ़ id होते हैं, टास्क का टेक्स्ट कभी नहीं: एजेंट टास्क MCP से पढ़ता है।
| इवेंट | विवरण |
|---|---|
| task.assigned | Only with the “on assignment” trigger: a person assigned the task to the agent. Once per assignment. |
| task.start_due | Default trigger: the task’s start date has come (a working day of its calendar). |
| task.due_today | The task is due today (deadline or planned finish). Opens a run only if the task never had one. |
| task.overdue | The task is past its due date, once per due date. Opens a run only if the task never had one. |
| run.retry | The lease expired without completion, or a person chose Rerun: a new attempt is queued. |
| run.cancel | A run in progress was cancelled (by a person, an emergency stop or the rules): stop working on it. |
| webhook.ping | Sent by “Send test event” in the agent’s Execution tab. |
newRun: true वाली सूचना एक रन खोलती है। एजेंट इसे planitude_claim_task से लेता है और 30 मिनट का lease रखता है (5 से 240 तक), जिसे planitude_extend_lease से नवीनीकृत किया जाता है। अगर lease ख़त्म हो जाए तो नया प्रयास शुरू होता है, अधिकतम 3 (सबसे ज़्यादा 10)। जिस रन को कोई नहीं लेता, वह 24 घंटे बाद समाप्त हो जाता है।
planitude_complete_task टास्क को 100% पर सेट करता है और रिपोर्ट को टिप्पणी के रूप में पोस्ट करता है; खुले सबटास्क होने पर जवाब 409 subtasks_open होता है। planitude_fail_task कारण दर्ज करता है और टीम को सूचित करता है, जो इसे फिर चला सकती है; planitude_release_task बिना रीट्राई के टास्क वापस करता है।
हर रन 50 संपादन की अनुमति देता है (अधिकतम 500, फिर 429) और हर एजेंट 5 खुले रन की (फिर 409 too_many_open_runs)। स्वायत्त, डिफ़ॉल्ट मोड, बदलाव तुरंत लागू करता है और उन्हें बहाल करने देता है; स्वीकृति के साथ उन्हें समीक्षा के लिए भेजता है। आपातकालीन रोक, प्रति प्रोजेक्ट या पूरे वर्कस्पेस के लिए, खुले रन रद्द करती है और राइट रोकती है।
{
"id": "6f1c1d1e-2f4b-4d0a-9a77-2a3c5b1e9f10",
"type": "task.start_due",
"apiVersion": "2026-10-01",
"createdAt": "2026-10-14T07:00:00.000Z",
"workspaceId": "824650d2-d0b3-4cac-8df8-5743ae9ff65a",
"projectId": "40be00e0-7e34-4f7a-864b-5cc986f575b8",
"actor": null,
"data": {
"agentId": "b4d17e2c-93a8-4c6f-8e15-6a0f2d9c7b31",
"taskId": "4dbd104a-00cd-4035-8955-255f52ea586a",
"runId": "7c3e2a91-5d4b-4f08-b6e1-2f9a0c8d4e57",
"newRun": true,
"attempt": 1,
"leaseMinutes": 30,
"writeMode": "autonomous",
"day": "2026-10-14",
"links": {
"mcp": "https://planitude.app/mcp",
"app": "https://planitude.app/app/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8?task=4dbd104a-00cd-4035-8955-255f52ea586a"
}
}
}runner लिखें
runner आपकी छोटी सेवा है जो सूचनाएँ प्राप्त करती है और एजेंट शुरू करती है। कोई भी भाषा चलेगी; Node 20+ में किसी डिपेंडेंसी की ज़रूरत नहीं।
- रॉ बॉडी पर हस्ताक्षर सत्यापित करें और तुरंत 200 जवाब दें: Planitude अधिकतम 10 सेकंड प्रतीक्षा करता है।
- पहले देखे गए इवेंट छोड़ दें (
Planitude-Event-Id): रीट्राई वही इवेंट दोबारा भेजते हैं। newRun: trueपर टास्क लें और एजेंट शुरू करें, उदाहरण के लिए Planitude MCP सर्वर और एजेंट कुंजी के साथclaude -p।- एजेंट के काम करते समय lease नवीनीकृत करें;
run.cancelपर उसे रोक दें। - एजेंट से कहें कि पूरा टास्क ख़त्म होने पर ही
PLANITUDE: DONEसे समाप्त करे, फिर उसकी रिपोर्ट के साथ पूरा करें। वरना (PLANITUDE: NOT DONE - …या कोई अंतिम पंक्ति नहीं) बचे हुए काम के साथ विफल चिह्नित करें।
टास्क के टेक्स्ट को डेटा मानें: एजेंट से कहें कि उसमें मिले निर्देश कभी न माने, और उसे सिर्फ़ ज़रूरी Planitude टूल की अनुमति दें।
// after verifyPlanitude(rawBody, signature, secret) and dedupe on Planitude-Event-Id
res.sendStatus(200); // answer at once, work afterwards
const { type, projectId, data } = event;
if (type === "run.cancel") return stopAgent(data.runId);
if (!data.newRun) return;
await callTool("planitude_claim_task", { projectId, task: data.taskId, leaseMinutes: data.leaseMinutes });
const out = await runAgent(data); // renew with planitude_extend_lease while it works
if (out.lastLine === "PLANITUDE: DONE") {
await callTool("planitude_complete_task", { runId: data.runId, report: out.report }); // task -> 100%
} else {
await callTool("planitude_fail_task", { runId: data.runId, reason: out.whatIsLeft });
}
// callTool = JSON-RPC tools/call to the MCP URL
// with Authorization: Bearer <agent key># mcp.json: {"mcpServers":{"planitude":{"type":"http","url":"https://planitude.app/mcp",
# "headers":{"Authorization":"Bearer pln_..."}}}}
claude -p --output-format text \
--mcp-config mcp.json --allowedTools mcp__planitude < prompt.txtOData फ़ीड (Power BI, Excel)
Power BI, Excel और किसी भी OData क्लाइंट के लिए केवल पढ़ने वाली OData v4 फ़ीड, दो पतों पर: एक प्रोजेक्ट, या किसी वर्कस्पेस में कुंजी के स्वामी को दिखने वाले सभी प्रोजेक्ट।
https://planitude.app/api/odata/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8https://planitude.app/api/odata/workspaces/824650d2-d0b3-4cac-8df8-5743ae9ff65a
पढ़ने की एक्सेस वाली व्यक्तिगत API कुंजी से प्रमाणित करें: Authorization: Bearer, या पासवर्ड के रूप में कुंजी के साथ HTTP Basic (कोई भी उपयोगकर्ता नाम), जो Power BI और Excel द्वारा दी जाने वाली विधि है। OAuth टोकन और सेशन कुकीज़ स्वीकार नहीं की जातीं। एक वर्कस्पेस तक सीमित कुंजी दूसरों को नहीं पढ़ सकती।
तालिकाएँ: Projects, Tasks, Milestones, Dependencies, Resources, Assignments। स्कीमा $metadata (CSDL XML) पर है और सर्विस डॉक्यूमेंट रूट पते पर।
समर्थित विकल्प: $select, $filter (तुलनाएँ, and/or/not, in, contains, startswith, endswith, tolower, toupper), $orderby, $top, $skip, $count और /$count। डिफ़ॉल्ट रूप से पेज में 2,000 पंक्तियाँ होती हैं, Prefer: odata.maxpagesize के साथ 5,000 तक; @odata.nextLink का अनुसरण करें। प्रतिक्रियाओं में ETag होता है: 304 पाने के लिए If-None-Match भेजें। $expand, $apply और $search समर्थित नहीं हैं (400)।
एक फ़ीड अधिकतम 500 प्रोजेक्ट और 25,000 टास्क कवर करती है (इससे अधिक पर 413)। अनुरोध कुंजी की पढ़ने की सीमा में गिने जाते हैं, 240 प्रति मिनट।
curl "https://planitude.app/api/odata/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/Tasks?$select=Key,Name,Start,Finish,ProgressPct,IsCritical&$filter=IsCritical&$orderby=Start&$top=2&$count=true" \
-u "powerbi:$PLANITUDE_API_KEY"
# schema (CSDL XML), for Power BI, Excel and any OData client
curl "https://planitude.app/api/odata/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/$metadata" -u "powerbi:$PLANITUDE_API_KEY"{
"@odata.context": "https://planitude.app/api/odata/projects/40be00e0-7e34-4f7a-864b-5cc986f575b8/$metadata#Tasks(Key,Name,Start,Finish,ProgressPct,IsCritical)",
"@odata.count": 3,
"value": [
{
"Key": "WHX-2",
"Name": "Foundations",
"Start": "2026-10-05T07:00:00Z",
"Finish": "2026-10-06T15:00:00Z",
"ProgressPct": 100,
"IsCritical": true
},
{
"Key": "WHX-3",
"Name": "Walls",
"Start": "2026-10-07T07:00:00Z",
"Finish": "2026-10-09T15:00:00Z",
"ProgressPct": 50,
"IsCritical": true
}
]
}तैयार इंटीग्रेशन
कोड की आवश्यकता नहीं: ये इंटीग्रेशन उसी API और वेबहुक का उपयोग करते हैं और कुछ ही क्लिक में सेट हो जाते हैं।
- Jiraउपलब्धटास्क, तारीखों और डिपेंडेंसी का Jira इश्यू के साथ दो-तरफ़ा सिंक।
- Azure DevOpsउपलब्धAzure DevOps Boards वर्क आइटम के साथ दो-तरफ़ा सिंक।
- Slackउपलब्धप्रोजेक्ट अपडेट, दैनिक सारांश और आपके चैनलों में एक स्लैश कमांड।
- Microsoft Teamsउपलब्धMicrosoft Teams में अपडेट, सारांश और Planitude टैब।
- Power BI, Excelउपलब्धरिपोर्ट और डैशबोर्ड के लिए प्रोजेक्ट, टास्क, माइलस्टोन और असाइनमेंट वाली केवल पढ़ने वाली OData फ़ीड।
- Zapier, Make, n8nजल्द आ रहा हैनो-कोड ऑटोमेशन के लिए टास्क और प्रोजेक्ट पर तत्काल ट्रिगर और एक्शन।
चेंजलॉग
Power BI, Excel और अन्य OData क्लाइंट के लिए /api/odata/projects/:projectId और /api/odata/workspaces/:workspaceId पर नई केवल पढ़ने वाली OData v4 फ़ीड: छह तालिकाएँ, $metadata, $select, $filter, $orderby, $top, $skip, $count, सर्वर-संचालित पेजिंग और ETag।
नया endpoint GET /api/projects/:projectId/export: प्लान Microsoft Project XML, CSV, PNG इमेज या PDF के रूप में, पैमाना, तारीख़ों की अवधि, क्रिटिकल पाथ, बेसलाइन, निर्भरताएँ, काग़ज़ का आकार और अभिविन्यास चुनने के विकल्पों के साथ।
सभी API कुंजियाँ अब pln_ से शुरू होती हैं। gnt_ से शुरू होने वाली कुंजियाँ अब काम नहीं करतीं: नई कुंजी बनाएँ।
एजेंट टास्क चलाते हैं: हस्ताक्षरित रन वेबहुक (task.assigned, task.start_due, task.due_today, task.overdue, run.retry, run.cancel), lease वाले 6 रन टूल और runner लिखने की गाइड।
MCP रीड टूल लोगों का लिखा टेक्स्ट nonce वाले planitude-data ब्लॉक में, SUSPICIOUS मार्क वाली JSON स्ट्रिंग के रूप में लपेटते हैं, हर तरह की कुंजी के लिए।
वर्कस्पेस सदस्य के रूप में AI एजेंट: सिर्फ़ MCP सर्वर के साथ काम करने वाली एजेंट कुंजियाँ, पढ़ने, टिप्पणी करने और बदलाव प्रस्तावित करने के 10 टूल, और एक इवेंट कतार।
OpenAPI दस्तावेज़ से तैयार नया डेवलपर दस्तावेज़ीकरण। OpenAPI दस्तावेज़ अब सदस्यों, टिप्पणियों, बेसलाइन, टेम्पलेट और असाइनी के लिए लौटाए जाने वाले हर फ़ील्ड का वर्णन करता है।
API वर्ज़न 2026-10-01: हस्ताक्षरित आउटगोइंग वेबहुक, प्रलेखित सार्वजनिक REST API (OpenAPI 3.1), कर्सर पेजिनेशन और externalId से खोज।
MCP सर्वर और API के लिए OAuth 2.1: ChatGPT, Claude और Gemini बिना कुंजी कॉपी किए कनेक्ट होते हैं।
MCP सर्वर और रीड या रीड + राइट एक्सेस वाली व्यक्तिगत API कुंजियाँ।