{ "success": false, "message": "`limit` must be between 1 and 500."}
Credit cost: Free. This call only reads your credit history.
This endpoint requires your API key: pass it as the api_key query parameter, or in an X-API-Key or Authorization: Bearer header (see Authentication).
Use it to reconcile what a fetch charged and what came back. A fetch charges up front, and each contact whose email is not found is refunded after the background email lookup, so one fetch can show a debit entry and later refund entries. Each refund is listed once, even when it was retried. For totals over the same window by feature and day, the MCP toolsp_get_credit_usage reads the same data. For your current balance, use Credit Balance.
Query Parameters
string
Window start, ISO-8601 date-time (for example 2026-11-01T00:00:00Z). Default: the start of last calendar month (UTC).
string
Window end, ISO-8601 date-time, later than from. Default: now.
number
default:"100"
Entries per page, 1–500.
number
For the next page: the next_before_id of the previous page. An ID that is not one of your entries returns an empty page.
debit (credits spent) or refund (credits given back)
string
email_find, email_verify or phone_find
number
Credits spent (0 on a refund)
number
Credits given back (0 on a debit)
number | null
The search the movement belongs to, when it was recorded
number | null
Pass it as before_id for the next page. null on the last page. A page can hold fewer entries than limit, even none (a retried refund is listed once), so keep paging while next_before_id is not null
Response Codes
Success
Ledger returned
Bad Request
from not earlier than to, a malformed date, limit outside 1–500, or before_id not a positive integer
Unauthorized
Missing or invalid API key
Forbidden
Called with a client (agency sub-account) API key (use the main account key), or your plan does not include API access.
{ "success": false, "message": "`limit` must be between 1 and 500."}
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"SmartLead API","colors":{"primary":"#000566","light":"#757AE9","dark":"#000566"},"favicon":"https://mintcdn.com/smartlead/COEjuXjCS9X-N73L/smartleadHighResLogoSL.png?fit=max\u0026auto=format\u0026n=COEjuXjCS9X-N73L\u0026q=85\u0026s=b10b8accf21ec19997322be83b71af46","logo":{"light":"https://mintcdn.com/smartlead/COEjuXjCS9X-N73L/smartleadHighResLogoSL.png?fit=max\u0026auto=format\u0026n=COEjuXjCS9X-N73L\u0026q=85\u0026s=b10b8accf21ec19997322be83b71af46","dark":"https://mintcdn.com/smartlead/COEjuXjCS9X-N73L/smartleadHighResLogoSL.png?fit=max\u0026auto=format\u0026n=COEjuXjCS9X-N73L\u0026q=85\u0026s=b10b8accf21ec19997322be83b71af46"},"navbar":{"links":[{"label":"Support","href":"mailto:support@smartlead.ai"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.smartlead.ai"}},"seo":{"metatags":{"og:site_name":"SmartLead API Documentation","og:description":"Automate cold email outreach with the SmartLead API — manage campaigns, leads, email accounts, sequences, and analytics programmatically","og:image":"https://api.smartlead.ai/smartleadHighResLogoSL.png","twitter:site":"@smartlead_ai"},"indexing":"navigable"},"footer":{"socials":{"twitter":"https://twitter.com/smartlead_ai","linkedin":"https://www.linkedin.com/company/smartlead-ai"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","href":"https://discord.gg/smartlead","icon":"discord"},{"anchor":"Blog","href":"https://smartlead.ai/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"smartlead","hasAudioNarration":false,"actualSubdomain":"smartlead","customDomains":["api.smartlead.ai"],"gitSource":{"type":"github","owner":"smartlead-public","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10c5e69ffae5051c406e77"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b114315a91fc5a6ddb3a62d","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"API Reference","count":277},{"language":"default","tag":"Smart Prospect","count":35},{"language":"default","tag":"Campaign Management","count":31},{"language":"default","tag":"Smart Delivery v2 (Deliverability Test)","count":31},{"language":"default","tag":"Master Inbox","count":29},{"language":"default","tag":"Global Analytics","count":23},{"language":"default","tag":"Documentation","count":21},{"language":"default","tag":"Email Account Management","count":19},{"language":"default","tag":"Campaign Leads","count":16},{"language":"default","tag":"Lead Management","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":false},"customCss":[]}
{"page":{"pagePath":"api-reference/smart-prospect/credit-ledger","slug":"/api-reference/smart-prospect/credit-ledger","pageMetadata":{"title":"Credit Ledger API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/ledger","description":"Every Smart Prospect credit you spent or got back, one entry per movement, newest first - GET /billing/ledger","credits":"Free. This call spends no Smart Prospect credits.","href":"/api-reference/smart-prospect/credit-ledger"},"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: \"Every Smart Prospect credit you spent or got back, one entry per movement, newest first - GET /billing/ledger\"\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={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Heading,Info,Note,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Credit cost:`}),` Free. This call only reads your credit history.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint requires your API key: pass it as the `,_jsx(_components.code,{children:`api_key`}),` query parameter, or in an `,_jsx(_components.code,{children:`X-API-Key`}),` or `,_jsx(_components.code,{children:`Authorization: Bearer`}),` header (see `,_jsx(_components.a,{href:`/authentication`,children:`Authentication`}),`).`]})}),`\n`,_jsxs(_components.p,{children:[`Use it to reconcile what a fetch charged and what came back. A fetch charges up front, and each contact whose email is not found is refunded after the background email lookup, so one fetch can show a `,_jsx(_components.code,{children:`debit`}),` entry and later `,_jsx(_components.code,{children:`refund`}),` entries. Each refund is listed once, even when it was retried. For totals over the same window by feature and day, the `,_jsx(_components.a,{href:`/mcp/tools`,children:`MCP tool`}),` `,_jsx(_components.code,{children:`sp_get_credit_usage`}),` reads the same data. For your current balance, use `,_jsx(_components.a,{href:`/api-reference/smart-prospect/credit-balance`,children:`Credit Balance`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`from`,type:`string`,id:`param-from`,children:_jsxs(_components.p,{children:[`Window start, ISO-8601 date-time (for example `,_jsx(_components.code,{children:`2026-11-01T00:00:00Z`}),`). Default: the start of last calendar month (UTC).`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[`Window end, ISO-8601 date-time, later than `,_jsx(_components.code,{children:`from`}),`. Default: now.`]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`number`,default:`100`,id:`param-limit`,children:_jsx(_components.p,{children:`Entries per page, 1–500.`})}),`\n`,_jsx(ParamField,{query:`before_id`,type:`number`,id:`param-before-id`,children:_jsxs(_components.p,{children:[`For the next page: the `,_jsx(_components.code,{children:`next_before_id`}),` of the previous page. An ID that is not one of your entries returns an empty page.`]})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`from`,type:`string`,id:`param-from-1`,children:`Window start used`}),`\n`,_jsx(ResponseField,{name:`to`,type:`string`,id:`param-to-1`,children:`Window end used`}),`\n`,_jsxs(ResponseField,{name:`entries`,type:`object[]`,id:`param-entries`,children:[_jsx(_components.p,{children:`One entry per credit movement, newest first.`}),_jsxs(Expandable,{title:`entry`,children:[_jsx(ResponseField,{name:`id`,type:`number`,id:`param-id`,children:`Entry ID`}),_jsx(ResponseField,{name:`ts`,type:`string`,id:`param-ts`,children:`When it happened (ISO-8601)`}),_jsxs(ResponseField,{name:`action`,type:`string`,id:`param-action`,children:[_jsx(_components.code,{children:`debit`}),` (credits spent) or `,_jsx(_components.code,{children:`refund`}),` (credits given back)`]}),_jsxs(ResponseField,{name:`feature`,type:`string`,id:`param-feature`,children:[_jsx(_components.code,{children:`email_find`}),`, `,_jsx(_components.code,{children:`email_verify`}),` or `,_jsx(_components.code,{children:`phone_find`})]}),_jsxs(ResponseField,{name:`debit`,type:`number`,id:`param-debit`,children:[`Credits spent (`,_jsx(_components.code,{children:`0`}),` on a refund)`]}),_jsxs(ResponseField,{name:`refund`,type:`number`,id:`param-refund`,children:[`Credits given back (`,_jsx(_components.code,{children:`0`}),` on a debit)`]}),_jsx(ResponseField,{name:`filter_id`,type:`number | null`,id:`param-filter-id`,children:`The search the movement belongs to, when it was recorded`})]})]}),`\n`,_jsxs(ResponseField,{name:`next_before_id`,type:`number | null`,id:`param-next-before-id`,children:[`Pass it as `,_jsx(_components.code,{children:`before_id`}),` for the next page. `,_jsx(_components.code,{children:`null`}),` on the last page. A page can hold fewer entries than `,_jsx(_components.code,{children:`limit`}),`, even none (a retried refund is listed once), so keep paging while `,_jsx(_components.code,{children:`next_before_id`}),` is not `,_jsx(_components.code,{children:`null`})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-codes`,children:`Response Codes`}),`\n`,_jsx(ResponseField,{name:`200`,type:`Success`,id:`param-200`,children:`Ledger returned`}),`\n`,_jsxs(ResponseField,{name:`400`,type:`Bad Request`,id:`param-400`,children:[_jsx(_components.code,{children:`from`}),` not earlier than `,_jsx(_components.code,{children:`to`}),`, a malformed date, `,_jsx(_components.code,{children:`limit`}),` outside 1–500, or `,_jsx(_components.code,{children:`before_id`}),` not a positive integer`]}),`\n`,_jsx(ResponseField,{name:`401`,type:`Unauthorized`,id:`param-401`,children:`Missing or invalid API key`}),`\n`,_jsx(ResponseField,{name:`403`,type:`Forbidden`,id:`param-403`,children:`Called with a client (agency sub-account) API key (use the main account key), or your plan does not include API access.`})]})}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":"Credit Ledger API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/ledger","description":"Every Smart Prospect credit you spent or got back, one entry per movement, newest first - GET /billing/ledger","credits":"Free. This call spends no Smart Prospect credits.","href":"/api-reference/smart-prospect/credit-ledger"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Credit cost:`}),` Free. This call only reads your credit history.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint requires your API key: pass it as the `,_jsx(_components.code,{children:`api_key`}),` query parameter, or in an `,_jsx(_components.code,{children:`X-API-Key`}),` or `,_jsx(_components.code,{children:`Authorization: Bearer`}),` header (see `,_jsx(_components.a,{href:`/authentication`,children:`Authentication`}),`).`]})}),`\n`,_jsxs(_components.p,{children:[`Use it to reconcile what a fetch charged and what came back. A fetch charges up front, and each contact whose email is not found is refunded after the background email lookup, so one fetch can show a `,_jsx(_components.code,{children:`debit`}),` entry and later `,_jsx(_components.code,{children:`refund`}),` entries. Each refund is listed once, even when it was retried. For totals over the same window by feature and day, the `,_jsx(_components.a,{href:`/mcp/tools`,children:`MCP tool`}),` `,_jsx(_components.code,{children:`sp_get_credit_usage`}),` reads the same data. For your current balance, use `,_jsx(_components.a,{href:`/api-reference/smart-prospect/credit-balance`,children:`Credit Balance`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`from`,type:`string`,id:`param-from`,children:_jsxs(_components.p,{children:[`Window start, ISO-8601 date-time (for example `,_jsx(_components.code,{children:`2026-11-01T00:00:00Z`}),`). Default: the start of last calendar month (UTC).`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string`,id:`param-to`,children:_jsxs(_components.p,{children:[`Window end, ISO-8601 date-time, later than `,_jsx(_components.code,{children:`from`}),`. Default: now.`]})}),`\n`,_jsx(ParamField,{query:`limit`,type:`number`,default:`100`,id:`param-limit`,children:_jsx(_components.p,{children:`Entries per page, 1–500.`})}),`\n`,_jsx(ParamField,{query:`before_id`,type:`number`,id:`param-before-id`,children:_jsxs(_components.p,{children:[`For the next page: the `,_jsx(_components.code,{children:`next_before_id`}),` of the previous page. An ID that is not one of your entries returns an empty page.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/ledger?from=2026-11-01T00:00:00Z\u0026limit=100\"`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: YOUR_API_KEY\"`})]}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(ResponseField,{name:`from`,type:`string`,id:`param-from-1`,children:`Window start used`}),`\n`,_jsx(ResponseField,{name:`to`,type:`string`,id:`param-to-1`,children:`Window end used`}),`\n`,_jsxs(ResponseField,{name:`entries`,type:`object[]`,id:`param-entries`,children:[_jsx(_components.p,{children:`One entry per credit movement, newest first.`}),_jsxs(Expandable,{title:`entry`,children:[_jsx(ResponseField,{name:`id`,type:`number`,id:`param-id`,children:`Entry ID`}),_jsx(ResponseField,{name:`ts`,type:`string`,id:`param-ts`,children:`When it happened (ISO-8601)`}),_jsxs(ResponseField,{name:`action`,type:`string`,id:`param-action`,children:[_jsx(_components.code,{children:`debit`}),` (credits spent) or `,_jsx(_components.code,{children:`refund`}),` (credits given back)`]}),_jsxs(ResponseField,{name:`feature`,type:`string`,id:`param-feature`,children:[_jsx(_components.code,{children:`email_find`}),`, `,_jsx(_components.code,{children:`email_verify`}),` or `,_jsx(_components.code,{children:`phone_find`})]}),_jsxs(ResponseField,{name:`debit`,type:`number`,id:`param-debit`,children:[`Credits spent (`,_jsx(_components.code,{children:`0`}),` on a refund)`]}),_jsxs(ResponseField,{name:`refund`,type:`number`,id:`param-refund`,children:[`Credits given back (`,_jsx(_components.code,{children:`0`}),` on a debit)`]}),_jsx(ResponseField,{name:`filter_id`,type:`number | null`,id:`param-filter-id`,children:`The search the movement belongs to, when it was recorded`})]})]}),`\n`,_jsxs(ResponseField,{name:`next_before_id`,type:`number | null`,id:`param-next-before-id`,children:[`Pass it as `,_jsx(_components.code,{children:`before_id`}),` for the next page. `,_jsx(_components.code,{children:`null`}),` on the last page. A page can hold fewer entries than `,_jsx(_components.code,{children:`limit`}),`, even none (a retried refund is listed once), so keep paging while `,_jsx(_components.code,{children:`next_before_id`}),` is not `,_jsx(_components.code,{children:`null`})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-codes`,children:`Response Codes`}),`\n`,_jsx(ResponseField,{name:`200`,type:`Success`,id:`param-200`,children:`Ledger returned`}),`\n`,_jsxs(ResponseField,{name:`400`,type:`Bad Request`,id:`param-400`,children:[_jsx(_components.code,{children:`from`}),` not earlier than `,_jsx(_components.code,{children:`to`}),`, a malformed date, `,_jsx(_components.code,{children:`limit`}),` outside 1–500, or `,_jsx(_components.code,{children:`before_id`}),` not a positive integer`]}),`\n`,_jsx(ResponseField,{name:`401`,type:`Unauthorized`,id:`param-401`,children:`Missing or invalid API key`}),`\n`,_jsx(ResponseField,{name:`403`,type:`Forbidden`,id:`param-403`,children:`Called with a client (agency sub-account) API key (use the main account key), or your plan does not include API access.`}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200 - Ledger page`,numberOfLines:`13`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Credit ledger retrieved.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-01T00:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-12-02T10:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"entries\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9812`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"ts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-20T11:04:10.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"refund\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"feature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email_find\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"debit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"refund\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"filter_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`9790`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"ts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-20T10:58:02.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"debit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"feature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"email_find\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"debit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"refund\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"filter_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12345`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"next_before_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,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`]})})}),_jsx(CodeBlock,{filename:`400 - Bad limit`,numberOfLines:`4`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:'\"`limit` must be between 1 and 500.\"'})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}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":"Credit Ledger API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/ledger","description":"Every Smart Prospect credit you spent or got back, one entry per movement, newest first - GET /billing/ledger","credits":"Free. This call spends no Smart Prospect credits.","href":"/api-reference/smart-prospect/credit-ledger"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":2,"children":[]},{"title":"Response Codes","slug":"response-codes","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/ledger?from=2026-11-01T00:00:00Z\u0026#x26;limit=100\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"X-API-Key: YOUR_API_KEY\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200 - Ledger page","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Credit ledger retrieved.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"from\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-11-01T00:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"to\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-12-02T10:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"entries\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">9812\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"ts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-11-20T11:04:10.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"refund\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"feature\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"email_find\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"debit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"refund\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"filter_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">9790\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"ts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-11-20T10:58:02.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"debit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"feature\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"email_find\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"debit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">400\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"refund\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"filter_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">12345\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"next_before_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400 - Bad limit","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"`limit` must be between 1 and 500.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Credit Ledger API","path":"/api/v1/search-email-leads/billing/ledger","servers":[{"url":"https://prospect-api.smartlead.ai"}],"method":"get","request":{"security":[],"parameters":{"query":{"from":{"schema":[{"type":"string","description":"Window start, ISO-8601 date-time (for example `2026-11-01T00:00:00Z` ). Default: the start of last calendar month (UTC)."}]},"to":{"schema":[{"type":"string","description":"Window end, ISO-8601 date-time, later than `from` . Default: now."}]},"limit":{"schema":[{"type":"number","description":"Entries per page, 1–500."}]},"before_id":{"schema":[{"type":"number","description":"For the next page: the `next_before_id` of the previous page. An ID that is not one of your entries returns an empty page."}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"200":[{"type":"object","properties":{},"description":"Ledger returned"}],"400":[{"type":"object","properties":{},"description":"`from` not earlier than `to` , a malformed date, `limit` outside 1–500, or `before_id` not a positive integer"}],"401":[{"type":"object","properties":{},"description":"Missing or invalid API key"}],"403":[{"type":"object","properties":{},"description":"Called with a client (agency sub-account) API key (use the main account key), or your plan does not include API access."}],"from":[{"type":"string","description":"Window start used"}],"to":[{"type":"string","description":"Window end used"}],"entries":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"number","description":"Entry ID"}],"ts":[{"type":"string","description":"When it happened (ISO-8601)"}],"action":[{"type":"string","description":"`debit` (credits spent) or `refund` (credits given back)"}],"feature":[{"type":"string","description":"`email_find` , `email_verify` or `phone_find`"}],"debit":[{"type":"number","description":"Credits spent ( `0` on a refund)"}],"refund":[{"type":"number","description":"Credits given back ( `0` on a debit)"}],"filter_id":[{"type":"object","properties":{},"description":"The search the movement belongs to, when it was recorded"}]}}],"description":"One entry per credit movement, newest first."}],"next_before_id":[{"type":"object","properties":{},"description":"Pass it as `before_id` for the next page. `null` on the last page. A page can hold fewer entries than `limit` , even none (a retried refund is listed once), so keep paging while `next_before_id` is not `null`"}]}}],"examples":{"example":{"value":{"200":{},"400":{},"401":{},"403":{},"from":"\u003cstring>","to":"\u003cstring>","entries":[{"id":123,"ts":"\u003cstring>","action":"\u003cstring>","feature":"\u003cstring>","debit":123,"refund":123,"filter_id":{}}],"next_before_id":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"smartlead","siteName":"SmartLead API","title":"Credit Ledger API - SmartLead API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-03T10:23:49.567Z","originalFileLocation":"api-reference/smart-prospect/credit-ledger.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=\"Every Smart Prospect credit you spent or got back, one entry per movement, newest first - GET /billing/ledger\">\u003cmeta data-mint-head name=\"application-name\" content=\"SmartLead API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/smartlead/nfHT53KN2IkDRvL7/_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/smartlead/nfHT53KN2IkDRvL7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/smartlead/nfHT53KN2IkDRvL7/_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/smartlead/nfHT53KN2IkDRvL7/_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/smartlead/nfHT53KN2IkDRvL7/_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/smartlead/nfHT53KN2IkDRvL7/_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/smartlead/nfHT53KN2IkDRvL7/_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/smartlead/nfHT53KN2IkDRvL7/_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/smartlead/nfHT53KN2IkDRvL7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Credit Ledger API - SmartLead API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Automate cold email outreach with the SmartLead API — manage campaigns, leads, email accounts, sequences, and analytics programmatically\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SmartLead API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://api.smartlead.ai/smartleadHighResLogoSL.png\">\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=\"Credit Ledger API - SmartLead API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Automate cold email outreach with the SmartLead API — manage campaigns, leads, email accounts, sequences, and analytics programmatically\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://api.smartlead.ai/smartleadHighResLogoSL.png\">\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/smartlead/nfHT53KN2IkDRvL7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SmartLead API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000566\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/smart-prospect/credit-ledger.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.smartlead.ai/#organization\",\"name\":\"SmartLead API\",\"url\":\"https://api.smartlead.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/smartlead/COEjuXjCS9X-N73L/smartleadHighResLogoSL.png?fit=max\u0026auto=format\u0026n=COEjuXjCS9X-N73L\u0026q=85\u0026s=b10b8accf21ec19997322be83b71af46\"}},{\"@type\":\"WebSite\",\"@id\":\"https://api.smartlead.ai#website\",\"name\":\"SmartLead API\",\"url\":\"https://api.smartlead.ai\",\"publisher\":{\"@id\":\"https://api.smartlead.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger#webpage\",\"url\":\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger\",\"name\":\"Credit Ledger API\",\"description\":\"Every Smart Prospect credit you spent or got back, one entry per movement, newest first - GET /billing/ledger\",\"dateModified\":\"2026-12-03T10:23:49.567Z\",\"isPartOf\":{\"@id\":\"https://api.smartlead.ai#website\"},\"breadcrumb\":{\"@id\":\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Smart Prospect\",\"item\":\"https://api.smartlead.ai/api-reference/smart-prospect/search-contacts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Credit Ledger API\",\"item\":\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger#apireference\",\"headline\":\"Credit Ledger API\",\"name\":\"Credit Ledger API\",\"description\":\"Every Smart Prospect credit you spent or got back, one entry per movement, newest first - GET /billing/ledger\",\"url\":\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger\",\"mainEntityOfPage\":{\"@id\":\"https://api.smartlead.ai/api-reference/smart-prospect/credit-ledger#webpage\"},\"image\":\"https://api.smartlead.ai/smartleadHighResLogoSL.png\",\"dateModified\":\"2026-12-03T10:23:49.567Z\",\"publisher\":{\"@id\":\"https://api.smartlead.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://api.smartlead.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SmartLead API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SmartLead API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/smart-prospect/credit-ledger.md","siteName":"SmartLead API","nav":{"global":{"anchors":[{"anchor":"Community","href":"https://discord.gg/smartlead","icon":"discord"},{"anchor":"Blog","href":"https://smartlead.ai/blog","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Campaign Management","pages":[{"title":"Get All Campaigns","api":"GET https://server.smartlead.ai/api/v1/campaigns/","href":"/api-reference/campaigns/get-all"},{"title":"Get Campaign by ID","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}","href":"/api-reference/campaigns/get-by-id"},{"title":"Create Campaign","api":"POST https://server.smartlead.ai/api/v1/campaigns/create","href":"/api-reference/campaigns/create"},{"title":"Update Campaign Status","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/status","href":"/api-reference/campaigns/update-status"},{"title":"Bulk Pause or Stop Campaigns","api":"POST https://server.smartlead.ai/api/v1/campaigns/bulk-status","href":"/api-reference/campaigns/bulk-update-status"},{"title":"Get Campaign Diagnostics","api":"GET https://server.smartlead.ai/api/v1/mcp-diagnostics/campaign-diagnostics/{campaignId}","href":"/api-reference/campaigns/diagnostics"},{"title":"Update Campaign Settings","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/settings","href":"/api-reference/campaigns/update-settings"},{"title":"Update Campaign Schedule","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/schedule","href":"/api-reference/campaigns/update-schedule"},{"title":"Duplicate Campaign","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/duplicate","href":"/api-reference/campaigns/duplicate"},{"title":"Delete Campaign","api":"DELETE https://server.smartlead.ai/api/v1/campaigns/{campaign_id}","href":"/api-reference/campaigns/delete"},{"title":"Get Campaign Sequences","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/sequences","href":"/api-reference/campaigns/get-sequences"},{"title":"Check Blank Merge Variables","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/blank-variables","href":"/api-reference/campaigns/check-blank-variables"},{"title":"Update Campaign Sequences","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/sequences","href":"/api-reference/campaigns/update-sequences"},{"title":"Get Campaign Email Accounts","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/email-accounts","href":"/api-reference/campaigns/get-email-accounts"},{"title":"Add Email Accounts to Campaign","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/email-accounts","href":"/api-reference/campaigns/add-email-accounts"},{"title":"Add Email Accounts to Campaign by Tag","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/email-accounts/by-tag","href":"/api-reference/campaigns/add-email-accounts-by-tag"},{"title":"Remove Email Accounts from Campaign","api":"DELETE https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/email-accounts","href":"/api-reference/campaigns/remove-email-accounts"},{"title":"Reallocate Mailboxes","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/reallocate-mailboxes","href":"/api-reference/campaigns/reallocate-mailboxes"},{"title":"Add Tags to Campaigns","api":"POST https://server.smartlead.ai/api/v1/campaigns/tags","href":"/api-reference/campaigns/add-tags"},{"title":"Remove Tags from Campaigns","api":"DELETE https://server.smartlead.ai/api/v1/campaigns/tags","href":"/api-reference/campaigns/remove-tags"},{"title":"Create Subsequence Campaign","api":"POST https://server.smartlead.ai/api/v1/campaigns/create-subsequence","href":"/api-reference/campaigns/create-subsequence"},{"title":"Forward Campaign Email","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/forward-email","href":"/api-reference/campaigns/forward-email"},{"title":"Reply to Campaign Lead","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/reply-email-thread","href":"/api-reference/campaigns/reply-email-thread"},{"title":"Send Test Email","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/send-test-email","href":"/api-reference/campaigns/send-test-email"},{"title":"Update Campaign Team Member","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/team-member","href":"/api-reference/campaigns/update-team-member"},{"title":"Move Campaigns to Folder","api":"POST https://server.smartlead.ai/api/v1/campaigns/update-folder","href":"/api-reference/campaigns/update-folder"},{"title":"Assign Client to Campaign","api":"POST https://server.smartlead.ai/api/v1/campaigns/assign-client","href":"/api-reference/campaigns/assign-client"},{"title":"Update Spintax Distribution Mode","api":"POST https://server.smartlead.ai/api/v1/campaigns/spintax-distribution-mode","href":"/api-reference/campaigns/update-spintax-distribution"},{"title":"Get Campaign AI Prompt Template","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/prompt-template","href":"/api-reference/campaigns/get-prompt-template"},{"title":"Create Campaign AI Prompt Template","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/prompt-template","href":"/api-reference/campaigns/create-prompt-template"},{"title":"Update Campaign AI Prompt Template","api":"PATCH https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/prompt-template/{template_id}","href":"/api-reference/campaigns/update-prompt-template"}]},{"group":"Campaign Leads","pages":[{"title":"Add Leads to Campaign","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads","href":"/api-reference/campaigns/add-leads"},{"title":"Get Campaign Leads","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads","href":"/api-reference/campaigns/get-leads"},{"title":"Get Lead by ID","api":"GET https://server.smartlead.ai/api/v1/leads/{lead_id}","href":"/api-reference/campaigns/get-lead-by-id"},{"title":"Get Lead Message History","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}/message-history","href":"/api-reference/campaigns/get-lead-history"},{"title":"Get Bulk Lead Message History","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/message-history-for-leads/bbfbdsFGHlBr76ruhjvh6fhHL","href":"/api-reference/campaigns/get-leads-history-bulk"},{"title":"Get All Leads Activities","api":"GET https://server.smartlead.ai/api/v1/campaigns/all-leads-activities","href":"/api-reference/campaigns/all-leads-activities"},{"title":"Update Campaign Lead Details","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}/","href":"/api-reference/campaigns/update-lead"},{"title":"Update Lead Category in Campaign","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}/category","href":"/api-reference/campaigns/update-lead-category"},{"title":"Update Lead Email Account","api":"POST https://server.smartlead.ai/api/v1/campaigns/update-lead-email-account","href":"/api-reference/campaigns/update-lead-email-account"},{"title":"Pause Campaign Lead","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}/pause","href":"/api-reference/campaigns/pause-lead"},{"title":"Resume Campaign Lead","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}/resume","href":"/api-reference/campaigns/resume-lead"},{"title":"Mark Lead as Complete","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_map_id}/manual-complete","href":"/api-reference/campaigns/mark-lead-complete"},{"title":"Unsubscribe Lead from Campaign","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}/unsubscribe","href":"/api-reference/campaigns/unsubscribe-lead"},{"title":"Delete Lead from Campaign","api":"DELETE https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}","href":"/api-reference/campaigns/delete-lead"},{"title":"Export Campaign Leads","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads-export","href":"/api-reference/campaigns/export-leads"},{"title":"Search Campaign Leads","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaignId}/leads/filter","href":"/api-reference/campaigns/search-leads"}]},{"group":"Campaign Webhooks","pages":[{"title":"Get Campaign Webhooks","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/webhooks","href":"/api-reference/campaigns/get-webhooks"},{"title":"Get Webhook Summary","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaignId}/webhooks/summary","href":"/api-reference/campaigns/get-webhook-summary"},{"title":"Create/Update Campaign Webhook","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/webhooks","href":"/api-reference/campaigns/save-webhooks"},{"title":"Delete Campaign Webhook","api":"DELETE https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/webhooks","href":"/api-reference/campaigns/delete-webhook"},{"title":"Retrigger Campaign Webhooks","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaignId}/webhooks/retrigger-failed-events","href":"/api-reference/campaigns/retrigger-webhooks"}]},{"group":"Campaign Statistics","pages":[{"title":"Get Campaign Statistics","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/statistics","href":"/api-reference/campaigns/statistics"},{"title":"Fetch Campaign Statistics by Campaign ID","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/statistics","href":"/api-reference/campaign-statistics/get-by-id"},{"title":"Fetch Campaign Sequence Analytics","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/sequence-analytics","href":"/api-reference/campaign-statistics/sequence-analytics"},{"title":"Fetch Campaign Statistics by Date Range","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/analytics-by-date","href":"/api-reference/campaign-statistics/get-by-date-range"},{"title":"Fetch Campaign Top Level Analytics","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/analytics","href":"/api-reference/campaign-statistics/top-level"},{"title":"Fetch Campaign Top Level Analytics by Date Range","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/top-level-analytics-by-date","href":"/api-reference/campaign-statistics/top-level-by-date"},{"title":"Fetch Campaign Lead Statistics","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads-statistics","href":"/api-reference/campaign-statistics/lead-statistics"},{"title":"Fetch Campaign Mailbox Statistics","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/mailbox-statistics","href":"/api-reference/campaign-statistics/mailbox-statistics"},{"title":"Get Campaign Analytics","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/analytics","href":"/api-reference/campaigns/get-analytics"},{"title":"Get Campaign Analytics by Date Range","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/analytics-by-date","href":"/api-reference/campaigns/get-analytics-by-date"},{"title":"Get Top Level Analytics by Date","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/top-level-analytics-by-date","href":"/api-reference/campaigns/get-top-level-analytics"}]},{"group":"Lead Management","pages":[{"title":"Get Lead by Email","api":"GET https://server.smartlead.ai/api/v1/leads/","href":"/api-reference/leads/get-by-email"},{"title":"Get Campaign Leads","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads","href":"/api-reference/leads/get-by-campaign"},{"title":"Add Leads to Campaign","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads","href":"/api-reference/leads/add-to-campaign"},{"title":"Update Lead","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}/","href":"/api-reference/leads/update"},{"title":"Delete Lead from Campaign","api":"DELETE https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}","href":"/api-reference/leads/delete"},{"title":"Delete Leads from Campaigns","api":"POST https://server.smartlead.ai/api/v1/leads/delete-from-campaigns","href":"/api-reference/leads/delete-from-campaigns"},{"title":"Delete Leads","api":"DELETE https://server.smartlead.ai/api/v1/leads/delete","href":"/api-reference/leads/bulk-delete"},{"title":"Pause Lead","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}/pause","href":"/api-reference/leads/pause"},{"title":"Resume Lead","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads/{lead_id}/resume","href":"/api-reference/leads/resume"},{"title":"Bulk Pause or Resume Leads","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads-bulk-action","href":"/api-reference/leads/bulk-pause-resume"},{"title":"Unsubscribe Lead Globally","api":"POST https://server.smartlead.ai/api/v1/leads/{lead_id}/unsubscribe","href":"/api-reference/leads/unsubscribe"},{"title":"Resubscribe Leads","api":"POST https://server.smartlead.ai/api/v1/leads/resubscribe","href":"/api-reference/leads/resubscribe"},{"title":"Get All Leads Activities","api":"GET https://server.smartlead.ai/api/v1/campaigns/all-leads-activities","href":"/api-reference/leads/activities"},{"title":"Export Campaign Leads","api":"GET https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/leads-export","href":"/api-reference/leads/export"},{"title":"Get Lead Campaign Overview","api":"GET https://server.smartlead.ai/api/v1/leads/{leadId}/campaign-overview","href":"/api-reference/leads/campaign-overview"},{"title":"Get Lead Sequence Details","api":"GET https://server.smartlead.ai/api/v1/leads/{leadMapId}/sequence-details","href":"/api-reference/leads/sequence-details"}]},{"group":"Lead Categories","pages":[{"title":"Get Lead Categories","api":"GET https://server.smartlead.ai/api/v1/leads/fetch-categories","href":"/api-reference/leads/categories"},{"title":"Create Lead Category","api":"POST https://server.smartlead.ai/api/v1/leads/categories","href":"/api-reference/leads/create-category"},{"title":"Update Lead Category","api":"PATCH https://server.smartlead.ai/api/v1/leads/categories/{category_id}","href":"/api-reference/leads/update-category"},{"title":"Delete Lead Category","api":"DELETE https://server.smartlead.ai/api/v1/leads/categories/{category_id}","href":"/api-reference/leads/delete-category"}]},{"group":"Lead Notes","pages":[{"title":"Create Lead Note","api":"POST https://server.smartlead.ai/api/v1/master-inbox/create-note","href":"/api-reference/lead-notes/create"}]},{"group":"Lead Tasks","pages":[{"title":"Create Lead Task","api":"POST https://server.smartlead.ai/api/v1/master-inbox/create-task","href":"/api-reference/lead-tasks/create"}]},{"group":"Lead Tags","pages":[{"title":"Create Tag","api":"POST https://server.smartlead.ai/api/v1/email-accounts/tag-manager","href":"/api-reference/lead-tags/create"}]},{"group":"Lead Lists","pages":[{"title":"Create Lead List","api":"POST https://server.smartlead.ai/api/v1/lead-list/","href":"/api-reference/lead-lists/create"},{"title":"Get All Lead Lists","api":"GET https://server.smartlead.ai/api/v1/lead-list/","href":"/api-reference/lead-lists/get-all"},{"title":"Get Lead List by ID","api":"GET https://server.smartlead.ai/api/v1/lead-list/{id}","href":"/api-reference/lead-lists/get-by-id"},{"title":"Get Lead List Stats","api":"GET https://server.smartlead.ai/api/v1/lead-list/{id}/stats","href":"/api-reference/lead-lists/get-stats"},{"title":"Get Leads in a Lead List","api":"GET https://server.smartlead.ai/api/v1/lead-list/{id}/leads","href":"/api-reference/lead-lists/get-leads"},{"title":"Update Lead List","api":"PUT https://server.smartlead.ai/api/v1/lead-list/{id}","href":"/api-reference/lead-lists/update"},{"title":"Delete Lead List","api":"DELETE https://server.smartlead.ai/api/v1/lead-list/{id}","href":"/api-reference/lead-lists/delete"},{"title":"Import Leads to List","api":"POST https://server.smartlead.ai/api/v1/lead-list/{id}/import","href":"/api-reference/lead-lists/import-leads"},{"title":"Move Leads Between Lists","api":"POST https://server.smartlead.ai/api/v1/leads/leads/push-between-lists","href":"/api-reference/lead-lists/push-between-lists"},{"title":"Push Leads to Campaign","api":"POST https://server.smartlead.ai/api/v1/leads/push-to-campaign","href":"/api-reference/lead-lists/push-to-campaign"},{"title":"Assign Tags to Lead Lists","api":"POST https://server.smartlead.ai/api/v1/lead-list/assign-tags","href":"/api-reference/lead-lists/assign-tags"}]},{"group":"Email Account Management","pages":[{"title":"Get All Email Accounts","api":"GET https://server.smartlead.ai/api/v1/email-accounts/","href":"/api-reference/email-accounts/get-all"},{"title":"Get Email Account by ID","api":"GET https://server.smartlead.ai/api/v1/email-accounts/{email_account_id}/","href":"/api-reference/email-accounts/get-by-id"},{"title":"Get Email Account by Email Address","api":"GET https://server.smartlead.ai/api/v1/email-accounts/fetch-email-account-details","href":"/api-reference/email-accounts/get-by-email"},{"title":"Add SMTP Email Account","api":"POST https://server.smartlead.ai/api/v1/email-accounts/save","href":"/api-reference/email-accounts/add-smtp"},{"title":"Add OAuth Email Account","api":"POST https://server.smartlead.ai/api/v1/email-accounts/save-oauth","href":"/api-reference/email-accounts/add-oauth"},{"title":"Update Email Account","api":"POST https://server.smartlead.ai/api/v1/email-accounts/{email_account_id}","href":"/api-reference/email-accounts/update"},{"title":"Delete Email Account","api":"DELETE https://server.smartlead.ai/api/v1/email-accounts/{email_account_id}","href":"/api-reference/email-accounts/delete"},{"title":"Update Warmup Settings","api":"POST https://server.smartlead.ai/api/v1/email-accounts/{email_account_id}/warmup","href":"/api-reference/email-accounts/warmup-settings"},{"title":"Get Warmup Statistics","api":"GET https://server.smartlead.ai/api/v1/email-accounts/{email_account_id}/warmup-stats","href":"/api-reference/email-accounts/warmup-stats"},{"title":"Bulk Update Warmup","api":"POST https://server.smartlead.ai/api/v1/email-accounts/warmup/bulk","href":"/api-reference/email-accounts/bulk-warmup"},{"title":"Bulk Get Warmup Stats","api":"POST https://server.smartlead.ai/api/v1/email-accounts/warmup-stats","href":"/api-reference/email-accounts/bulk-warmup-stats"},{"title":"Check Mailbox Domain Deliverability","api":"GET https://server.smartlead.ai/api/v1/mcp-diagnostics/mailbox-domain-deliverability/{domain}","href":"/api-reference/email-accounts/domain-deliverability"},{"title":"Check Email Account DNS","api":"POST https://server.smartlead.ai/api/v1/email-accounts/dns-check","href":"/api-reference/email-accounts/dns-check"},{"title":"Suspend Email Account","api":"PUT https://server.smartlead.ai/api/v1/email-accounts/suspend/{email_account_id}","href":"/api-reference/email-accounts/suspend"},{"title":"Unsuspend Email Account","api":"DELETE https://server.smartlead.ai/api/v1/email-accounts/unsuspend/{email_account_id}","href":"/api-reference/email-accounts/unsuspend"},{"title":"Bulk Update Email Account Config","api":"POST https://server.smartlead.ai/api/v1/email-accounts/bulk-update-email-account-config","href":"/api-reference/email-accounts/bulk-update-config"},{"title":"Reconnect Failed Email Accounts","api":"POST https://server.smartlead.ai/api/v1/email-accounts/reconnect-failed-email-accounts","href":"/api-reference/email-accounts/reconnect-failed"},{"title":"Send Warmup Unblock OTP","api":"POST https://server.smartlead.ai/api/v1/email-accounts/{account_id}/send-otp-email","href":"/api-reference/email-accounts/send-warmup-unblock-otp"},{"title":"Verify Warmup Unblock OTP","api":"POST https://server.smartlead.ai/api/v1/email-accounts/{account_id}/verify-otp","href":"/api-reference/email-accounts/verify-warmup-unblock-otp"}]},{"group":"Email Account Tags","pages":[{"title":"Get All Tags","api":"GET https://server.smartlead.ai/api/v1/email-accounts/tags","href":"/api-reference/email-accounts/tags"},{"title":"Create Tag","api":"POST https://server.smartlead.ai/api/v1/tags","href":"/api-reference/email-account-tags/create-new"},{"title":"Update Email Account Tag","api":"POST https://server.smartlead.ai/api/v1/email-accounts/tag-manager","href":"/api-reference/email-account-tags/create"},{"title":"Get Email Account Tags","api":"POST https://server.smartlead.ai/api/v1/email-accounts/tag-list","href":"/api-reference/email-account-tags/get-all"},{"title":"Assign Tags to Email Accounts","api":"POST https://server.smartlead.ai/api/v1/email-accounts/tag-mapping","href":"/api-reference/email-account-tags/assign"},{"title":"Remove Tags from Email Accounts","api":"DELETE https://server.smartlead.ai/api/v1/email-accounts/tag-mapping","href":"/api-reference/email-account-tags/remove"}]},{"group":"Master Inbox","pages":[{"title":"Get Inbox Replies","api":"POST https://server.smartlead.ai/api/v1/master-inbox/inbox-replies","href":"/api-reference/inbox/get-messages"},{"title":"Get Sent Emails","api":"POST https://server.smartlead.ai/api/v1/master-inbox/sent","href":"/api-reference/inbox/get-sent"},{"title":"Get Assigned to Me","api":"POST https://server.smartlead.ai/api/v1/master-inbox/assigned-me","href":"/api-reference/inbox/get-assigned"},{"title":"Get Unread Replies","api":"POST https://server.smartlead.ai/api/v1/master-inbox/unread-replies","href":"/api-reference/inbox/get-unread"},{"title":"Get Unread Replies Count","api":"POST https://server.smartlead.ai/api/v1/master-inbox/unread-replies-count","href":"/api-reference/inbox/get-unread-count"},{"title":"Get Important Emails","api":"POST https://server.smartlead.ai/api/v1/master-inbox/important","href":"/api-reference/inbox/get-important"},{"title":"Get Snoozed Emails","api":"POST https://server.smartlead.ai/api/v1/master-inbox/snoozed","href":"/api-reference/inbox/get-snoozed"},{"title":"Get Scheduled Emails","api":"POST https://server.smartlead.ai/api/v1/master-inbox/scheduled","href":"/api-reference/inbox/get-scheduled"},{"title":"Get Reminder Emails","api":"POST https://server.smartlead.ai/api/v1/master-inbox/reminders","href":"/api-reference/inbox/get-reminders"},{"title":"Get Archived Emails","api":"POST https://server.smartlead.ai/api/v1/master-inbox/archived","href":"/api-reference/inbox/get-archived"},{"title":"Get Custom View Emails","api":"POST https://server.smartlead.ai/api/v1/master-inbox/views","href":"/api-reference/inbox/get-views"},{"title":"Get Inbox Item by ID","api":"GET https://server.smartlead.ai/api/v1/master-inbox/{id}","href":"/api-reference/inbox/get-by-id"},{"title":"Get Untracked Replies","api":"GET https://server.smartlead.ai/api/v1/master-inbox/untracked-replies","href":"/api-reference/inbox/get-untracked"},{"title":"Reply to Email","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/reply-email-thread","href":"/api-reference/inbox/reply"},{"title":"Get Reply Status","api":"GET https://server.smartlead.ai/api/v1/master-inbox/reply-status","href":"/api-reference/inbox/reply-status"},{"title":"Forward Email","api":"POST https://server.smartlead.ai/api/v1/campaigns/{campaign_id}/forward-email","href":"/api-reference/inbox/forward"},{"title":"Change Read Status","api":"PATCH https://server.smartlead.ai/api/v1/master-inbox/change-read-status","href":"/api-reference/inbox/mark-read"},{"title":"Update Lead Category","api":"PATCH https://server.smartlead.ai/api/v1/master-inbox/update-category","href":"/api-reference/inbox/update-category"},{"title":"Update Lead Revenue","api":"PATCH https://server.smartlead.ai/api/v1/master-inbox/update-revenue","href":"/api-reference/inbox/update-revenue"},{"title":"Assign Team Member","api":"POST https://server.smartlead.ai/api/v1/master-inbox/update-team-member","href":"/api-reference/inbox/update-team-member"},{"title":"Create Lead Task","api":"POST https://server.smartlead.ai/api/v1/master-inbox/create-task","href":"/api-reference/inbox/create-task"},{"title":"Create Lead Note","api":"POST https://server.smartlead.ai/api/v1/master-inbox/create-note","href":"/api-reference/inbox/create-note"},{"title":"Block Email Domains","api":"POST https://server.smartlead.ai/api/v1/master-inbox/block-domains","href":"/api-reference/inbox/block-domains"},{"title":"Resume Paused Lead","api":"PATCH https://server.smartlead.ai/api/v1/master-inbox/resume-lead","href":"/api-reference/inbox/resume-lead"},{"title":"Set Lead Reminder","api":"POST https://server.smartlead.ai/api/v1/master-inbox/set-reminder","href":"/api-reference/inbox/set-reminder"},{"title":"Push Lead to Subsequence","api":"POST https://server.smartlead.ai/api/v1/master-inbox/push-to-subsequence","href":"/api-reference/inbox/push-to-subsequence"},{"title":"Create Saved View","api":"POST https://server.smartlead.ai/api/v1/master-inbox/saved-views","href":"/api-reference/inbox/create-saved-view"},{"title":"Ignore Reply","api":"PATCH https://server.smartlead.ai/api/v1/master-inbox/ignore-reply","href":"/api-reference/inbox/ignore-reply"},{"title":"Associate Untracked Reply to Lead","api":"POST https://server.smartlead.ai/api/v1/master-inbox/untracked-replies/associate-to-lead","href":"/api-reference/inbox/associate-untracked-reply"}]},{"group":"Smart Delivery v2 (Deliverability Test)","pages":[{"title":"List Seed Providers","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/providers","href":"/api-reference/smart-delivery-v2/providers"},{"title":"Get Plan Limits","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/limits","href":"/api-reference/smart-delivery-v2/limits"},{"title":"Refresh Plan Limits","api":"POST https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/limits/refresh","href":"/api-reference/smart-delivery-v2/limits-refresh"},{"title":"List Folders","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/folders","href":"/api-reference/smart-delivery-v2/list-folders"},{"title":"Create Folder","api":"POST https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/folders","href":"/api-reference/smart-delivery-v2/create-folder"},{"title":"Rename Folder","api":"PATCH https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/folders/{id}","href":"/api-reference/smart-delivery-v2/rename-folder"},{"title":"Delete Folder","api":"DELETE https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/folders/{id}","href":"/api-reference/smart-delivery-v2/delete-folder"},{"title":"Create Deliverability Test","api":"POST https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests","href":"/api-reference/smart-delivery-v2/create-test"},{"title":"List Deliverability Tests","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests","href":"/api-reference/smart-delivery-v2/list-tests"},{"title":"Get Deliverability Test","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/{id}","href":"/api-reference/smart-delivery-v2/get-test"},{"title":"Update Deliverability Test","api":"PATCH https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/{id}","href":"/api-reference/smart-delivery-v2/update-test"},{"title":"Pause Deliverability Test","api":"POST https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/{id}/pause","href":"/api-reference/smart-delivery-v2/pause-test"},{"title":"Resume Deliverability Test","api":"POST https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/{id}/resume","href":"/api-reference/smart-delivery-v2/resume-test"},{"title":"Stop Deliverability Test","api":"POST https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/{id}/stop","href":"/api-reference/smart-delivery-v2/stop-test"},{"title":"Delete Deliverability Test","api":"DELETE https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/{id}","href":"/api-reference/smart-delivery-v2/delete-test"},{"title":"Create Share Link","api":"PUT https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/{id}/share","href":"/api-reference/smart-delivery-v2/create-share-link"},{"title":"Revoke Share Link","api":"DELETE https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/{id}/share","href":"/api-reference/smart-delivery-v2/revoke-share-link"},{"title":"Get Run","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/runs/{id}","href":"/api-reference/smart-delivery-v2/get-run"},{"title":"Get Run Placement","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/runs/{id}/placement","href":"/api-reference/smart-delivery-v2/run-placement"},{"title":"Get Email Trace","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/runs/{id}/emails/{assignmentId}/trace","href":"/api-reference/smart-delivery-v2/email-trace"},{"title":"Get Run Report","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/runs/{id}/report","href":"/api-reference/smart-delivery-v2/run-report"},{"title":"List Run Emails","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/runs/{id}/emails","href":"/api-reference/smart-delivery-v2/run-emails"},{"title":"List Run Seeds","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/runs/{id}/seeds","href":"/api-reference/smart-delivery-v2/run-seeds"},{"title":"Get Email Headers","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/runs/{id}/emails/{assignmentId}/headers","href":"/api-reference/smart-delivery-v2/email-headers"},{"title":"Get Test History","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/tests/{id}/history","href":"/api-reference/smart-delivery-v2/test-history"},{"title":"Compare Two Runs","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/runs/{id}/compare/{otherRunId}","href":"/api-reference/smart-delivery-v2/compare-runs"},{"title":"Get Deliverability Summary","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/reports/summary","href":"/api-reference/smart-delivery-v2/summary"},{"title":"List Mailbox Deliverability","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/reports/mailboxes","href":"/api-reference/smart-delivery-v2/mailboxes"},{"title":"Get Mailbox Trend","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/reports/mailboxes/{emailAccountId}","href":"/api-reference/smart-delivery-v2/mailbox-trend"},{"title":"List Domain Deliverability","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/reports/domains","href":"/api-reference/smart-delivery-v2/domains"},{"title":"Get Domain Trend","api":"GET https://sl-sd-api.smartlead.ai/api/v1/smart-delivery/reports/domains/{domain}","href":"/api-reference/smart-delivery-v2/domain-trend"}]},{"group":"Smart Senders","pages":[{"title":"Get OTP for Admin Mailbox","api":"GET https://smart-senders.smartlead.ai/api/v1/smart-senders/auth-secret","href":"/api-reference/smart-senders/get-otp"},{"title":"Auto Generate Mailboxes","api":"POST https://smart-senders.smartlead.ai/api/v1/smart-senders/auto-generate-mailboxes","href":"/api-reference/smart-senders/auto-generate"},{"title":"Search Domain","api":"GET https://smart-senders.smartlead.ai/api/v1/smart-senders/search-domain","href":"/api-reference/smart-senders/search-domain"},{"title":"Check Domains","api":"POST https://smart-senders.smartlead.ai/api/v1/smart-senders/domains/check","href":"/api-reference/smart-senders/check-domains"},{"title":"Similar Domains","api":"POST https://smart-senders.smartlead.ai/api/v1/smart-senders/domains/similar","href":"/api-reference/smart-senders/similar-domains"},{"title":"Get Vendors","api":"GET https://smart-senders.smartlead.ai/api/v1/smart-senders/get-vendors","href":"/api-reference/smart-senders/get-vendors"},{"title":"Place Order","api":"POST https://smart-senders.smartlead.ai/api/v1/smart-senders/place-order","href":"/api-reference/smart-senders/place-order"},{"title":"Add Mailboxes to Domain","api":"POST https://smart-senders.smartlead.ai/api/v1/smart-senders/add-mailboxes-to-domain","href":"/api-reference/smart-senders/add-mailboxes"},{"title":"Get Purchased Domain List","api":"GET https://smart-senders.smartlead.ai/api/v1/smart-senders/get-domain-list","href":"/api-reference/smart-senders/domain-list"},{"title":"Get Order Details","api":"GET https://smart-senders.smartlead.ai/api/v1/smart-senders/order-details","href":"/api-reference/smart-senders/order-details"}]},{"group":"Smart Servers","pages":[{"title":"List SmartServers","api":"GET https://smartservers.smartlead.ai/api/v1/smart-server/","href":"/api-reference/smart-servers/list-servers"},{"title":"Assign SmartInfra to Campaigns","api":"POST https://smartservers.smartlead.ai/api/v1/smart-infra/mapping","href":"/api-reference/smart-servers/assign-campaigns"},{"title":"Get SmartServers for a Campaign","api":"GET https://smartservers.smartlead.ai/api/v1/smart-server/all/campaign/{campaign_id}","href":"/api-reference/smart-servers/get-campaign-servers"},{"title":"Unassign SmartServers from Campaign","api":"DELETE https://smartservers.smartlead.ai/api/v1/smart-server/mapping/campaign/{campaign_id}","href":"/api-reference/smart-servers/unassign-campaign"}]},{"group":"Webhooks","pages":[{"title":"Create Webhook","api":"POST https://server.smartlead.ai/api/v1/webhook/create","href":"/api-reference/webhooks/create"},{"title":"Get Webhook","api":"GET https://server.smartlead.ai/api/v1/webhook/{webhook_id}","href":"/api-reference/webhooks/get"},{"title":"Update Webhook","api":"PUT https://server.smartlead.ai/api/v1/webhook/update/:webhook_id","href":"/api-reference/webhooks/update"},{"title":"Delete Campaign Webhook","api":"DELETE https://server.smartlead.ai/api/v1/webhook/delete/{webhook_id}","href":"/api-reference/webhooks/delete"},{"title":"Webhook Signing Secret","api":"POST https://server.smartlead.ai/api/v1/webhook/{webhook_id}/signing-secret","href":"/api-reference/webhooks/signing-secret"},{"title":"List Webhook Event Types","api":"GET https://server.smartlead.ai/api/v1/webhook-event-types","href":"/api-reference/webhooks/event-types"},{"title":"Get Webhook Delivery Logs","api":"GET https://server.smartlead.ai/api/v1/webhook-event-logs","href":"/api-reference/webhooks/event-logs"},{"title":"Send a Test Webhook","api":"POST https://server.smartlead.ai/api/v1/webhook/{webhook_id}/test","href":"/api-reference/webhooks/test"},{"title":"List Webhook Deliveries","api":"GET https://server.smartlead.ai/api/v1/webhook/{webhook_id}/deliveries","href":"/api-reference/webhooks/deliveries"},{"title":"Webhook Events Reference","href":"/api-reference/webhooks/events"}]},{"group":"Global Analytics","pages":[{"title":"How Analytics Metrics Are Calculated","href":"/api-reference/analytics/how-metrics-are-calculated"},{"title":"Get Overall Analytics","api":"GET https://server.smartlead.ai/api/v1/analytics/overall-stats-v2","href":"/api-reference/analytics/overview"},{"title":"Get Campaign List","api":"GET https://server.smartlead.ai/api/v1/analytics/campaign/list","href":"/api-reference/analytics/campaign-list"},{"title":"Get Client List","api":"GET https://server.smartlead.ai/api/v1/analytics/client/list","href":"/api-reference/analytics/client-list"},{"title":"Get Month-wise Client Count","api":"GET https://server.smartlead.ai/api/v1/analytics/client/month-wise-count","href":"/api-reference/analytics/month-wise-client-count"},{"title":"Get Day-wise Overall Stats","api":"GET https://server.smartlead.ai/api/v1/analytics/day-wise-overall-stats","href":"/api-reference/analytics/day-wise-stats"},{"title":"Day-wise Stats by Sent Time","api":"GET https://server.smartlead.ai/api/v1/analytics/day-wise-overall-stats-by-sent-time","href":"/api-reference/analytics/day-wise-sent-time"},{"title":"Day-wise Positive Reply Stats","api":"GET https://server.smartlead.ai/api/v1/analytics/day-wise-positive-reply-stats","href":"/api-reference/analytics/day-wise-positive-reply"},{"title":"Positive Reply Stats by Sent Time","api":"GET https://server.smartlead.ai/api/v1/analytics/day-wise-positive-reply-stats-by-sent-time","href":"/api-reference/analytics/day-wise-positive-sent-time"},{"title":"Campaign Performance","api":"GET https://server.smartlead.ai/api/v1/analytics/campaign/overall-stats","href":"/api-reference/analytics/campaign-performance"},{"title":"Client Overall Stats","api":"GET https://server.smartlead.ai/api/v1/analytics/client/overall-stats","href":"/api-reference/analytics/client-performance"},{"title":"Email-ID-wise Health Metrics","api":"GET https://server.smartlead.ai/api/v1/analytics/mailbox/name-wise-health-metrics","href":"/api-reference/analytics/email-wise-health"},{"title":"Domain-wise Health Metrics","api":"GET https://server.smartlead.ai/api/v1/analytics/mailbox/domain-wise-health-metrics","href":"/api-reference/analytics/domain-wise-health"},{"title":"Mailbox Overall Stats","api":"GET https://server.smartlead.ai/api/v1/analytics/mailbox/overall-stats","href":"/api-reference/analytics/mailbox-health"},{"title":"Provider-wise Performance","api":"GET https://server.smartlead.ai/api/v1/analytics/mailbox/provider-wise-overall-performance","href":"/api-reference/analytics/provider-performance"},{"title":"Team Board Stats","api":"GET https://server.smartlead.ai/api/v1/analytics/team-board/overall-stats","href":"/api-reference/analytics/team-board-stats"},{"title":"Lead Statistics","api":"GET https://server.smartlead.ai/api/v1/analytics/lead/overall-stats","href":"/api-reference/analytics/lead-stats"},{"title":"Lead Category-wise Response","api":"GET https://server.smartlead.ai/api/v1/analytics/lead/category-wise-response","href":"/api-reference/analytics/lead-category-response"},{"title":"Leads Take for First Reply","api":"GET https://server.smartlead.ai/api/v1/analytics/campaign/leads-take-for-first-reply","href":"/api-reference/analytics/leads-for-first-reply"},{"title":"Follow-up Reply Rate","api":"GET https://server.smartlead.ai/api/v1/analytics/campaign/follow-up-reply-rate","href":"/api-reference/analytics/followup-reply-rate"},{"title":"Lead to Reply Time","api":"GET https://server.smartlead.ai/api/v1/analytics/campaign/lead-to-reply-time","href":"/api-reference/analytics/lead-to-reply-time"},{"title":"Campaign Response Stats","api":"GET https://server.smartlead.ai/api/v1/analytics/campaign/response-stats","href":"/api-reference/analytics/campaign-response-stats"},{"title":"Campaign Status Stats","api":"GET https://server.smartlead.ai/api/v1/analytics/campaign/status-stats","href":"/api-reference/analytics/campaign-status-stats"}]},{"group":"Utilities","pages":[{"title":"Send Single Email","api":"POST https://server.smartlead.ai/api/v1/send-email/initiate","href":"/api-reference/utilities/send-single-email"},{"title":"Domain Block List Management","href":"/api-reference/utilities/domain-block-list"},{"title":"Bulk Delete from Block List","api":"POST https://server.smartlead.ai/api/v1/leads/domain-block-list/bulk-delete","href":"/api-reference/utilities/domain-block-list-bulk-delete"},{"title":"Export Block List","api":"GET https://server.smartlead.ai/api/v1/leads/domain-block-list/export","href":"/api-reference/utilities/domain-block-list-export"},{"title":"Get Account by API Key","api":"GET https://server.smartlead.ai/api/v1/users/get-by-api-key","href":"/api-reference/utilities/get-account-by-api-key"},{"title":"Get API Key Info","api":"GET https://server.smartlead.ai/api/v1/key","href":"/api-reference/utilities/get-key-info"}]},{"group":"Client Management","pages":[{"title":"Create Client","api":"POST https://server.smartlead.ai/api/v1/client/save","href":"/api-reference/clients/create"},{"title":"Get All Clients","api":"GET https://server.smartlead.ai/api/v1/client/","href":"/api-reference/clients/get-all"},{"title":"Update Client","api":"POST https://server.smartlead.ai/api/v1/client/save","href":"/api-reference/clients/update"},{"title":"Manage Client API Keys","api":"POST https://server.smartlead.ai/api/v1/client/api-key","href":"/api-reference/clients/api-keys"},{"title":"Get Client by ID","api":"GET https://server.smartlead.ai/api/v1/client/{id}","href":"/api-reference/clients/get-by-id"},{"title":"Add Client Code Snippet","api":"POST https://server.smartlead.ai/api/v1/client/{client_id}/code-integrations","href":"/api-reference/clients/create-code-integration"},{"title":"Delete Client","api":"DELETE https://server.smartlead.ai/api/v1/client/{id}","href":"/api-reference/clients/delete"}]},{"group":"Smart Prospect","pages":[{"title":"Search Contacts API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-contacts","href":"/api-reference/smart-prospect/search-contacts"},{"title":"Get Contacts API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/get-contacts","href":"/api-reference/smart-prospect/get-contacts"},{"title":"Fetch Contacts API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/fetch-contacts","href":"/api-reference/smart-prospect/fetch-contacts"},{"title":"Estimate Fetch Cost API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/fetch-contacts/estimate","href":"/api-reference/smart-prospect/fetch-contacts-estimate"},{"title":"Push Fetched Contacts to a Lead List API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/fetch-contacts/push-to-list","href":"/api-reference/smart-prospect/fetch-contacts-push-to-list"},{"title":"Push Fetched Contacts to a Campaign API","api":"POST https://server.smartlead.ai/api/v1/search-email-leads/push-to-campaign","href":"/api-reference/smart-prospect/push-to-campaign"},{"title":"Select Contacts per Company API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-contacts/select-with-cap","href":"/api-reference/smart-prospect/select-with-cap"},{"title":"Fetch Progress API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/fetch-contacts-v2/progress/{filter_id}","href":"/api-reference/smart-prospect/fetch-progress"},{"title":"Find Emails API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-contacts/find-emails","href":"/api-reference/smart-prospect/find-emails"},{"title":"Estimate Find Emails Cost API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-contacts/find-emails/estimate","href":"/api-reference/smart-prospect/find-emails-estimate"},{"title":"Review Contacts API","api":"PATCH https://prospect-api.smartlead.ai/api/v1/search-email-leads/review-contacts/{filter_id}","href":"/api-reference/smart-prospect/review-contacts"},{"title":"Save Search API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/save-search","href":"/api-reference/smart-prospect/save-search"},{"title":"Saved Searches API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/saved-searches","href":"/api-reference/smart-prospect/saved-searches"},{"title":"Fetched Searches API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/fetched-searches","href":"/api-reference/smart-prospect/fetched-searches"},{"title":"Recent Searches API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/recent-searches","href":"/api-reference/smart-prospect/recent-searches"},{"title":"Update Saved Search API","api":"PUT https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/save-search/{id}","href":"/api-reference/smart-prospect/update-saved-search"},{"title":"Update Fetched Lead API","api":"PUT https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-filters/fetched-searches/{id}","href":"/api-reference/smart-prospect/update-fetched-lead"},{"title":"Search Analytics API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/search-analytics","href":"/api-reference/smart-prospect/search-analytics"},{"title":"Reply Analytics API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/reply-analytics","href":"/api-reference/smart-prospect/reply-analytics"},{"title":"Cities API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/cities","href":"/api-reference/smart-prospect/cities"},{"title":"States API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/states","href":"/api-reference/smart-prospect/states"},{"title":"Countries API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/countries","href":"/api-reference/smart-prospect/countries"},{"title":"Company API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/company","href":"/api-reference/smart-prospect/company"},{"title":"Domain API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/domain","href":"/api-reference/smart-prospect/domain"},{"title":"Industries API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/industries","href":"/api-reference/smart-prospect/industries"},{"title":"Sub-Industries API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/sub-industries","href":"/api-reference/smart-prospect/sub-industries"},{"title":"Departments API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/departments","href":"/api-reference/smart-prospect/departments"},{"title":"Levels API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/levels","href":"/api-reference/smart-prospect/levels"},{"title":"Job Title API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/job-title","href":"/api-reference/smart-prospect/job-title"},{"title":"Head Counts API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/head-counts","href":"/api-reference/smart-prospect/head-counts"},{"title":"Revenue API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/revenue","href":"/api-reference/smart-prospect/revenue"},{"title":"Keywords API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/keywords","href":"/api-reference/smart-prospect/keywords"},{"title":"Credit Balance API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/balance","description":"Your Smart Prospect credit balance: credits you can spend now, your total and what you used - GET /billing/balance","href":"/api-reference/smart-prospect/credit-balance"},{"title":"Credit Ledger API","api":"GET https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/ledger","href":"/api-reference/smart-prospect/credit-ledger"},{"title":"Top Up Credits API","api":"POST https://prospect-api.smartlead.ai/api/v1/search-email-leads/billing/topup","description":"Buy Smart Prospect top-up credits with your saved card, safely retryable with an Idempotency-Key - POST /billing/topup","href":"/api-reference/smart-prospect/topup"}]}]}]},"basePath":"","title":"Credit Ledger API - SmartLead API","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-5zXlUUV6.js","snippetPresets-D3m2eL-0.js","utils-u8TSWPiZ.js","style-to-object-BY3JEAdk.js","utils-D3TDKJCH.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Om0Y4Ijd.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Cyl7LOol.js","_Uint8Array-BuOv0f5_.js","isObject-FP1Yky1u.js","ApiExamples-BnqLE2Kf.js","usePlaygroundInputsStore-DhQKVH9n.js","shallow-BOCfJNQU.js","isEqual-BrbSa25D.js","CodeSnippets-DUGBlB-S.js","CodeSnippet-CuGpPhIN.js","use-playground-group-access-DYZiRN3l.js","Page-DdEXfHxg.js","api-description-markdown-DDasI_tu.js","DynamicMarkdown-DoPsKgYC.js","SectionHeading-CKObOTcn.js","MethodPill-D_DqPuJw.js","getPastedJson-DWfa7n0M.js","Check2Icon-CEquKboc.js","axios-CsQoIw0U.js"]}