Writes a note on the lead. It appears in the lead’s timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to.
Notes are plain text. Attachments can only be added in the Cockpit.
POST
/
leads
/
{id}
/
notes
Add a note
curl --request POST \ --url https://backend.leadey.ai/v1/leads/{id}/notes \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "text": "Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday."}'
import requests
url = "https://backend.leadey.ai/v1/leads/{id}/notes"
payload = { "text": "Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({text: 'Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday.'})
};
fetch('https://backend.leadey.ai/v1/leads/{id}/notes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Leadey","colors":{"primary":"#4A5478","light":"#97A4D6","dark":"#242E55"},"logo":{"light":"https://mintcdn.com/octogle/qe1NC0JOYldDAYaf/logo/logomark-dark.svg?fit=max\u0026auto=format\u0026n=qe1NC0JOYldDAYaf\u0026q=85\u0026s=53e3d34695d740dbf3bd51d45e2b710a","dark":"https://mintcdn.com/octogle/lMuvtd8TE35BeyZn/logo/logomark-white.svg?fit=max\u0026auto=format\u0026n=lMuvtd8TE35BeyZn\u0026q=85\u0026s=fdc37787f4f4847a6c304f41b6b1e68d"},"favicon":"https://mintcdn.com/octogle/Pzda1qdAKuqmrwRq/favicon.svg?fit=max\u0026auto=format\u0026n=Pzda1qdAKuqmrwRq\u0026q=85\u0026s=d0001898b73fb1871455601f98945889","api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","python","javascript"]}},"appearance":{"default":"dark","strict":false},"background":{"decoration":"gradient","color":{"light":"#F4F5F9","dark":"#0C1122"}},"navbar":{"links":[{"href":"mailto:support@leadey.ai","label":"Support"}],"primary":{"type":"button","label":"Open Dashboard","href":"https://app.leadey.ai"}},"footer":{"socials":{"x":"https://x.com/leadey","linkedin":"https://linkedin.com/company/leadey"}},"fonts":{"family":"DM Sans"},"styling":{"codeblocks":"dark","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://leadey.ai"},{"anchor":"Dashboard","icon":"gauge","href":"https://app.leadey.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"octogle","hasAudioNarration":false,"actualSubdomain":"octogle","customDomains":["api.leadey.ai"],"gitSource":{"type":"github","owner":"ydin0","repo":"leadey-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adfbfdcb576b7b6682c4460","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":63},{"language":"default","tag":"Tutorials","count":30},{"language":"default","tag":"Leads","count":12},{"language":"default","tag":"Opportunities","count":8},{"language":"default","tag":"Pipelines","count":7},{"language":"default","tag":"For developers","count":6},{"language":"default","tag":"How it works","count":5},{"language":"default","tag":"Reach them","count":5},{"language":"default","tag":"Metrics","count":5},{"language":"default","tag":"Tasks","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--leadey-midnight-navy: #0C1122;--leadey-backdrop: #0A0E1F;--leadey-deep-navy: #192039;--leadey-card-navy: #141A30;--leadey-mid-navy: #242E55;--leadey-lift-navy: #2E3964;--leadey-periwinkle: #97A4D6;--leadey-periwinkle-light: #C8CFE6;--leadey-periwinkle-dim: #6B7299;--leadey-periwinkle-deep: #4A5478;--leadey-white: #FFFFFF;--leadey-cool-white: #F4F5F9;--leadey-radius-card: 14px;--leadey-radius-pill: 9999px;--leadey-fg1: #FFFFFF;--leadey-fg2: #C8CFE6;--leadey-fg-muted: #97A4D6;--leadey-fg-faint: #6B7299;--leadey-border-subtle: rgba(255, 255, 255, 0.06);--leadey-border-default: rgba(255, 255, 255, 0.12);--leadey-shadow-card:\n inset 0 1px 0 rgba(255, 255, 255, 0.06),\n 0 24px 60px -20px rgba(0, 0, 0, 0.5)}body{font-feature-settings:\"cv11\", \"ss01\", \"ss03\";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;letter-spacing:-0.01em}html.dark,html[data-theme=\"dark\"],.dark body,html[data-theme=\"dark\"] body{background-color:#0A0E1F;background-image:radial-gradient(60% 40% at 50% 8%, rgba(151, 164, 214, 0.12) 0%, rgba(151, 164, 214, 0) 60%),\n radial-gradient(70% 55% at 100% 0%, rgba(74, 84, 120, 0.28) 0%, rgba(74, 84, 120, 0) 65%),\n radial-gradient(55% 50% at 0% 100%, rgba(151, 164, 214, 0.10) 0%, rgba(151, 164, 214, 0) 60%),\n linear-gradient(180deg, #0A0E1F 0%, #0C1122 50%, #0A0E1F 100%);background-attachment:fixed;background-repeat:no-repeat}html:not(.dark):not([data-theme=\"dark\"]) body{background-color:#F4F5F9}.card,[class*=\"card\"],.leadey-card{border-radius:var(--leadey-radius-card)}html.dark .card,html.dark [class*=\"card\"],html.dark .leadey-card{box-shadow:var(--leadey-shadow-card);border-color:var(--leadey-border-subtle)}a[class*=\"primary\"],button[class*=\"primary\"],.btn-primary,[class*=\"Button\"][class*=\"primary\"]{border-radius:var(--leadey-radius-pill)!important}html.dark :not(pre)>code{background:rgba(151, 164, 214, 0.12);color:var(--leadey-periwinkle-light);border:1px solid var(--leadey-border-subtle);border-radius:6px}html.dark a:not([class]){color:var(--leadey-periwinkle);text-underline-offset:2px}html.dark a:not([class]):hover{color:var(--leadey-periwinkle-light)}html.dark hr,html.dark table,html.dark th,html.dark td{border-color:var(--leadey-border-subtle)}.callout[class*=\"green\"]{background-color:rgba(151, 164, 214, 0.12)!important;border-color:rgba(151, 164, 214, 0.28)!important}.callout[class*=\"green\"] [data-component-part=\"callout-icon\"],.callout[class*=\"green\"] [data-component-part=\"callout-icon\"] svg{color:var(--leadey-periwinkle)!important}.callout[class*=\"green\"] [data-component-part=\"callout-content\"],.callout[class*=\"green\"] [data-component-part=\"callout-content\"] [data-as=\"p\"]{color:var(--leadey-periwinkle-deep)!important}html.dark .callout[class*=\"green\"] [data-component-part=\"callout-content\"],html.dark .callout[class*=\"green\"] [data-component-part=\"callout-content\"] [data-as=\"p\"]{color:var(--leadey-periwinkle-light)!important}.callout[class*=\"green\"] a{color:var(--leadey-periwinkle)!important}"}]}
{"page":{"pagePath":"api-reference/notes/add-a-note","slug":"/api-reference/notes/add-a-note","pageMetadata":{"title":"Add a note","description":"Writes a note on the lead. It appears in the lead's timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to.\n\nNotes are plain text. Attachments can only be added in the Cockpit.","deprecated":null,"version":null,"openapi":"/openapi.json post /leads/{id}/notes","href":"/api-reference/notes/add-a-note","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Writes a note on the lead. It appears in the lead’s timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"Notes are plain text. Attachments can only be added in the Cockpit.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Add a note","description":"Writes a note on the lead. It appears in the lead's timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to.\n\nNotes are plain text. Attachments can only be added in the Cockpit.","deprecated":null,"version":null,"openapi":"/openapi.json post /leads/{id}/notes","href":"/api-reference/notes/add-a-note","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createLeadNote","summary":"Add a note","description":"Writes a note on the lead. It appears in the lead's timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to.\n\nNotes are plain text. Attachments can only be added in the Cockpit.","tags":["Notes"],"parameters":["10dfcea3-8b73-4c5c-a68d-285e7d8ab8c7"],"requestBody":"472ebcf7-6670-4c26-95f9-bede4c63306d","responses":{"201":"69d9bdbe-2ae7-48a6-a05d-21c1f4957271","400":"9fd60fad-0906-4af3-ac82-fe7c3177e5eb","401":"27668b2b-af45-49ca-a180-ed3cbc829b63","403":"c1dad9b3-84f6-4ef7-912f-bf1b1dde5fae","404":"9a3d3657-3364-4638-b080-2ccd1aed8fd8","429":"62200bef-3e12-4c74-9b47-902805525bd8"},"method":"post","type":"path","servers":["5aa65030-3eba-412c-acaf-ebd3843a766d","3a82a21c-13b1-4421-93aa-deca128017dd"],"security":["18a84111-dfda-408c-a6a2-5eb5438ba646"],"path":"/leads/{id}/notes","baseUrlOptions":["https://backend.leadey.ai/v1","http://localhost:3001/v1"],"title":"Add a note","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"10dfcea3-8b73-4c5c-a68d-285e7d8ab8c7":{"name":"id","in":"path","required":true,"description":"The lead id.","schema":{"type":"string","isRequired":true,"description":"The lead id.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"The note body.","isRequired":true,"uniqueKey":"text","typeLabel":"string"}},"required":["text"],"uniqueKey":"","typeLabel":"object"},"example":{"text":"Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday."},"examples":{"Example":{"title":"Example","value":{"text":"Asked for pricing on a 240-vehicle fleet. Sending the sheet Thursday."}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"69d9bdbe-2ae7-48a6-a05d-21c1f4957271":{"description":"The note was created.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","description":"Unique note id.","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"type":{"type":"string","description":"Always `note`.","enum":["note"],"isRequired":true,"uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"meta":{"description":"The note body and its author.","type":"object","properties":{"text":{"type":"string","description":"The note body.","isRequired":true,"uniqueKey":"data.meta.text","typeLabel":"string"},"userId":{"oneOf":[{"type":"string","description":"The workspace member who wrote it. For a note created through the API this is the member the key belongs to.","uniqueKey":"data.meta.userId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The workspace member who wrote it. For a note created through the API this is the member the key belongs to.","uniqueKey":"data.meta.userId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.meta.userId","typeLabel":"string | null"},"attachments":{"type":"array","description":"Documents attached to the note. Attachments are uploaded in the Cockpit; the API does not accept file uploads.","items":{"type":"object","properties":{"id":{"type":"string","description":"Document id.","isRequired":true,"uniqueKey":"data.meta.attachments.items.[INDEX].id","typeLabel":"string"},"fileName":{"type":"string","description":"Original file name.","isRequired":true,"uniqueKey":"data.meta.attachments.items.[INDEX].fileName","typeLabel":"string"},"mimeType":{"type":"string","description":"Content type.","isRequired":true,"uniqueKey":"data.meta.attachments.items.[INDEX].mimeType","typeLabel":"string"},"size":{"type":"integer","description":"Size in bytes.","isRequired":true,"uniqueKey":"data.meta.attachments.items.[INDEX].size","typeLabel":"integer"}},"required":["id","fileName","mimeType","size"],"uniqueKey":"data.meta.attachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.meta.attachments","typeLabel":"object[]"}},"required":["text"],"isRequired":true,"uniqueKey":"data.meta","typeLabel":"object"},"timestamp":{"type":"string","description":"When the note was written.","format":"date-time","isRequired":true,"uniqueKey":"data.timestamp","typeLabel":"string\u003cdate-time>"},"outcome":{"oneOf":[{"type":"string","description":"Always null for notes. Present so a note has the same shape as any other timeline event.","uniqueKey":"data.outcome.oneOf.0","typeLabel":"string"},{"type":"null","description":"Always null for notes. Present so a note has the same shape as any other timeline event.","uniqueKey":"data.outcome.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.outcome","typeLabel":"string | null"},"stepIndex":{"type":"integer","description":"Always 0 for notes.","uniqueKey":"data.stepIndex","typeLabel":"integer"}},"required":["id","type","meta","timestamp"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"example":{"data":{"id":"event_6Tk9wRmB","type":"note","outcome":null,"stepIndex":0,"meta":{"text":"Left a voicemail. Trying again Thursday morning.","userId":"user_2pXn4Rk"},"timestamp":"2026-08-03T11:09:20.000Z"}},"examples":{"Example":{"title":"Example","value":{"data":{"id":"event_6Tk9wRmB","type":"note","outcome":null,"stepIndex":0,"meta":{"text":"Left a voicemail. Trying again Thursday morning.","userId":"user_2pXn4Rk"},"timestamp":"2026-08-03T11:09:20.000Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"9fd60fad-0906-4af3-ac82-fe7c3177e5eb":{"description":"The request was malformed, or a required field was missing or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"array","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.1","typeLabel":"array"},{"type":"string","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.2","typeLabel":"string"},{"type":"null","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.3","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object | array | string | null"}},"required":["message"],"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"One of email, phone or linkedinUrl is required","details":null}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"One of email, phone or linkedinUrl is required","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"27668b2b-af45-49ca-a180-ed3cbc829b63":{"description":"The API key is missing, invalid, or revoked.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"array","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.1","typeLabel":"array"},{"type":"string","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.2","typeLabel":"string"},{"type":"null","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.3","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object | array | string | null"}},"required":["message"],"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Invalid or revoked API key.","details":null}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Invalid or revoked API key.","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"c1dad9b3-84f6-4ef7-912f-bf1b1dde5fae":{"description":"The key is read-only, or the workspace is not currently allowed to write (payment method missing, trial expired, payment overdue, or subscription cancelled).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"array","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.1","typeLabel":"array"},{"type":"string","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.2","typeLabel":"string"},{"type":"null","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.3","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object | array | string | null"}},"required":["message"],"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"This API key is read-only. Create a key with write access in Settings → API Keys.","details":null}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"This API key is read-only. Create a key with write access in Settings → API Keys.","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"9a3d3657-3364-4638-b080-2ccd1aed8fd8":{"description":"The resource does not exist or is not in your workspace.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"array","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.1","typeLabel":"array"},{"type":"string","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.2","typeLabel":"string"},{"type":"null","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.3","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object | array | string | null"}},"required":["message"],"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Lead not found","details":null}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Lead not found","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"62200bef-3e12-4c74-9b47-902805525bd8":{"description":"Too many requests. Retry after the period in the `Retry-After` header.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"object","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.0","typeLabel":"object"},{"type":"array","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.1","typeLabel":"array"},{"type":"string","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.2","typeLabel":"string"},{"type":"null","description":"Optional structured detail.","uniqueKey":"error.details.oneOf.3","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object | array | string | null"}},"required":["message"],"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"message":"Rate limit exceeded. Retry in 42s.","details":null}},"examples":{"Example":{"title":"Example","value":{"error":{"message":"Rate limit exceeded. Retry in 42s.","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"18a84111-dfda-408c-a6a2-5eb5438ba646":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Your API key, created in the Leadey dashboard under Settings → API Keys. Send it as `Authorization: Bearer leadey_sk_live_…`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"5aa65030-3eba-412c-acaf-ebd3843a766d":{"url":"https://backend.leadey.ai/v1","description":"Production"},"3a82a21c-13b1-4421-93aa-deca128017dd":{"url":"http://localhost:3001/v1","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Your API key, created in the Leadey dashboard under Settings → API Keys. Send it as `Authorization: Bearer leadey_sk_live_…`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your API key, created in the Leadey dashboard under Settings → API Keys. Send it as `Authorization: Bearer leadey_sk_live_…`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"octogle","siteName":"Leadey","title":"Add a note - Leadey","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T21:02:51.511Z","originalFileLocation":"api-reference/notes/add-a-note.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Writes a note on the lead. It appears in the lead\u0026#x27;s timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to. Notes are plain text. Attachments can only be added in the Cockpit.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Leadey\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add a note - Leadey\">\u003cmeta data-mint-head property=\"og:description\" content=\"Writes a note on the lead. It appears in the lead\u0026#x27;s timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to. Notes are plain text. Attachments can only be added in the Cockpit.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Leadey\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.leadey.ai/api-reference/notes/add-a-note\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://octogle.mintlify.site/_mintlify/api/og/v2?division=Notes\u0026amp;title=Add+a+note\u0026amp;description=Writes+a+note+on+the+lead.+It+appears+in+the+lead%27s+timeline+and+in+the+Cockpit+immediately%2C+attributed+to+the+workspace+member+the+API+key+belongs+to.%0A%0ANotes+a\u0026amp;theme=6aafe7575f223fb24b0eaa5a\u0026amp;signature=faf550cbbcc08fc6b7e2c167f24002f4fb5255dc6ff549ffa335d745f637e9b0\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Add a note - Leadey\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Writes a note on the lead. It appears in the lead\u0026#x27;s timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to. Notes are plain text. Attachments can only be added in the Cockpit.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://octogle.mintlify.site/_mintlify/api/og/v2?division=Notes\u0026amp;title=Add+a+note\u0026amp;description=Writes+a+note+on+the+lead.+It+appears+in+the+lead%27s+timeline+and+in+the+Cockpit+immediately%2C+attributed+to+the+workspace+member+the+API+key+belongs+to.%0A%0ANotes+a\u0026amp;theme=6aafe7575f223fb24b0eaa5a\u0026amp;signature=faf550cbbcc08fc6b7e2c167f24002f4fb5255dc6ff549ffa335d745f637e9b0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/octogle/OSUjBPx9rndaRg_p/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Leadey\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4A5478\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.leadey.ai/api-reference/notes/add-a-note\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/notes/add-a-note.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.leadey.ai/#organization\",\"name\":\"Leadey\",\"url\":\"https://api.leadey.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/octogle/qe1NC0JOYldDAYaf/logo/logomark-dark.svg?fit=max\u0026auto=format\u0026n=qe1NC0JOYldDAYaf\u0026q=85\u0026s=53e3d34695d740dbf3bd51d45e2b710a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api.leadey.ai#website\",\"name\":\"Leadey\",\"url\":\"https://api.leadey.ai\",\"publisher\":{\"@id\":\"https://api.leadey.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.leadey.ai/api-reference/notes/add-a-note#webpage\",\"url\":\"https://api.leadey.ai/api-reference/notes/add-a-note\",\"name\":\"Add a note\",\"description\":\"Writes a note on the lead. It appears in the lead's timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to. Notes are plain text. Attachments can only be added in the Cockpit.\",\"dateModified\":\"2026-10-26T21:02:51.511Z\",\"isPartOf\":{\"@id\":\"https://api.leadey.ai#website\"},\"breadcrumb\":{\"@id\":\"https://api.leadey.ai/api-reference/notes/add-a-note#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.leadey.ai/api-reference/notes/add-a-note#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Notes\",\"item\":\"https://api.leadey.ai/api-reference/notes/list-notes-on-a-lead\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add a note\",\"item\":\"https://api.leadey.ai/api-reference/notes/add-a-note\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.leadey.ai/api-reference/notes/add-a-note#apireference\",\"headline\":\"Add a note\",\"name\":\"Add a note\",\"description\":\"Writes a note on the lead. It appears in the lead's timeline and in the Cockpit immediately, attributed to the workspace member the API key belongs to. Notes are plain text. Attachments can only be added in the Cockpit.\",\"url\":\"https://api.leadey.ai/api-reference/notes/add-a-note\",\"mainEntityOfPage\":{\"@id\":\"https://api.leadey.ai/api-reference/notes/add-a-note#webpage\"},\"dateModified\":\"2026-10-26T21:02:51.511Z\",\"publisher\":{\"@id\":\"https://api.leadey.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://api.leadey.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Leadey\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Leadey\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/notes/add-a-note.md","siteName":"Leadey","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://leadey.ai"},{"anchor":"Dashboard","icon":"gauge","href":"https://app.leadey.ai"}]},"tabs":[{"tab":"Tutorials","pages":[{"title":"Tutorials","href":""}]},{"tab":"API Reference","groups":[{"group":"Account","pages":[{"title":"Get current organization","deprecated":null,"version":null,"openapi":"/openapi.json get /me","href":"/api-reference/account/get-current-organization"}]},{"group":"Leads","pages":[{"title":"List leads","deprecated":null,"version":null,"openapi":"/openapi.json get /leads","href":"/api-reference/leads/list-leads"},{"title":"Create a lead","deprecated":null,"version":null,"openapi":"/openapi.json post /leads","href":"/api-reference/leads/create-a-lead"},{"title":"Get a lead","deprecated":null,"version":null,"openapi":"/openapi.json get /leads/{id}","href":"/api-reference/leads/get-a-lead"},{"title":"Delete a lead","deprecated":null,"version":null,"openapi":"/openapi.json delete /leads/{id}","href":"/api-reference/leads/delete-a-lead"},{"title":"Update a lead","deprecated":null,"version":null,"openapi":"/openapi.json patch /leads/{id}","href":"/api-reference/leads/update-a-lead"},{"title":"Update lead status","deprecated":null,"version":null,"openapi":"/openapi.json patch /leads/{id}/status","href":"/api-reference/leads/update-lead-status"},{"title":"Flag do not contact","deprecated":null,"version":null,"openapi":"/openapi.json post /leads/{id}/dnc","href":"/api-reference/leads/flag-do-not-contact"},{"title":"Get lead timeline","deprecated":null,"version":null,"openapi":"/openapi.json get /leads/{id}/timeline","href":"/api-reference/leads/get-lead-timeline"},{"title":"List a lead's contacts","deprecated":null,"version":null,"openapi":"/openapi.json get /leads/{id}/contacts","href":"/api-reference/leads/list-a-leads-contacts"},{"title":"List custom activities on a lead","deprecated":null,"version":null,"openapi":"/openapi.json get /leads/{id}/activities","href":"/api-reference/leads/list-custom-activities-on-a-lead"},{"title":"Log a custom activity","deprecated":null,"version":null,"openapi":"/openapi.json post /leads/{id}/activities","href":"/api-reference/leads/log-a-custom-activity"},{"title":"Delete a logged activity","deprecated":null,"version":null,"openapi":"/openapi.json delete /leads/{id}/activities/{eventId}","href":"/api-reference/leads/delete-a-logged-activity"}]},{"group":"Notes","pages":[{"title":"List notes on a lead","description":"Returns the lead's notes, newest first.","deprecated":null,"version":null,"openapi":"/openapi.json get /leads/{id}/notes","href":"/api-reference/notes/list-notes-on-a-lead"},{"title":"Add a note","deprecated":null,"version":null,"openapi":"/openapi.json post /leads/{id}/notes","href":"/api-reference/notes/add-a-note"},{"title":"Delete a note","description":"Removes the note from the lead's timeline. This cannot be undone.","deprecated":null,"version":null,"openapi":"/openapi.json delete /leads/{id}/notes/{noteId}","href":"/api-reference/notes/delete-a-note"},{"title":"Edit a note","deprecated":null,"version":null,"openapi":"/openapi.json patch /leads/{id}/notes/{noteId}","href":"/api-reference/notes/edit-a-note"}]},{"group":"Campaigns","pages":[{"title":"List campaigns","deprecated":null,"version":null,"openapi":"/openapi.json get /campaigns","href":"/api-reference/campaigns/list-campaigns"},{"title":"Get a campaign","deprecated":null,"version":null,"openapi":"/openapi.json get /campaigns/{id}","href":"/api-reference/campaigns/get-a-campaign"},{"title":"Add leads to a campaign","deprecated":null,"version":null,"openapi":"/openapi.json post /campaigns/{id}/leads","href":"/api-reference/campaigns/add-leads-to-a-campaign"},{"title":"Remove a lead from a campaign","deprecated":null,"version":null,"openapi":"/openapi.json delete /campaigns/{id}/leads/{leadId}","href":"/api-reference/campaigns/remove-a-lead-from-a-campaign"}]},{"group":"Metrics","pages":[{"title":"Campaign metrics","deprecated":null,"version":null,"openapi":"/openapi.json get /campaigns/{id}/metrics","href":"/api-reference/metrics/campaign-metrics"},{"title":"Workspace summary","deprecated":null,"version":null,"openapi":"/openapi.json get /metrics/summary","href":"/api-reference/metrics/workspace-summary"},{"title":"Meeting metrics and sit rate","deprecated":null,"version":null,"openapi":"/openapi.json get /metrics/meetings","href":"/api-reference/metrics/meeting-metrics-and-sit-rate"},{"title":"Call metrics","deprecated":null,"version":null,"openapi":"/openapi.json get /metrics/calls","href":"/api-reference/metrics/call-metrics"},{"title":"Pipeline value","deprecated":null,"version":null,"openapi":"/openapi.json get /metrics/pipeline","href":"/api-reference/metrics/pipeline-value"}]},{"group":"Companies","pages":[{"title":"List companies","deprecated":null,"version":null,"openapi":"/openapi.json get /companies","href":"/api-reference/companies/list-companies"},{"title":"Create a company","deprecated":null,"version":null,"openapi":"/openapi.json post /companies","href":"/api-reference/companies/create-a-company"},{"title":"Get a company","deprecated":null,"version":null,"openapi":"/openapi.json get /companies/{id}","href":"/api-reference/companies/get-a-company"},{"title":"Update a company","deprecated":null,"version":null,"openapi":"/openapi.json patch /companies/{id}","href":"/api-reference/companies/update-a-company"}]},{"group":"Contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi.json get /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/openapi.json post /contacts","href":"/api-reference/contacts/create-a-contact"},{"title":"Get a contact","deprecated":null,"version":null,"openapi":"/openapi.json get /contacts/{id}","href":"/api-reference/contacts/get-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/openapi.json patch /contacts/{id}","href":"/api-reference/contacts/update-a-contact"}]},{"group":"Meetings","pages":[{"title":"List meetings","deprecated":null,"version":null,"openapi":"/openapi.json get /meetings","href":"/api-reference/meetings/list-meetings"},{"title":"Get a meeting","deprecated":null,"version":null,"openapi":"/openapi.json get /meetings/{key}","href":"/api-reference/meetings/get-a-meeting"},{"title":"Mark attended or no-show","deprecated":null,"version":null,"openapi":"/openapi.json put /meetings/{key}/disposition","href":"/api-reference/meetings/mark-attended-or-no-show"}]},{"group":"Opportunities","pages":[{"title":"List opportunities","deprecated":null,"version":null,"openapi":"/openapi.json get /opportunities","href":"/api-reference/opportunities/list-opportunities"},{"title":"Create an opportunity","deprecated":null,"version":null,"openapi":"/openapi.json post /opportunities","href":"/api-reference/opportunities/create-an-opportunity"},{"title":"Get an opportunity","deprecated":null,"version":null,"openapi":"/openapi.json get /opportunities/{id}","href":"/api-reference/opportunities/get-an-opportunity"},{"title":"Delete an opportunity","deprecated":null,"version":null,"openapi":"/openapi.json delete /opportunities/{id}","href":"/api-reference/opportunities/delete-an-opportunity"},{"title":"Update or move an opportunity","deprecated":null,"version":null,"openapi":"/openapi.json patch /opportunities/{id}","href":"/api-reference/opportunities/update-or-move-an-opportunity"},{"title":"Mark an opportunity won","deprecated":null,"version":null,"openapi":"/openapi.json post /opportunities/{id}/win","href":"/api-reference/opportunities/mark-an-opportunity-won"},{"title":"Mark an opportunity lost","deprecated":null,"version":null,"openapi":"/openapi.json post /opportunities/{id}/lose","href":"/api-reference/opportunities/mark-an-opportunity-lost"},{"title":"Reopen a closed opportunity","deprecated":null,"version":null,"openapi":"/openapi.json post /opportunities/{id}/reopen","href":"/api-reference/opportunities/reopen-a-closed-opportunity"}]},{"group":"Pipelines","pages":[{"title":"List pipelines","deprecated":null,"version":null,"openapi":"/openapi.json get /pipelines","href":"/api-reference/pipelines/list-pipelines"},{"title":"Create a pipeline","deprecated":null,"version":null,"openapi":"/openapi.json post /pipelines","href":"/api-reference/pipelines/create-a-pipeline"},{"title":"Get a pipeline","deprecated":null,"version":null,"openapi":"/openapi.json get /pipelines/{id}","href":"/api-reference/pipelines/get-a-pipeline"},{"title":"Rename a pipeline","deprecated":null,"version":null,"openapi":"/openapi.json patch /pipelines/{id}","href":"/api-reference/pipelines/rename-a-pipeline"},{"title":"Add a stage","deprecated":null,"version":null,"openapi":"/openapi.json post /pipelines/{id}/stages","href":"/api-reference/pipelines/add-a-stage"},{"title":"Delete a stage","deprecated":null,"version":null,"openapi":"/openapi.json delete /pipelines/{id}/stages/{stageId}","href":"/api-reference/pipelines/delete-a-stage"},{"title":"Update a stage","deprecated":null,"version":null,"openapi":"/openapi.json patch /pipelines/{id}/stages/{stageId}","href":"/api-reference/pipelines/update-a-stage"}]},{"group":"Calls","pages":[{"title":"List calls","deprecated":null,"version":null,"openapi":"/openapi.json get /calls","href":"/api-reference/calls/list-calls"},{"title":"Log a call","deprecated":null,"version":null,"openapi":"/openapi.json post /calls","href":"/api-reference/calls/log-a-call"},{"title":"Get a call","deprecated":null,"version":null,"openapi":"/openapi.json get /calls/{id}","href":"/api-reference/calls/get-a-call"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"/openapi.json get /tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Create a task","deprecated":null,"version":null,"openapi":"/openapi.json post /tasks","href":"/api-reference/tasks/create-a-task"},{"title":"Get a task","deprecated":null,"version":null,"openapi":"/openapi.json get /tasks/{id}","href":"/api-reference/tasks/get-a-task"},{"title":"Delete a task","deprecated":null,"version":null,"openapi":"/openapi.json delete /tasks/{id}","href":"/api-reference/tasks/delete-a-task"},{"title":"Update a task","deprecated":null,"version":null,"openapi":"/openapi.json patch /tasks/{id}","href":"/api-reference/tasks/update-a-task"}]},{"group":"Reference","pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"/openapi.json get /users","href":"/api-reference/reference/list-users"},{"title":"List lead statuses","deprecated":null,"version":null,"openapi":"/openapi.json get /lead-statuses","href":"/api-reference/reference/list-lead-statuses"},{"title":"List call outcomes","deprecated":null,"version":null,"openapi":"/openapi.json get /call-outcomes","href":"/api-reference/reference/list-call-outcomes"}]}]}]},"basePath":"","title":"Add a note - Leadey","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","SectionHeading-Cg4lfWZw.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}