The SDK is a thin client over this API. Use the API directly from any language, or to see exactly what goes over the wire.
Base URL
https://crm.example.com/public-api
Use the address your CRM is served on. Every endpoint is versioned under /v1, and every one is a POST with a JSON body. Ids go in that body, never in the URL. contacts/upsert and contacts/get take your own dbId; every other endpoint takes the CRM’s partyId, which upsert, get and contacts/resolve return.
Authentication
Send an API key from Settings → API keys as a bearer token. Keys start with gd_key_.
A failed one answers with an error status and a type and message:
{ "type": "not_found", "message": "contact not found" }
type
Status
Meaning
bad_request
400
The input was rejected. message names the field.
unauthorized
401
The key is missing, wrong or revoked.
forbidden
403
The key may not do this.
not_found
404
Nothing has that id, or no such endpoint.
conflict
409
The account belongs to another contact with its own dbId.
server_error
500
Something failed on our side. Retrying is safe.
OpenAPI
The full spec is served at /public-api/openapi, and the reference in this tab is generated from it.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"RevenueBee","colors":{"primary":"#C4881A","light":"#F4C26B","dark":"#C4881A"},"logo":{"light":"https://mintcdn.com/revenuebee/Fg4KfyrtALIeeAYX/logo/light.svg?fit=max\u0026auto=format\u0026n=Fg4KfyrtALIeeAYX\u0026q=85\u0026s=1569703fba947a22490014bc86f62425","dark":"https://mintcdn.com/revenuebee/Fg4KfyrtALIeeAYX/logo/dark.svg?fit=max\u0026auto=format\u0026n=Fg4KfyrtALIeeAYX\u0026q=85\u0026s=f19504fdc9bd93841fd9013c2473f8ea","href":"/"},"favicon":"https://mintcdn.com/revenuebee/Fg4KfyrtALIeeAYX/favicon.svg?fit=max\u0026auto=format\u0026n=Fg4KfyrtALIeeAYX\u0026q=85\u0026s=dd54fdb8185fd4498d8fd402dc05faaa","navbar":{"primary":{"type":"button","label":"Back to home","href":"https://revenuebee.ai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"revenuebee","hasAudioNarration":false,"actualSubdomain":"revenuebee","customDomains":["docs.revenuebee.ai"],"gitSource":{"type":"artifacts","owner":"prod","repo":"ce37431050ffc285f62d6065","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b06b18316d9331d08b3ea07"},"entitlements":{},"buildId":"6b06b6ae8df69c231ee89129","clientVersion":"0.0.4304","searchFilterCounts":[]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"site-roles","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":"sso-setup-deadline-banner","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},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/introduction","slug":"/api-reference/introduction","pageMetadata":{"title":"Overview","description":"The REST API the SDK calls, for any language.","href":"/api-reference/introduction"},"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: \"The REST API the SDK calls, for any language.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The SDK is a thin client over this API. Use the API directly from any language, or to see exactly what goes over the wire.`}),`\n`,_jsx(Heading,{level:`2`,id:`base-url`,children:`Base URL`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://crm.example.com/public-api`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Use the address your CRM is served on. Every endpoint is versioned under `,_jsx(_components.code,{children:`/v1`}),`, and every one is a `,_jsx(_components.code,{children:`POST`}),` with a JSON body. Ids go in that body, never in the URL. `,_jsx(_components.code,{children:`contacts/upsert`}),` and `,_jsx(_components.code,{children:`contacts/get`}),` take your own `,_jsx(_components.code,{children:`dbId`}),`; every other endpoint takes the CRM’s `,_jsx(_components.code,{children:`partyId`}),`, which upsert, get and `,_jsx(_components.code,{children:`contacts/resolve`}),` return.`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Send an API key from `,_jsx(_components.strong,{children:`Settings → API keys`}),` as a bearer token. Keys start with `,_jsx(_components.code,{children:`gd_key_`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,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://crm.example.com/public-api/v1/external-accounts/list`}),_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:` \"Authorization: Bearer gd_key_...\"`}),_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:` \"Content-Type: application/json\"`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"partyId\": \"01a1f7c6-3a71-74f2-8a38-22909d8dc050\" }'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A call made with a key acts as the person who created it, in that key’s workspace. A revoked key gets `,_jsx(_components.code,{children:`401`}),` straight away.`]}),`\n`,_jsx(Warning,{children:`Keys can write to your workspace. Use them only from your backend.`}),`\n`,_jsx(Heading,{level:`2`,id:`responses`,children:`Responses`}),`\n`,_jsxs(_components.p,{children:[`A successful call answers `,_jsx(_components.code,{children:`200`}),` with the result under `,_jsx(_components.code,{children:`data`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Contact upserted\"`}),_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:` \"metaData\"`}),_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:`: { `}),_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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"dbId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user_42\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ada Lovelace\"`}),_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`]})})}),`\n`,_jsxs(_components.p,{children:[`A failed one answers with an error status and a `,_jsx(_components.code,{children:`type`}),` and `,_jsx(_components.code,{children:`message`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,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:`1`,children:[_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:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"not_found\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"contact not found\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bad_request`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[`The input was rejected. `,_jsx(_components.code,{children:`message`}),` names the field.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`unauthorized`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:`The key is missing, wrong or revoked.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`forbidden`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:`The key may not do this.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:`Nothing has that id, or no such endpoint.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`conflict`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsxs(_components.td,{children:[`The account belongs to another contact with its own `,_jsx(_components.code,{children:`dbId`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`server_error`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:`500`}),_jsx(_components.td,{children:`Something failed on our side. Retrying is safe.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`openapi`,children:`OpenAPI`}),`\n`,_jsxs(_components.p,{children:[`The full spec is served at `,_jsx(_components.code,{children:`/public-api/openapi`}),`, and the reference in this tab is generated from it.`]})]})}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":"Overview","description":"The REST API the SDK calls, for any language.","href":"/api-reference/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Base URL","slug":"base-url","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Responses","slug":"responses","depth":2,"children":[]},{"title":"OpenAPI","slug":"openapi","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"revenuebee","siteName":"RevenueBee","title":"Overview - RevenueBee","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T10:21:41.682Z","originalFileLocation":"api-reference/introduction.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=\"The REST API the SDK calls, for any language.\">\u003cmeta data-mint-head name=\"application-name\" content=\"RevenueBee\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/revenuebee/kW-zMf4vsth2sa__/_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/revenuebee/kW-zMf4vsth2sa__/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/revenuebee/kW-zMf4vsth2sa__/_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/revenuebee/kW-zMf4vsth2sa__/_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/revenuebee/kW-zMf4vsth2sa__/_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/revenuebee/kW-zMf4vsth2sa__/_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/revenuebee/kW-zMf4vsth2sa__/_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/revenuebee/kW-zMf4vsth2sa__/_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/revenuebee/kW-zMf4vsth2sa__/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Overview - RevenueBee\">\u003cmeta data-mint-head property=\"og:description\" content=\"The REST API the SDK calls, for any language.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"RevenueBee\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.revenuebee.ai/api-reference/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://revenuebee.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Overview\u0026amp;description=The+REST+API+the+SDK+calls%2C+for+any+language.\u0026amp;theme=70a3d8dca99ffcb33bea01fe\u0026amp;signature=6727acde1c219d3f84bf9f44deb06d3a9d33cb8341a2f4c89c13d159d12420fe\">\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=\"Overview - RevenueBee\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The REST API the SDK calls, for any language.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://revenuebee.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Overview\u0026amp;description=The+REST+API+the+SDK+calls%2C+for+any+language.\u0026amp;theme=70a3d8dca99ffcb33bea01fe\u0026amp;signature=6727acde1c219d3f84bf9f44deb06d3a9d33cb8341a2f4c89c13d159d12420fe\">\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/revenuebee/kW-zMf4vsth2sa__/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"RevenueBee\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#C4881A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.revenuebee.ai/api-reference/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/introduction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.revenuebee.ai/#organization\",\"name\":\"RevenueBee\",\"url\":\"https://docs.revenuebee.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/revenuebee/Fg4KfyrtALIeeAYX/logo/light.svg?fit=max\u0026auto=format\u0026n=Fg4KfyrtALIeeAYX\u0026q=85\u0026s=1569703fba947a22490014bc86f62425\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.revenuebee.ai#website\",\"name\":\"RevenueBee\",\"url\":\"https://docs.revenuebee.ai\",\"publisher\":{\"@id\":\"https://docs.revenuebee.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.revenuebee.ai/api-reference/introduction#webpage\",\"url\":\"https://docs.revenuebee.ai/api-reference/introduction\",\"name\":\"Overview\",\"description\":\"The REST API the SDK calls, for any language.\",\"dateModified\":\"2026-11-25T10:21:41.682Z\",\"isPartOf\":{\"@id\":\"https://docs.revenuebee.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.revenuebee.ai/api-reference/introduction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.revenuebee.ai/api-reference/introduction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"RevenueBee\",\"item\":\"https://docs.revenuebee.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Overview\",\"item\":\"https://docs.revenuebee.ai/api-reference/introduction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.revenuebee.ai/api-reference/introduction#article\",\"headline\":\"Overview\",\"name\":\"Overview\",\"description\":\"The REST API the SDK calls, for any language.\",\"url\":\"https://docs.revenuebee.ai/api-reference/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.revenuebee.ai/api-reference/introduction#webpage\"},\"dateModified\":\"2026-11-25T10:21:41.682Z\",\"publisher\":{\"@id\":\"https://docs.revenuebee.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.revenuebee.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"RevenueBee\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"RevenueBee\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/introduction.md","siteName":"RevenueBee","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/client"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Overview","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Contacts","pages":[{"title":"Upsert a contact","description":"Creates the contact the first time a dbId is seen and updates it every time after. Emails and phones are only ever added. The id it returns is the partyId every other route takes.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/contacts/upsert","href":"/api-reference/contacts/upsert-a-contact"},{"title":"Resolve a contact's partyId","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/contacts/resolve","href":"/api-reference/contacts/resolve-a-contacts-partyid"},{"title":"Get a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/contacts/get","href":"/api-reference/contacts/get-a-contact"},{"title":"List contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/contacts/list","href":"/api-reference/contacts/list-contacts"},{"title":"Erase a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/contacts/erase","href":"/api-reference/contacts/erase-a-contact"},{"title":"Set a contact's consent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/contacts/consent","href":"/api-reference/contacts/set-a-contacts-consent"}]},{"group":"Events","pages":[{"title":"Add an event","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/events/add","href":"/api-reference/events/add-an-event"}]},{"group":"External accounts","pages":[{"title":"Link an external account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/external-accounts/add","href":"/api-reference/external-accounts/link-an-external-account"},{"title":"Unlink an external account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/external-accounts/remove","href":"/api-reference/external-accounts/unlink-an-external-account"},{"title":"List external accounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/external-accounts/list","href":"/api-reference/external-accounts/list-external-accounts"}]},{"group":"Revenue","pages":[{"title":"Upsert a subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/subscriptions/upsert","href":"/api-reference/revenue/upsert-a-subscription"},{"title":"Delete a subscription","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/subscriptions/delete","href":"/api-reference/revenue/delete-a-subscription"},{"title":"Upsert a payment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/payments/upsert","href":"/api-reference/revenue/upsert-a-payment"},{"title":"Delete a payment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/payments/delete","href":"/api-reference/revenue/delete-a-payment"}]},{"group":"Notes","pages":[{"title":"Add a note","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/notes/add","href":"/api-reference/notes/add-a-note"}]},{"group":"Communications","pages":[{"title":"Log a communication","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/communications/log","href":"/api-reference/communications/log-a-communication"}]},{"group":"Tasks","pages":[{"title":"Create a task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks/create","href":"/api-reference/tasks/create-a-task"},{"title":"List a contact's open tasks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks/list","href":"/api-reference/tasks/list-a-contacts-open-tasks"},{"title":"Complete a task","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/tasks/complete","href":"/api-reference/tasks/complete-a-task"}]},{"group":"Goals","pages":[{"title":"Create a goal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/goals/create","href":"/api-reference/goals/create-a-goal"},{"title":"List a contact's goals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/goals/list","href":"/api-reference/goals/list-a-contacts-goals"},{"title":"Complete a goal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/goals/complete","href":"/api-reference/goals/complete-a-goal"}]},{"group":"Chat","pages":[{"title":"Vouch for a chat widget visitor","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/chat/claims","href":"/api-reference/chat/vouch-for-a-chat-widget-visitor"}]},{"group":"Calls","pages":[{"title":"Start a call with a voice agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/calls/credentials","href":"/api-reference/calls/start-a-call-with-a-voice-agent"}]}]}]}]},"basePath":"","title":"Overview - RevenueBee","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":[],"chunks":[]}