This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the “link” property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.
If set to false we will request the cancellation of the previous supplier / grid operator signup to the date provided in intended_start_date. If set to true we will request the next possible date.
Intended start date of the subscription. Must be a date in the future. For feed-in plans it must be the first day of a month, at least one month in the future; when omitted, the next possible production start date is used.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Nomos","colors":{"primary":"#1b1915","light":"#ffffff","dark":"#1b1915"},"logo":{"light":"https://mintcdn.com/riverslate/0nQqndf6SGR4MtUC/logo/light.svg?fit=max\u0026auto=format\u0026n=0nQqndf6SGR4MtUC\u0026q=85\u0026s=99c5d32286bf07989f99539ad1584d34","dark":"https://mintcdn.com/riverslate/0nQqndf6SGR4MtUC/logo/dark.svg?fit=max\u0026auto=format\u0026n=0nQqndf6SGR4MtUC\u0026q=85\u0026s=1e24faf333cc5cbbaa6454764020bc7d"},"favicon":"https://mintcdn.com/riverslate/i0UKnKz5dNnV7CMC/favicon.ico?fit=max\u0026auto=format\u0026n=i0UKnKz5dNnV7CMC\u0026q=85\u0026s=019f4931cf3d704bd7a11ab89eec374e","api":{"openapi":["openapi/openapi.chucky.json"]},"appearance":{"default":"light"},"background":{"color":{"light":"#f6f3f0","dark":"#21262c"}},"navbar":{"links":[{"href":"https://dashboard.nomos.energy","label":"Dashboard"}],"primary":{"type":"button","label":"Book Demo","href":"https://nomos.energy/demo"}},"footer":{"socials":{"website":"https://nomos.energy","linkedin":"https://www.linkedin.com/company/nomos-energy"}},"fonts":{"family":"Soehne","source":"https://qnsvr1iaztsgci9a.public.blob.vercel-storage.com/soehne-buch-d177Pah3KmnkO2UpYz4Ru0Yx4QcPU8.woff2","format":"woff2"},"contextual":{"options":["copy","view","claude","chatgpt","cursor",{"title":"Get Support","description":"Email our team about this page","icon":"life-ring","href":{"base":"mailto:support@nomos.energy","query":[{"key":"subject","value":"Docs question"},{"key":"body","value":"Page: $path\n\n"}]}}],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"riverslate","hasAudioNarration":false,"actualSubdomain":"riverslate","customDomains":["docs.nomos.energy"],"gitSource":{"type":"github","owner":"nomos-energy","repo":"monorepo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad9c001b052f87fe57e08c8","collectionId":"693a0f8b-4c93-4632-8c44-32cbf919ec26","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad9c001b052f87fe57e08c8"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ad9c001b052f87fe57e08c8","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API Reference","count":323},{"language":"default","tag":"Subscriptions","count":24},{"language":"default","tag":"Webhooks","count":23},{"language":"default","tag":"Invoices","count":20},{"language":"default","tag":"Usage","count":19},{"language":"default","tag":"Documentation","count":16},{"language":"default","tag":"Plans","count":16},{"language":"default","tag":"Authentication","count":15},{"language":"default","tag":"Leads","count":15},{"language":"default","tag":"Customers","count":12}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".light #assistant-entry,.light #search-bar-entry,.light .navbar-link a,.light button[aria-label=\"Toggle dark mode\"]{background-color:#ebe8e3!important}.light #assistant-entry:hover,.light #search-bar-entry:hover,.light .navbar-link a:hover,.light button[aria-label=\"Toggle dark mode\"]:hover{background-color:#e2ded9!important}.light #navbar>div.bg-background-light,.light #page-context-menu button,.light #pagination>a,.light .card,.light [data-component-part=version-select-content],.light [role=menu][aria-labelledby^=page-context-menu],.light details.accordion,.light details.expandable{background-color:#fdfbfa}.dark #navbar>div.bg-background-light{background-color:#000}.dark #background-color{background-color:#0a0a0a}.dark #page-context-menu button,.dark #pagination>a,.dark [role=menu][aria-labelledby^=page-context-menu]{background-color:#21262c}#page-context-menu-button span{display:none}#page-context-menu{min-width:0;align-items:stretch}body:has(.is-home-page) #page-context-menu,body:has(.is-home-page) #pagination{display:none!important}.light div.bg-background-light:has(>div>.tryit-button){background-color:#fdfbfa}td code,th code{white-space:nowrap}@font-face{font-family:\"Soehne\";src:url(/fonts/soehne-kraftig.woff2) format(\"woff2\");font-weight:500 700;font-style:normal;font-display:swap}#navbar img[alt=\"dark logo\"],#navbar img[alt=\"light logo\"],#navbar img[src*=logo]{height:1.25rem;width:auto}h1,h2,h3,h4{font-weight:500!important}#navbar nav ul li a,.nav-tabs-item{font-weight:400!important}.nav-tabs-item{text-shadow:none!important}"}],"page":{"pagePath":"api-reference/leads/create-a-lead","slug":"/api-reference/leads/create-a-lead","pageMetadata":{"title":"Create a lead","description":"This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the \"link\" property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /leads","href":"/api-reference/leads/create-a-lead","autogeneratedByOpenApi":true},"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: \"This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the “link” property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a lead","description":"This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the \"link\" property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /leads","href":"/api-reference/leads/create-a-lead","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Leads"],"summary":"Create a lead","description":"This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the \"link\" property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.","security":["5610c977-ff57-4728-85d9-b4007c63ec9a"],"requestBody":"e61d1162-b3b4-4717-9c1f-b27a46289b24","responses":{"200":"a148b702-5538-4b27-99a4-565d875582c8","400":"fe329cf5-d365-4a8c-a041-02122f33c52a","401":"109b5d91-c4d2-4962-b597-09ec565deb37","403":"c8cfa45a-a38d-4c46-b3e3-ed3301b0a427","404":"227c864a-a81d-4a77-83d0-c39891580122","500":"a2f2b834-cd7d-41eb-b543-1a3ffe0daf9f"},"method":"post","type":"path","servers":["8aeb71fd-a605-4830-84ed-bf23c4f7b708"],"path":"/leads","baseUrlOptions":["https://api.nomos.energy"],"title":"Create a lead","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"The lead to create","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"type":"string","description":"Plan ID","example":"pln_mi4f0oda6x9m7gcsvjk0ole1","isRequired":true,"uniqueKey":"plan","typeLabel":"string"},"address":{"type":"object","properties":{"zip":{"type":"string","minLength":5,"description":"ZIP/Postal code","example":"10115","isRequired":true,"uniqueKey":"address.zip","typeLabel":"string"},"street":{"oneOf":[{"type":"string","minLength":1,"description":"Street name of the address","example":"Torstraße","uniqueKey":"address.street.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"Street name of the address","example":"Torstraße","uniqueKey":"address.street.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.street","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","minLength":1,"description":"City name","example":"Berlin","uniqueKey":"address.city.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"City name","example":"Berlin","uniqueKey":"address.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.city","typeLabel":"string | null"},"house_number":{"oneOf":[{"type":"string","minLength":1,"description":"House number including any additions","example":"119","uniqueKey":"address.house_number.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"House number including any additions","example":"119","uniqueKey":"address.house_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.house_number","typeLabel":"string | null"}},"required":["zip"],"isRequired":true,"uniqueKey":"address","typeLabel":"object"},"meter":{"type":"object","properties":{"estimated_usage":{"type":"number","minimum":100,"description":"Estimated yearly consumption in kWh","example":2500,"isRequired":true,"uniqueKey":"meter.estimated_usage","typeLabel":"number"},"type":{"oneOf":[{"type":"string","enum":["smart","analog"],"description":"Type of the meter. Must be 'smart' for feed-in plans","example":"smart","uniqueKey":"meter.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["smart","analog"],"description":"Type of the meter. Must be 'smart' for feed-in plans","example":"smart","uniqueKey":"meter.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"meter.type","typeLabel":"enum\u003cstring> | null"},"number":{"oneOf":[{"type":"string","minLength":1,"description":"Meter identification number","example":"1APA0195124010","uniqueKey":"meter.number.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"Meter identification number","example":"1APA0195124010","uniqueKey":"meter.number.oneOf.1","typeLabel":"null"}],"uniqueKey":"meter.number","typeLabel":"string | null"}},"required":["estimated_usage"],"isRequired":true,"uniqueKey":"meter","typeLabel":"object"},"customer":{"oneOf":[{"type":"object","title":"Person","properties":{"type":{"type":"string","enum":["person"],"default":"person","description":"Type of the customer, always 'person'","uniqueKey":"customer.oneOf.0.type","typeLabel":"enum\u003cstring>"},"first_name":{"type":"string","minLength":1,"maxLength":100,"description":"Customer's first name","example":"John","uniqueKey":"customer.oneOf.0.first_name","typeLabel":"string"},"last_name":{"type":"string","minLength":1,"maxLength":100,"description":"Customer's last name","example":"Doe","uniqueKey":"customer.oneOf.0.last_name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email address","example":"john.doe@example.com","uniqueKey":"customer.oneOf.0.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"customer.oneOf.0","typeLabel":"Person · object"},{"type":"null","title":"Person","properties":{"type":{"type":"string","enum":["person"],"default":"person","description":"Type of the customer, always 'person'"},"first_name":{"type":"string","minLength":1,"maxLength":100,"description":"Customer's first name","example":"John"},"last_name":{"type":"string","minLength":1,"maxLength":100,"description":"Customer's last name","example":"Doe"},"email":{"type":"string","format":"email","description":"Email address","example":"john.doe@example.com"}},"uniqueKey":"customer.oneOf.1","typeLabel":"null"},{"type":"object","title":"Company","properties":{"type":{"type":"string","enum":["company"],"description":"Type of the customer, always 'company'","uniqueKey":"customer.oneOf.2.type","typeLabel":"enum\u003cstring>"},"first_name":{"type":"string","minLength":1,"maxLength":100,"description":"First name of the customer","example":"John","uniqueKey":"customer.oneOf.2.first_name","typeLabel":"string"},"last_name":{"type":"string","minLength":1,"maxLength":100,"description":"Last name of the customer","example":"Doe","uniqueKey":"customer.oneOf.2.last_name","typeLabel":"string"},"company_name":{"type":"string","minLength":1,"maxLength":100,"description":"Company name","example":"Example GmbH","uniqueKey":"customer.oneOf.2.company_name","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Email address","example":"gmbh@example.com","uniqueKey":"customer.oneOf.2.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"customer.oneOf.2","typeLabel":"Company · object"},{"type":"null","title":"Company","properties":{"type":{"type":"string","enum":["company"],"description":"Type of the customer, always 'company'"},"first_name":{"type":"string","minLength":1,"maxLength":100,"description":"First name of the customer","example":"John"},"last_name":{"type":"string","minLength":1,"maxLength":100,"description":"Last name of the customer","example":"Doe"},"company_name":{"type":"string","minLength":1,"maxLength":100,"description":"Company name","example":"Example GmbH"},"email":{"type":"string","format":"email","description":"Email address","example":"gmbh@example.com"}},"uniqueKey":"customer.oneOf.3","typeLabel":"null"},{},{"type":"null","uniqueKey":"customer.oneOf.5","typeLabel":"null"}],"uniqueKey":"customer","typeLabel":"Person · object · null · Company · object · null · null"},"payment_method":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["sepa_debit"],"default":"sepa_debit","description":"Type of payment method","example":"sepa_debit","uniqueKey":"payment_method.oneOf.0.type","typeLabel":"enum\u003cstring>"},"sepa_debit":{"type":"object","properties":{"iban":{"oneOf":[{"type":"string","pattern":"^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$","description":"IBAN number. From API version 2026-09-08.gauss its checksum must be valid, and known test IBANs are accepted in the sandbox only.","example":"DE68500105178297336485","uniqueKey":"payment_method.oneOf.0.sepa_debit.iban.oneOf.0","typeLabel":"string"},{"type":"null","pattern":"^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$","description":"IBAN number. From API version 2026-09-08.gauss its checksum must be valid, and known test IBANs are accepted in the sandbox only.","example":"DE68500105178297336485","uniqueKey":"payment_method.oneOf.0.sepa_debit.iban.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment_method.oneOf.0.sepa_debit.iban","typeLabel":"string | null"},"account_holder":{"oneOf":[{"type":"string","minLength":1,"description":"Name of the account holder","example":"John Doe","uniqueKey":"payment_method.oneOf.0.sepa_debit.account_holder.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"description":"Name of the account holder","example":"John Doe","uniqueKey":"payment_method.oneOf.0.sepa_debit.account_holder.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment_method.oneOf.0.sepa_debit.account_holder","typeLabel":"string | null"}},"uniqueKey":"payment_method.oneOf.0.sepa_debit","typeLabel":"object"}},"uniqueKey":"payment_method.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"type":{"type":"string","enum":["sepa_debit"],"default":"sepa_debit","description":"Type of payment method","example":"sepa_debit"},"sepa_debit":{"type":"object","properties":{"iban":{"oneOf":[{"type":"string","pattern":"^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$","description":"IBAN number. From API version 2026-09-08.gauss its checksum must be valid, and known test IBANs are accepted in the sandbox only.","example":"DE68500105178297336485"},{"type":"null","pattern":"^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$","description":"IBAN number. From API version 2026-09-08.gauss its checksum must be valid, and known test IBANs are accepted in the sandbox only.","example":"DE68500105178297336485"}]},"account_holder":{"oneOf":[{"type":"string","minLength":1,"description":"Name of the account holder","example":"John Doe"},{"type":"null","minLength":1,"description":"Name of the account holder","example":"John Doe"}]}}}},"uniqueKey":"payment_method.oneOf.1","typeLabel":"null"}],"uniqueKey":"payment_method","typeLabel":"object | null"},"previous_supplier":{"oneOf":[{"type":"string","description":"ID of the previous supplier, possible to obtain via /suppliers. Only supported for consumption plans.","example":"mp_mi4f0oda6x9m7gcsvjk0ole1","uniqueKey":"previous_supplier.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the previous supplier, possible to obtain via /suppliers. Only supported for consumption plans.","example":"mp_mi4f0oda6x9m7gcsvjk0ole1","uniqueKey":"previous_supplier.oneOf.1","typeLabel":"null"}],"uniqueKey":"previous_supplier","typeLabel":"string | null"},"next_possible_start":{"oneOf":[{"type":"boolean","description":"If set to false we will request the cancellation of the previous supplier / grid operator signup to the date provided in intended_start_date. If set to true we will request the next possible date. ","example":true,"uniqueKey":"next_possible_start.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"If set to false we will request the cancellation of the previous supplier / grid operator signup to the date provided in intended_start_date. If set to true we will request the next possible date. ","example":true,"uniqueKey":"next_possible_start.oneOf.1","typeLabel":"null"}],"uniqueKey":"next_possible_start","typeLabel":"boolean | null"},"intended_start_date":{"oneOf":[{"type":"string","format":"date","description":"Intended start date of the subscription. Must be a date in the future. For feed-in plans it must be the first day of a month, at least one month in the future; when omitted, the next possible production start date is used.","example":"2024-01-01","uniqueKey":"intended_start_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Intended start date of the subscription. Must be a date in the future. For feed-in plans it must be the first day of a month, at least one month in the future; when omitted, the next possible production start date is used.","example":"2024-01-01","uniqueKey":"intended_start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"intended_start_date","typeLabel":"string\u003cdate> | null"},"change_reason":{"type":"string","enum":["supplier_change","move_in"],"description":"Reason of changing the supplier","example":"supplier_change","uniqueKey":"change_reason","typeLabel":"enum\u003cstring>"},"created_by":{"oneOf":[{"type":"string","description":"Email of the user who created the lead","example":"john.doe@example.com","uniqueKey":"created_by.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email of the user who created the lead","example":"john.doe@example.com","uniqueKey":"created_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by","typeLabel":"string | null"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"Metadata of the lead, can be internal data","example":{"utm_source":"google","utm_campaign":"campaign_name","user_id":"1234567890"},"uniqueKey":"metadata","typeLabel":"object"}},"required":["plan","address","meter"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"plan":"pln_mi4f0oda6x9m7gcsvjk0ole1","address":{"zip":"10115","street":"Torstraße","city":"Berlin","house_number":"119"},"meter":{"estimated_usage":2500,"type":"smart","number":"1APA0195124010"},"customer":{"type":"person","first_name":"John","last_name":"Doe","email":"john.doe@example.com"},"payment_method":{"type":"sepa_debit","sepa_debit":{"iban":"DE68500105178297336485","account_holder":"John Doe"}},"previous_supplier":"mp_mi4f0oda6x9m7gcsvjk0ole1","next_possible_start":true,"intended_start_date":"2024-01-01","change_reason":"supplier_change","created_by":"john.doe@example.com","metadata":{"utm_source":"google","utm_campaign":"campaign_name","user_id":"1234567890"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a148b702-5538-4b27-99a4-565d875582c8":{"description":"The created lead details","content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","enum":["lead"],"isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"Unique identifier for the lead","example":"lead_a8n8ol7yd4h0wohx824f0bui","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"link":{"type":"string","description":"URL of the lead","example":"https://nomos.checkout.energy?id=lead_a8n8ol7yd4h0wohx824f0bui","isRequired":true,"uniqueKey":"link","typeLabel":"string"},"created_at":{"oneOf":[{"type":"string","description":"Timestamp when the lead was created","example":"2024-03-14T12:00:00Z","isRequired":true,"uniqueKey":"created_at.oneOf.0","typeLabel":"string"},{"type":"string","description":"Timestamp when the lead was created","format":"date-time","example":"2024-03-14T12:00:00Z","isRequired":true,"uniqueKey":"created_at.oneOf.1","typeLabel":"string\u003cdate-time>"}],"isRequired":true,"uniqueKey":"created_at","typeLabel":"string | string\u003cdate-time>"},"subscription":{"oneOf":[{"type":"string","description":"ID of the subscription, if the lead is converted to a subscription","example":"sub_a8n8ol7yd4h0wohx824f0bui","uniqueKey":"subscription.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID of the subscription, if the lead is converted to a subscription","example":"sub_a8n8ol7yd4h0wohx824f0bui","uniqueKey":"subscription.oneOf.1","typeLabel":"null"}],"uniqueKey":"subscription","typeLabel":"string | null"},"subscribed_at":{"oneOf":[{"type":"string","description":"Timestamp when the lead was converted to a subscription","example":"2024-03-14T12:00:00Z","uniqueKey":"subscribed_at.oneOf.0","typeLabel":"string"},{"type":"string","description":"Timestamp when the lead was converted to a subscription","format":"date-time","example":"2024-03-14T12:00:00Z","uniqueKey":"subscribed_at.oneOf.1","typeLabel":"string\u003cdate-time>"},{"description":"Timestamp when the lead was converted to a subscription","example":"2024-03-14T12:00:00Z","uniqueKey":"subscribed_at.oneOf.2","typeLabel":"any"},{"type":"null","description":"Timestamp when the lead was converted to a subscription","example":"2024-03-14T12:00:00Z","uniqueKey":"subscribed_at.oneOf.3","typeLabel":"null"}],"uniqueKey":"subscribed_at","typeLabel":"string | string\u003cdate-time> | any | null"},"created_by":{"oneOf":[{"type":"string","description":"Email of the user who created the lead","example":"john.doe@example.com","uniqueKey":"created_by.oneOf.0","typeLabel":"string"},{"type":"null","description":"Email of the user who created the lead","example":"john.doe@example.com","uniqueKey":"created_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"created_by","typeLabel":"string | null"},"last_visited_at":{"oneOf":[{"type":"string","description":"Timestamp when the lead was last visited","example":"2024-03-14T12:00:00Z","uniqueKey":"last_visited_at.oneOf.0","typeLabel":"string"},{"type":"string","description":"Timestamp when the lead was last visited","format":"date-time","example":"2024-03-14T12:00:00Z","uniqueKey":"last_visited_at.oneOf.1","typeLabel":"string\u003cdate-time>"},{"description":"Timestamp when the lead was last visited","example":"2024-03-14T12:00:00Z","uniqueKey":"last_visited_at.oneOf.2","typeLabel":"any"},{"type":"null","description":"Timestamp when the lead was last visited","example":"2024-03-14T12:00:00Z","uniqueKey":"last_visited_at.oneOf.3","typeLabel":"null"}],"uniqueKey":"last_visited_at","typeLabel":"string | string\u003cdate-time> | any | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"null"},"description":"Metadata of the lead, can be internal data","example":{"utm_source":"google","utm_campaign":"campaign_name","user_id":"1234567890"},"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"metadata.oneOf.1.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"null"},"description":"Metadata of the lead, can be internal data","example":{"utm_source":"google","utm_campaign":"campaign_name","user_id":"1234567890"},"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"}},"required":["object","id","link","created_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"lead","id":"lead_a8n8ol7yd4h0wohx824f0bui","link":"https://nomos.checkout.energy?id=lead_a8n8ol7yd4h0wohx824f0bui","created_at":"2024-03-14T12:00:00Z","subscription":"sub_a8n8ol7yd4h0wohx824f0bui","subscribed_at":"2024-03-14T12:00:00Z","created_by":"john.doe@example.com","last_visited_at":"2024-03-14T12:00:00Z","metadata":{"utm_source":"google","utm_campaign":"campaign_name","user_id":"1234567890"}}}},"exampleType":"generated"}},"exampleType":"generated"},"fe329cf5-d365-4a8c-a041-02122f33c52a":{"description":"The request is invalid: a field fails validation, breaks a business rule, or the body is not valid JSON. `errors` lists every problem with its field.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["BAD_REQUEST"],"description":"The error code related to the status code.","example":"BAD_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human readable message describing the issue.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"The request id to be used for debugging and error reporting.","example":"37a04f8f-e791-491c-81e1-86cd304649bb","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"docs":{"type":"string","description":"The docs related to the error code.","example":"https://docs.nomos.energy/api-references/errors/BAD_REQUEST","isRequired":true,"uniqueKey":"docs","typeLabel":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong with the field, such as `invalid_type` or `asset_not_found`. `x-extensible-enum` lists the values known today. New values can be added in any API version, so treat an unknown value like any other error of the response's status.","example":"invalid_type","x-extensible-enum":["invalid_type","too_big","too_small","invalid_format","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","invalid_value","custom","unserviceable_zip","ended_subscription","duplicate_grid_reduction","missing_smart_meter","missing_module_1","incompatible_grid_reduction","unsupported_product","unsupported_meter_order","duplicate_meter_order","unsupported_meter","out_of_period_meter_reading","unsupported_meter_reading","duplicate_meter_reading","implausible_meter_reading","duplicate_customer_email","invalid_iban","upgrade_api_version","withdrawal_not_allowed","invalid_termination_date","subscription_not_started","terminated_subscription","missing_household","invalid_household_customer","invalid_household_meter","duplicate_consumption_subscription","invalid_inverter","read_only_asset","duplicate_external_id","asset_has_children","asset_decommissioned","asset_not_found","mixed_households","field_not_allowed","invalid_direction","duplicate_timestamp","asset_not_steerable","mode_not_allowed","slot_missing"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"field":{"type":"string","example":"customer.email","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","example":"Invalid input: expected string, received undefined","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"required":["code","field","message"],"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Per-field breakdown of a validation or business-rule failure. Omitted for API versions before the structured-errors cutoff.","uniqueKey":"errors","typeLabel":"object[]"}},"required":["code","message","requestId","docs"],"uniqueKey":"","typeLabel":"object"},"examples":{"Missing meter":{"title":"Missing meter","value":{"code":"BAD_REQUEST","message":"Invalid input: expected object, received undefined","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/BAD_REQUEST","errors":[{"code":"invalid_type","field":"meter","message":"Invalid input: expected object, received undefined"}]}},"Estimated usage under 100 kWh":{"title":"Estimated usage under 100 kWh","value":{"code":"BAD_REQUEST","message":"Estimated consumption must be at least 100 kWh","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/BAD_REQUEST","errors":[{"code":"too_small","field":"meter.estimated_usage","message":"Estimated consumption must be at least 100 kWh"}]}},"Unknown plan":{"title":"Unknown plan","value":{"code":"BAD_REQUEST","message":"Plan not found","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/BAD_REQUEST"}},"Body is not valid JSON":{"title":"Body is not valid JSON","value":{"code":"BAD_REQUEST","message":"Malformed JSON in request body","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/BAD_REQUEST"}},"Unsupported version header":{"title":"Unsupported version header","value":{"code":"BAD_REQUEST","message":"Version header 2026-01-01.foo is invalid.","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/BAD_REQUEST"}}},"exampleType":"examples"}},"exampleType":"examples"},"109b5d91-c4d2-4962-b597-09ec565deb37":{"description":"The access token is missing, expired or invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHORIZED"],"description":"The error code related to the status code.","example":"UNAUTHORIZED","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human readable message describing the issue.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"The request id to be used for debugging and error reporting.","example":"37a04f8f-e791-491c-81e1-86cd304649bb","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"docs":{"type":"string","description":"The docs related to the error code.","example":"https://docs.nomos.energy/api-references/errors/UNAUTHORIZED","isRequired":true,"uniqueKey":"docs","typeLabel":"string"}},"required":["code","message","requestId","docs"],"uniqueKey":"","typeLabel":"object"},"examples":{"No token":{"title":"No token","value":{"code":"UNAUTHORIZED","message":"No authorization header provided.","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/UNAUTHORIZED"}},"Expired token":{"title":"Expired token","value":{"code":"UNAUTHORIZED","message":"Token expired","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/UNAUTHORIZED"}},"Invalid token":{"title":"Invalid token","value":{"code":"UNAUTHORIZED","message":"Invalid or malformed token","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/UNAUTHORIZED"}}},"exampleType":"examples"}},"exampleType":"examples"},"c8cfa45a-a38d-4c46-b3e3-ed3301b0a427":{"description":"The access token is valid but not allowed to use this endpoint.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["FORBIDDEN"],"description":"The error code related to the status code.","example":"FORBIDDEN","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human readable message describing the issue.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"The request id to be used for debugging and error reporting.","example":"37a04f8f-e791-491c-81e1-86cd304649bb","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"docs":{"type":"string","description":"The docs related to the error code.","example":"https://docs.nomos.energy/api-references/errors/FORBIDDEN","isRequired":true,"uniqueKey":"docs","typeLabel":"string"}},"required":["code","message","requestId","docs"],"uniqueKey":"","typeLabel":"object"},"examples":{"Role without access":{"title":"Role without access","value":{"code":"FORBIDDEN","message":"Forbidden to access this route.","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/FORBIDDEN"}},"Token without scope":{"title":"Token without scope","value":{"code":"FORBIDDEN","message":"Insufficient scope: write:* required.","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/FORBIDDEN"}},"Customer token without customer":{"title":"Customer token without customer","value":{"code":"FORBIDDEN","message":"Customer not found.","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/FORBIDDEN"}}},"exampleType":"examples"}},"exampleType":"examples"},"227c864a-a81d-4a77-83d0-c39891580122":{"description":"A resource in the path or the body does not exist or belongs to another organization, or the endpoint does not exist in the API version of your token.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["NOT_FOUND"],"description":"The error code related to the status code.","example":"NOT_FOUND","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human readable message describing the issue.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"The request id to be used for debugging and error reporting.","example":"37a04f8f-e791-491c-81e1-86cd304649bb","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"docs":{"type":"string","description":"The docs related to the error code.","example":"https://docs.nomos.energy/api-references/errors/NOT_FOUND","isRequired":true,"uniqueKey":"docs","typeLabel":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"What is wrong with the field, such as `invalid_type` or `asset_not_found`. `x-extensible-enum` lists the values known today. New values can be added in any API version, so treat an unknown value like any other error of the response's status.","example":"invalid_type","x-extensible-enum":["invalid_type","too_big","too_small","invalid_format","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","invalid_value","custom","unserviceable_zip","ended_subscription","duplicate_grid_reduction","missing_smart_meter","missing_module_1","incompatible_grid_reduction","unsupported_product","unsupported_meter_order","duplicate_meter_order","unsupported_meter","out_of_period_meter_reading","unsupported_meter_reading","duplicate_meter_reading","implausible_meter_reading","duplicate_customer_email","invalid_iban","upgrade_api_version","withdrawal_not_allowed","invalid_termination_date","subscription_not_started","terminated_subscription","missing_household","invalid_household_customer","invalid_household_meter","duplicate_consumption_subscription","invalid_inverter","read_only_asset","duplicate_external_id","asset_has_children","asset_decommissioned","asset_not_found","mixed_households","field_not_allowed","invalid_direction","duplicate_timestamp","asset_not_steerable","mode_not_allowed","slot_missing"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"field":{"type":"string","example":"customer.email","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","example":"Invalid input: expected string, received undefined","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"}},"required":["code","field","message"],"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"Per-field breakdown of a validation or business-rule failure. Omitted for API versions before the structured-errors cutoff.","uniqueKey":"errors","typeLabel":"object[]"}},"required":["code","message","requestId","docs"],"uniqueKey":"","typeLabel":"object"},"examples":{"Endpoint not in your API version":{"title":"Endpoint not in your API version","value":{"code":"NOT_FOUND","message":"There is no POST /leads in API version 2025-12-01.chucky.","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/NOT_FOUND"}}},"exampleType":"examples"}},"exampleType":"examples"},"a2f2b834-cd7d-41eb-b543-1a3ffe0daf9f":{"description":"Something went wrong on our side. Retry later, and send us the `requestId` if it persists.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","enum":["INTERNAL_SERVER_ERROR"],"description":"The error code related to the status code.","example":"INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human readable message describing the issue.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"requestId":{"type":"string","description":"The request id to be used for debugging and error reporting.","example":"37a04f8f-e791-491c-81e1-86cd304649bb","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"docs":{"type":"string","description":"The docs related to the error code.","example":"https://docs.nomos.energy/api-references/errors/INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"docs","typeLabel":"string"}},"required":["code","message","requestId","docs"],"uniqueKey":"","typeLabel":"object"},"examples":{"Unexpected error":{"title":"Unexpected error","value":{"code":"INTERNAL_SERVER_ERROR","message":"Internal Server Error","requestId":"37a04f8f-e791-491c-81e1-86cd304649bb","docs":"https://docs.nomos.energy/api-references/errors/INTERNAL_SERVER_ERROR"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"5610c977-ff57-4728-85d9-b4007c63ec9a":{"Bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"}}},"servers":{"8aeb71fd-a605-4830-84ed-bf23c4f7b708":{"url":"https://api.nomos.energy","description":"production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"}]},"originalFileLocation":"openapi/openapi.curie.json"},"subdomain":"riverslate","siteName":"Nomos","title":"Create a lead - Nomos","navMaps":{"firstHrefInVersion":{"2026-09-08.gauss (preview)":{"href":"/api-reference-2026-09-08-gauss/leads/create-a-lead","matchLevel":1},"2026-05-27.curie":{"href":"/api-reference/leads/create-a-lead","matchLevel":0},"2026-01-29.edison":{"href":"/api-reference-2026-01-29-edison/leads/create-a-lead","matchLevel":1},"2025-12-16.batman":{"href":"/api-reference-2025-12-16-batman/leads/create-a-lead","matchLevel":1},"2025-12-01.chucky":{"href":"/api-reference-2025-12-01-chucky/leads/create-a-lead","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T07:50:06.111Z","originalFileLocation":"api-reference/leads/create-a-lead.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=\"light\"}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=\"This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the \u0026quot;link\u0026quot; property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nomos\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/riverslate/iILQM7kXCjcV9kRT/_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/riverslate/iILQM7kXCjcV9kRT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/riverslate/iILQM7kXCjcV9kRT/_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/riverslate/iILQM7kXCjcV9kRT/_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/riverslate/iILQM7kXCjcV9kRT/_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/riverslate/iILQM7kXCjcV9kRT/_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/riverslate/iILQM7kXCjcV9kRT/_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/riverslate/iILQM7kXCjcV9kRT/_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/riverslate/iILQM7kXCjcV9kRT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a lead - Nomos\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the \u0026quot;link\u0026quot; property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nomos\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nomos.energy/api-reference/leads/create-a-lead\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://riverslate.mintlify.app/_mintlify/api/og/v2?division=Leads\u0026amp;title=Create+a+lead\u0026amp;description=This+endpoint+can+be+used+to+create+a+secure%2C+pre-filled+checkout+link.+The+link+%28returned+in+the+%22link%22+property%29+contains+all+provided+customer%2C+address+and+m\u0026amp;theme=5668da0c231285124c856495\u0026amp;signature=1614c91c12ccb176d6ba8473e9977f3c11571caf93a5f7938795de23812f2c05\">\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=\"Create a lead - Nomos\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the \u0026quot;link\u0026quot; property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://riverslate.mintlify.app/_mintlify/api/og/v2?division=Leads\u0026amp;title=Create+a+lead\u0026amp;description=This+endpoint+can+be+used+to+create+a+secure%2C+pre-filled+checkout+link.+The+link+%28returned+in+the+%22link%22+property%29+contains+all+provided+customer%2C+address+and+m\u0026amp;theme=5668da0c231285124c856495\u0026amp;signature=1614c91c12ccb176d6ba8473e9977f3c11571caf93a5f7938795de23812f2c05\">\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/riverslate/iILQM7kXCjcV9kRT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nomos\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1b1915\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nomos.energy/api-reference/leads/create-a-lead\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/leads/create-a-lead.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nomos.energy/#organization\",\"name\":\"Nomos\",\"url\":\"https://docs.nomos.energy\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/riverslate/0nQqndf6SGR4MtUC/logo/light.svg?fit=max\u0026auto=format\u0026n=0nQqndf6SGR4MtUC\u0026q=85\u0026s=99c5d32286bf07989f99539ad1584d34\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nomos.energy#website\",\"name\":\"Nomos\",\"url\":\"https://docs.nomos.energy\",\"publisher\":{\"@id\":\"https://docs.nomos.energy/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nomos.energy/api-reference/leads/create-a-lead#webpage\",\"url\":\"https://docs.nomos.energy/api-reference/leads/create-a-lead\",\"name\":\"Create a lead\",\"description\":\"This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the \\\"link\\\" property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.\",\"dateModified\":\"2026-10-22T07:50:06.111Z\",\"isPartOf\":{\"@id\":\"https://docs.nomos.energy#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nomos.energy/api-reference/leads/create-a-lead#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nomos.energy/api-reference/leads/create-a-lead#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.nomos.energy/api-reference/plans/list-plans\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Leads\",\"item\":\"https://docs.nomos.energy/api-reference/leads/list-leads\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a lead\",\"item\":\"https://docs.nomos.energy/api-reference/leads/create-a-lead\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nomos.energy/api-reference/leads/create-a-lead#apireference\",\"headline\":\"Create a lead\",\"name\":\"Create a lead\",\"description\":\"This endpoint can be used to create a secure, pre-filled checkout link. The link (returned in the \\\"link\\\" property) contains all provided customer, address and meter data, allowing the prospect to finalize their signup with only providing the missing payment information, essentially enabling a 2-click checkout experience. Leads are tracked in the Nomos Dashboard for detailed conversion analytics. Leads can be created for both consumption and feed-in plans.\",\"url\":\"https://docs.nomos.energy/api-reference/leads/create-a-lead\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nomos.energy/api-reference/leads/create-a-lead#webpage\"},\"dateModified\":\"2026-10-22T07:50:06.111Z\",\"publisher\":{\"@id\":\"https://docs.nomos.energy/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nomos.energy#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nomos\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nomos","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/home"}]},{"tab":"API Reference","icon":"code","versions":[{"version":"2026-09-08.gauss (preview)","pages":[{"title":"2026-09-08.gauss (preview)","href":"/api-reference-2026-09-08-gauss/leads/create-a-lead"}]},{"version":"2026-05-27.curie","default":true,"groups":[{"group":" ","pages":[{"title":"API Reference","sidebarTitle":"Introduction","href":"/api-references/introduction"},{"title":"Authentication","href":"/api-references/authentication"},{"title":"Versioning","href":"/api-references/versioning"},{"title":"Pagination","href":"/api-references/pagination"},{"title":"Filtering","href":"/api-references/filtering"},{"title":"Errors","href":"/api-references/errors"},{"title":"Changelog","href":"/api-references/changelog"}]},{"group":"API Reference","pages":[{"group":"Plans","pages":[{"title":"List plans","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /plans","href":"/api-reference/plans/list-plans"},{"title":"Retrieve a plan","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /plans/{id}","href":"/api-reference/plans/retrieve-a-plan"},{"title":"Retrieve a quote","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /plans/{id}/quote","href":"/api-reference/plans/retrieve-a-quote"}]},{"group":"Leads","pages":[{"title":"List leads","description":"Retrieve all leads with cursor pagination. Leads for feed-in plans are only available from the `2026-05-27.curie` API version onwards.","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /leads","href":"/api-reference/leads/list-leads"},{"title":"Create a lead","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /leads","href":"/api-reference/leads/create-a-lead"},{"title":"Retrieve a lead","description":"Retrieve lead details by its id","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /leads/{id}","href":"/api-reference/leads/retrieve-a-lead"}]},{"group":"Subscriptions","pages":[{"title":"Retrieve a subscription","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /subscriptions/{id}","href":"/api-reference/subscriptions/retrieve-a-subscription"},{"title":"Update a subscription","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json patch /subscriptions/{id}","href":"/api-reference/subscriptions/update-a-subscription"},{"title":"Terminate a subscription","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /subscriptions/{id}/terminate","href":"/api-reference/subscriptions/terminate-a-subscription"},{"title":"List subscriptions","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /subscriptions","href":"/api-reference/subscriptions/list-subscriptions"},{"title":"Create a subscription","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /subscriptions","href":"/api-reference/subscriptions/create-a-subscription"}]},{"group":"Customers","pages":[{"title":"Retrieve a customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /customers/{id}","href":"/api-reference/customers/retrieve-a-customer"},{"title":"Update a customer","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json patch /customers/{id}","href":"/api-reference/customers/update-a-customer"},{"title":"List customers","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /customers","href":"/api-reference/customers/list-customers"}]},{"group":"Usage","pages":[{"title":"Retrieve usage data","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /subscriptions/{id}/usage","href":"/api-reference/usage/retrieve-usage-data"},{"title":"List meter readings","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /meter-readings","href":"/api-reference/usage/list-meter-readings"},{"title":"Create a meter reading","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /meter-readings","href":"/api-reference/usage/create-a-meter-reading"},{"title":"Create a load forecast","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /load-forecasts","href":"/api-reference/usage/create-a-load-forecast"}]},{"group":"Prices","pages":[{"title":"Retrieve a subscription price time series","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /subscriptions/{id}/prices","href":"/api-reference/prices/retrieve-a-subscription-price-time-series"}]},{"group":"Invoices","pages":[{"title":"Retrieve an invoice","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /invoices/{id}","href":"/api-reference/invoices/retrieve-an-invoice"},{"title":"List invoices","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /invoices","href":"/api-reference/invoices/list-invoices"},{"title":"Retrieve an invoice PDF","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /invoices/{id}/file","href":"/api-reference/invoices/retrieve-an-invoice-pdf"}]},{"group":"Smart Meter Orders","pages":[{"title":"Retrieve a smart meter order","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /meter-orders/{id}","href":"/api-reference/smart-meter-orders/retrieve-a-smart-meter-order"},{"title":"List smart meter orders","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /meter-orders","href":"/api-reference/smart-meter-orders/list-smart-meter-orders"},{"title":"Create a smart meter order","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /meter-orders","href":"/api-reference/smart-meter-orders/create-a-smart-meter-order"}]},{"group":"Grid Fee Reductions","pages":[{"title":"List grid fee reductions","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /grid-fee-reductions","href":"/api-reference/grid-fee-reductions/list-grid-fee-reductions"},{"title":"Create a grid fee reduction","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /grid-fee-reductions","href":"/api-reference/grid-fee-reductions/create-a-grid-fee-reduction"},{"title":"Retrieve a grid fee reduction","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /grid-fee-reductions/{id}","href":"/api-reference/grid-fee-reductions/retrieve-a-grid-fee-reduction"}]},{"group":"Market Partners","pages":[{"title":"List market partners","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /market-partners","href":"/api-reference/market-partners/list-market-partners"}]},{"group":"Events","pages":[{"title":"Retrieve an event","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /events/{id}","href":"/api-reference/events/retrieve-an-event"}]},{"group":"Authentication","pages":[{"title":"Create a token","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /oauth/token","href":"/api-reference/authentication/create-a-token"},{"title":"Authorize","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json get /oauth/authorize","href":"/api-reference/authentication/authorize"},{"title":"Create a magic link (customer portal)","deprecated":null,"version":null,"openapi":"/openapi/openapi.curie.json post /admin/magic_link","href":"/api-reference/authentication/create-a-magic-link-customer-portal"}]}]}]},{"version":"2026-01-29.edison","pages":[{"title":"2026-01-29.edison","href":"/api-reference-2026-01-29-edison/leads/create-a-lead"}]},{"version":"2025-12-16.batman","pages":[{"title":"2025-12-16.batman","href":"/api-reference-2025-12-16-batman/leads/create-a-lead"}]},{"version":"2025-12-01.chucky","pages":[{"title":"2025-12-01.chucky","href":"/api-reference-2025-12-01-chucky/leads/create-a-lead"}]}]},{"tab":"Webhooks","icon":"webhook","pages":[{"title":"Webhooks","href":"/webhooks/introduction"}]}]},"title":"Create a lead - Nomos","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}