REST API endpoint for listing prospect appointments
Retrieve scheduled appointments across all prospects in your company. Filter by date range to build calendar views or sync with external scheduling tools.
The appointments endpoint returns scheduled appointments across every prospect in your company. You can filter by date range to build a daily or weekly calendar view, sync upcoming appointments to an external calendar system, or report on appointment volume over time. Each appointment record includes a reference to the parent prospect and the user who created it.
Calendar access must be enabled on your plan. Requests from accounts without calendar access return 403 with the message "Calendar access not available on your plan".
List appointments
GET /api/appointments
Returns all non-deleted appointments for prospects in your company, ordered by appointmentTime ascending (earliest first).
Query parameters
string
ISO 8601 date string. Returns only appointments scheduled on or after this date. Example: 2024-06-01
string
ISO 8601 date string. Returns only appointments scheduled on or before this date. Example: 2024-06-30
Response
Returns an array of appointment objects directly (not paginated).
To create or delete an appointment on a specific prospect, use POST /api/prospects/:id/appointments or DELETE /api/prospects/:id/appointments/:appointmentId. The /api/appointments endpoint is read-only and is best used for calendar aggregation.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LeadScout","description":"Documentation and guides for LeadScout — the modern door-to-door canvassing platform for field sales teams.","colors":{"primary":"#7c7c7c","light":"#080808","dark":"#c1c1c1"},"logo":{"light":"https://media.brand.dev/f81a25db-0f7d-4772-924d-272c1eadfbb2.svg","dark":"https://media.brand.dev/c8fbe76b-ded9-43ef-9fa5-5cddf153b7cd.png"},"favicon":"https://media.brand.dev/4df870fc-c790-482f-9c7a-c7adeafd16f0.png","navbar":{"links":[{"href":"/faq","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"https://leadscoutapp.com/sign-in?screen_hint=signup\u0026returnTo=/onboarding"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","latex":true},"contextual":{"options":["copy","view","assistant","mcp","add-mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leadscout","hasAudioNarration":false,"actualSubdomain":"leadscout","customDomains":["docs.leadscoutapp.com"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-leadscout-3c513141","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10e95b9ffae5051c414a2d"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae957cbe1186677be450baa:success","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"Documentation","count":17},{"language":"default","tag":"API Reference","count":9},{"language":"default","tag":"Endpoints","count":7},{"language":"default","tag":"Core Features","count":5},{"language":"default","tag":"Team \u0026 Settings","count":4},{"language":"default","tag":"Integrations","count":3},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"Overview","count":2},{"language":"default","tag":"Help","count":2}]},"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"toc-item>a{position:relative;padding-left:1rem!important}toc-item[data-active-deepest]>a::before{content:\"\";position:absolute;left:0;top:50%;width:0.75rem;height:0.75rem;transform:translateY(-50%);background-color:currentColor;-webkit-mask:url(\"data:image/svg+xml;utf8,\u003csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'>\u003cpolyline points='9 18 15 12 9 6'/>\u003c/svg>\") no-repeat center / contain;mask:url(\"data:image/svg+xml;utf8,\u003csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'>\u003cpolyline points='9 18 15 12 9 6'/>\u003c/svg>\") no-repeat center / contain;pointer-events:none}#navbar a[href=\"/\"] img,#navbar a[href=\"/\"] svg,#sidebar a[href=\"/\"] img,#sidebar a[href=\"/\"] svg{max-width:14rem;height:auto}#search-bar-entry,#assistant-entry,li.navbar-link>:is(a,button){background-color:rgb(249 250 251)!important;box-shadow:inset 0 0 0 1px rgb(243 244 246)!important;border:none!important;border-radius:9999px!important;height:2.25rem!important;padding:0 1rem!important;\u0026:hover{background-color:rgb(243 244 246)!important;box-shadow:inset 0 0 0 1px rgb(229 231 235)!important}.dark \u0026 {\n background-color: rgba(255, 255, 255, 0.04) !important;\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;\n\n \u0026:hover {\n background-color: rgba(255, 255, 255, 0.08) !important;\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15) !important;\n }\n }}[data-component-part=\"products-selector-trigger\"]{background-color:rgb(var(--background-light))!important;box-shadow:inset 0 0 0 1px rgb(229 231 235)!important;border:none!important;border-radius:0.75rem!important;height:2.25rem!important;padding:0 0.75rem!important;transition:background-color 0.15s ease-out, box-shadow 0.15s ease-out!important;\u0026:hover{box-shadow:inset 0 0 0 1px rgb(209 213 219)!important}.dark \u0026 {\n background-color: rgb(var(--background-dark)) !important;\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10) !important;\n\n \u0026:hover {\n box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18) !important;\n }\n }}.nav-dropdown-products-selector-item-icon{background-color:rgb(var(--primary))!important;color:#ffffff!important;border-radius:0.375rem!important;aspect-ratio:1;svg {\n background-color: #ffffff !important;\n }}[data-component-part=\"products-selector-trigger\"]{position:relative;--icon-left-offset: 0.05rem;\u0026::before{content:\"\";position:absolute;top:50%;left:calc(0.5rem - var(--icon-left-offset));transform:translateY(-50%);width:1.5rem;height:1.5rem;border-radius:0.5rem;background:rgb(var(--primary));pointer-events:none}svg:not(:last-child) {\n position: relative;\n z-index: 1;\n filter: brightness(0) invert(1);\n margin-right: 0.25rem;\n margin-left: calc(-1 * var(--icon-left-offset));\n }}#search-bar-entry,#assistant-entry{transition:opacity 0.15s ease-out;body:has(#custom-homepage-assistant-entry) \u0026 {\n opacity: 0;\n pointer-events: none;\n }}#topbar-cta-button{background:transparent!important;box-shadow:none!important;padding:0!important;height:auto!important;\u0026,*,>*{border-radius:9999px!important}> :is(a, button, div, span) {\n background-color: rgb(var(--primary)) !important;\n color: #ffffff !important;\n height: 2.25rem !important;\n padding: 0 1rem !important;\n display: inline-flex !important;\n align-items: center !important;\n gap: 0.375rem !important;\n box-shadow: none !important;\n border: none !important;\n overflow: hidden !important;\n transition: background-color 0.15s ease-out !important;\n\n \u0026:hover {\n background-color: rgb(var(--primary-dark)) !important;\n }\n }\n\n *,\n > * * {\n color: #ffffff !important;\n background-color: transparent !important;\n }}ul:is(:has(>#topbar-cta-button),:has(>li.navbar-link)){gap:0.25rem!important;> li + li {\n margin-left: 0.125rem !important;\n }}.columns.suggested-articles{gap:1.5rem 2rem;.card {\n border: none;\n border-radius: 0;\n margin: 0;\n\n [data-component-part=\"card-content-container\"] {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n padding: 0;\n\n [data-component-part=\"card-icon\"] {\n display: grid;\n place-items: center;\n width: 100%;\n height: auto;\n aspect-ratio: 2;\n border-radius: 1rem;\n transition: background-color 0.15s ease-out;\n background-color: rgb(var(--primary));\n color: #ffffff !important;\n\n svg {\n scale: 1.5;\n background-color: #ffffff;\n }\n\n .group:hover \u0026 {\n filter: brightness(0.95);\n }\n\n .dark \u0026 {\n .group:hover \u0026 {\n filter: brightness(1.1);\n }\n }\n }\n\n [data-component-part=\"card-icon\"] + div {\n display: contents;\n }\n\n :is(\n [data-component-part=\"card-title\"],\n [data-component-part=\"card-content\"],\n [data-component-part=\"card-cta\"]\n ) {\n margin: 0;\n }\n\n [data-component-part=\"card-content\"] {\n text-wrap: pretty;\n }\n\n [data-component-part=\"card-cta\"] button {\n font-size: inherit;\n }\n }\n }}"}]}
{"page":{"pagePath":"api/appointments","slug":"/api/appointments","pageMetadata":{"title":"REST API endpoint for listing prospect appointments","description":"Retrieve scheduled appointments across all prospects in your company. Filter by date range to build calendar views or sync with external scheduling tools.","href":"/api/appointments"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve scheduled appointments across all prospects in your company. Filter by date range to build calendar views or sync with external scheduling tools.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,Note,ParamField,ResponseField,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The appointments endpoint returns scheduled appointments across every prospect in your company. You can filter by date range to build a daily or weekly calendar view, sync upcoming appointments to an external calendar system, or report on appointment volume over time. Each appointment record includes a reference to the parent prospect and the user who created it.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Calendar access must be enabled on your plan. Requests from accounts without calendar access return `,_jsx(_components.code,{children:`403`}),` with the message `,_jsx(_components.code,{children:`\"Calendar access not available on your plan\"`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`list-appointments`,children:`List appointments`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET /api/appointments`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Returns all non-deleted appointments for prospects in your company, ordered by `,_jsx(_components.code,{children:`appointmentTime`}),` ascending (earliest first).`]}),`\n`,_jsx(Heading,{level:`3`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`dateFrom`,type:`string`,id:`param-date-from`,children:_jsxs(_components.p,{children:[`ISO 8601 date string. Returns only appointments scheduled on or after this date. Example: `,_jsx(_components.code,{children:`2024-06-01`})]})}),`\n`,_jsx(ParamField,{query:`dateTo`,type:`string`,id:`param-date-to`,children:_jsxs(_components.p,{children:[`ISO 8601 date string. Returns only appointments scheduled on or before this date. Example: `,_jsx(_components.code,{children:`2024-06-30`})]})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns an array of appointment objects directly (not paginated).`}),`\n`,_jsx(ResponseField,{name:`id`,type:`number`,id:`param-id`,children:`Appointment ID.`}),`\n`,_jsx(ResponseField,{name:`appointmentTime`,type:`string | null`,id:`param-appointment-time`,children:`ISO 8601 scheduled time for the appointment.`}),`\n`,_jsx(ResponseField,{name:`durationMinutes`,type:`number | null`,id:`param-duration-minutes`,children:`Duration of the appointment in minutes.`}),`\n`,_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:`ISO 8601 creation timestamp.`}),`\n`,_jsxs(ResponseField,{name:`prospect`,type:`object`,id:`param-prospect`,children:[_jsx(_components.p,{children:`Summary of the associated prospect.`}),_jsxs(Expandable,{title:`prospect`,children:[_jsx(ResponseField,{name:`id`,type:`number`,id:`param-id-1`,children:`Prospect ID.`}),_jsx(ResponseField,{name:`name`,type:`string | null`,id:`param-name`,children:`Prospect’s full name.`}),_jsx(ResponseField,{name:`address`,type:`object | null`,id:`param-address`,children:_jsxs(Expandable,{title:`address`,children:[_jsx(ResponseField,{name:`address1`,type:`string`,id:`param-address1`,children:`Street line 1.`}),_jsx(ResponseField,{name:`city`,type:`string`,id:`param-city`,children:`City.`}),_jsx(ResponseField,{name:`state`,type:`string`,id:`param-state`,children:`State.`}),_jsx(ResponseField,{name:`zip`,type:`string`,id:`param-zip`,children:`ZIP code.`})]})})]})]}),`\n`,_jsxs(ResponseField,{name:`createdBy`,type:`object`,id:`param-created-by`,children:[_jsx(_components.p,{children:`The user who created this appointment.`}),_jsxs(Expandable,{title:`createdBy`,children:[_jsx(ResponseField,{name:`id`,type:`number`,id:`param-id-2`,children:`User ID.`}),_jsx(ResponseField,{name:`firstName`,type:`string`,id:`param-first-name`,children:`First name.`}),_jsx(ResponseField,{name:`lastName`,type:`string`,id:`param-last-name`,children:`Last name.`})]})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://app.leadscoutapp.com/api/appointments?dateFrom=2024-06-01\u0026dateTo=2024-06-30'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_ACCESS_TOKEN'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`5`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://app.leadscoutapp.com/api/appointments?dateFrom=2024-06-01\u0026dateTo=2024-06-30'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bearer \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`accessToken`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` appointments`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To create or delete an appointment on a specific prospect, use `,_jsx(_components.code,{children:`POST /api/prospects/:id/appointments`}),` or `,_jsx(_components.code,{children:`DELETE /api/prospects/:id/appointments/:appointmentId`}),`. The `,_jsx(_components.code,{children:`/api/appointments`}),` endpoint is read-only and is best used for calendar aggregation.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"REST API endpoint for listing prospect appointments","description":"Retrieve scheduled appointments across all prospects in your company. Filter by date range to build calendar views or sync with external scheduling tools.","href":"/api/appointments"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"List appointments","slug":"list-appointments","depth":2,"children":[{"title":"Query parameters","slug":"query-parameters","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/leadscout/eaffec8e65cd9c3a/search.js"],"subdomain":"leadscout","siteName":"LeadScout","title":"REST API endpoint for listing prospect appointments - LeadScout","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-15T18:58:09.814Z","originalFileLocation":"api/appointments.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=\"system\"}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=\"Retrieve scheduled appointments across all prospects in your company. Filter by date range to build calendar views or sync with external scheduling tools.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LeadScout\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://media.brand.dev/4df870fc-c790-482f-9c7a-c7adeafd16f0.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://media.brand.dev/4df870fc-c790-482f-9c7a-c7adeafd16f0.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://media.brand.dev/4df870fc-c790-482f-9c7a-c7adeafd16f0.png\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://media.brand.dev/4df870fc-c790-482f-9c7a-c7adeafd16f0.png\">\u003cmeta data-mint-head property=\"og:title\" content=\"REST API endpoint for listing prospect appointments - LeadScout\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve scheduled appointments across all prospects in your company. Filter by date range to build calendar views or sync with external scheduling tools.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LeadScout\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.leadscoutapp.com/api/appointments\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leadscout.mintlify.site/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=REST+API+endpoint+for+listing+prospect+appointments\u0026amp;description=Retrieve+scheduled+appointments+across+all+prospects+in+your+company.+Filter+by+date+range+to+build+calendar+views+or+sync+with+external+scheduling+tools.\u0026amp;theme=4b55bd8c942e32ebf19a4fd7\u0026amp;signature=9ea442cec4b71ce332cb721bc36ce1b6332ea2044f18aa9b87134710fe5e9607\">\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=\"REST API endpoint for listing prospect appointments - LeadScout\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve scheduled appointments across all prospects in your company. Filter by date range to build calendar views or sync with external scheduling tools.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leadscout.mintlify.site/_mintlify/api/og/v2?division=Endpoints\u0026amp;title=REST+API+endpoint+for+listing+prospect+appointments\u0026amp;description=Retrieve+scheduled+appointments+across+all+prospects+in+your+company.+Filter+by+date+range+to+build+calendar+views+or+sync+with+external+scheduling+tools.\u0026amp;theme=4b55bd8c942e32ebf19a4fd7\u0026amp;signature=9ea442cec4b71ce332cb721bc36ce1b6332ea2044f18aa9b87134710fe5e9607\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/leadscout/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LeadScout\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7c7c7c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.leadscoutapp.com/api/appointments\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/appointments.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.leadscoutapp.com/#organization\",\"name\":\"LeadScout\",\"url\":\"https://docs.leadscoutapp.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://media.brand.dev/f81a25db-0f7d-4772-924d-272c1eadfbb2.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.leadscoutapp.com#website\",\"name\":\"LeadScout\",\"url\":\"https://docs.leadscoutapp.com\",\"publisher\":{\"@id\":\"https://docs.leadscoutapp.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.leadscoutapp.com/api/appointments#webpage\",\"url\":\"https://docs.leadscoutapp.com/api/appointments\",\"name\":\"REST API endpoint for listing prospect appointments\",\"description\":\"Retrieve scheduled appointments across all prospects in your company. Filter by date range to build calendar views or sync with external scheduling tools.\",\"dateModified\":\"2026-05-15T18:58:09.814Z\",\"isPartOf\":{\"@id\":\"https://docs.leadscoutapp.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.leadscoutapp.com/api/appointments#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.leadscoutapp.com/api/appointments#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.leadscoutapp.com/api/prospects\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"REST API endpoint for listing prospect appointments\",\"item\":\"https://docs.leadscoutapp.com/api/appointments\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.leadscoutapp.com/api/appointments#article\",\"headline\":\"REST API endpoint for listing prospect appointments\",\"name\":\"REST API endpoint for listing prospect appointments\",\"description\":\"Retrieve scheduled appointments across all prospects in your company. Filter by date range to build calendar views or sync with external scheduling tools.\",\"url\":\"https://docs.leadscoutapp.com/api/appointments\",\"mainEntityOfPage\":{\"@id\":\"https://docs.leadscoutapp.com/api/appointments#webpage\"},\"dateModified\":\"2026-05-15T18:58:09.814Z\",\"publisher\":{\"@id\":\"https://docs.leadscoutapp.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.leadscoutapp.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LeadScout\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LeadScout\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/appointments.md","siteName":"LeadScout","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"LeadScout REST API — overview and getting started","href":"/api/overview"},{"title":"How to authenticate your LeadScout REST API requests","href":"/api/authentication"}]},{"group":"Endpoints","pages":[{"title":"REST API endpoints for creating and managing prospects","href":"/api/prospects"},{"title":"REST API endpoints for creating and managing territories","description":"Create, list, update, and delete polygon-based territories. Assign territories to sales reps and track total property counts within each boundary.","href":"/api/territories"},{"title":"REST API endpoint for listing prospect appointments","href":"/api/appointments"},{"title":"REST API endpoint for knock history and lead statuses","description":"Retrieve the full knock history — every status-change event recorded by your team — alongside your company's configured lead status list.","href":"/api/knocks"},{"title":"REST API endpoints for creating and managing prospect tags","href":"/api/tags"},{"title":"REST API endpoints for registering outbound webhooks","href":"/api/webhooks"},{"title":"REST API endpoints for managing users and team members","href":"/api/users"}]}]}]},"basePath":"","title":"REST API endpoint for listing prospect appointments - LeadScout","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}