Webhook for updates to an existing utility account connection v2
Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes protectedChanges (sensitive fields that changed) and old (previous field values).
True when at least one account on this connection has the occupancy override enabled. Occupancy is configured per account (see the accounts array); this connection-level view is retained for backwards compatibility.
Tracks if there are any changes to any secure connection details. Array that may contain any of the following fields: username, password, securityQuestions.
Observable connection status, read-only to API clients. DEACTIVATED means the connection has been deactivated via isActive=False. COMPANY_INACTIVE means the parent company was deactivated. All other values reflect the most recent scrape outcome. See the connection lifecycle docs for the full enum and what each value means.
Initial sites associated with this connection. Initial sites are often useful to manually associate sites with the connection before the connection is validated or onboarded.
Initial datasource types associated with this workflow. Initial datasource types are used to filter the workflows when the number of datasource types associated via accounts is 0.
Utility login / data owner email address. This person will receive notifications if data is missing or if the utility data connection is misconfigured.
Date when data collection for the workflow begins. This is the date from which Nectar will pull historical data. This field overrides the site and company level dataCollectionStartDate fields.
Whether this connection is actively collecting data. When set to False, the connection stops collecting new data but all historical data is preserved, and the status field will reflect as DEACTIVATED. Set to True to reactivate data collection. This is the preferred way to deactivate a connection instead of deleting it.
Response
200
No response body
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nectar Knowledge Base","colors":{"primary":"#092A54","light":"#3B82F6","dark":"#092A54"},"logo":{"light":"https://mintcdn.com/nectar/XTv6xdiQoWsCyg3G/logo/light.svg?fit=max\u0026auto=format\u0026n=XTv6xdiQoWsCyg3G\u0026q=85\u0026s=8b28e329f1aad1d1fbf3022d179cd34e","dark":"https://mintcdn.com/nectar/XTv6xdiQoWsCyg3G/logo/dark.svg?fit=max\u0026auto=format\u0026n=XTv6xdiQoWsCyg3G\u0026q=85\u0026s=12755083e4efe9b6e55b2f5bd4a71673"},"favicon":"https://mintcdn.com/nectar/XTv6xdiQoWsCyg3G/favicon.svg?fit=max\u0026auto=format\u0026n=XTv6xdiQoWsCyg3G\u0026q=85\u0026s=0442a8655f01c969dbb6dfb7a187d797","navbar":{"links":[{"href":"mailto:support@nectarclimate.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dash.nectarclimate.com"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/nectarclimate"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dash.nectarclimate.com"},{"anchor":"Support","icon":"envelope","href":"mailto:support@nectarclimate.com"},{"anchor":"Status","icon":"signal","href":"https://stats.uptimerobot.com/rICwZ0oMLI"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nectar","hasAudioNarration":false,"actualSubdomain":"nectar","customDomains":["nectarclimate.com"],"gitSource":{"type":"github","owner":"project-pairly","repo":"nectar","deployBranch":"production","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad6d384536dd68dd9ccfac8","collectionId":"ff45001c-a2bb-4acf-a3b6-e7a83bf9339a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad6d384536dd68dd9ccfac8"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6adff6624c95040b1f492aac","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"API Reference","count":191},{"language":"default","tag":"Knowledge Base","count":153},{"language":"default","tag":"Data Input","count":58},{"language":"default","tag":"Utility-Specific MFA Guides","count":44},{"language":"default","tag":"Connections","count":27},{"language":"default","tag":"Usage Data","count":24},{"language":"default","tag":"Webhook Payloads","count":24},{"language":"default","tag":"Developer Guide","count":18},{"language":"default","tag":"Sites","count":18},{"language":"default","tag":"Meters","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"workos-sso-scim","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":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2","slug":"/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2","pageMetadata":{"title":"Webhook for updates to an existing utility account connection v2","description":"Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes `protectedChanges` (sensitive fields that changed) and `old` (previous field values).","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook connection.updated.v2","href":"/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes \", _jsx(_components.code, {\n children: \"protectedChanges\"\n }), \" (sensitive fields that changed) and \", _jsx(_components.code, {\n children: \"old\"\n }), \" (previous field values).\"]\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":"Webhook for updates to an existing utility account connection v2","description":"Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes `protectedChanges` (sensitive fields that changed) and `old` (previous field values).","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook connection.updated.v2","href":"/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes `protectedChanges` (sensitive fields that changed) and `old` (previous field values).","summary":"Webhook for updates to an existing utility account connection (V2).","tags":["Webhook Payloads"],"requestBody":"e147e9c0-7fb4-40a8-b89f-174df062a10c","responses":{"200":"902db79b-eea1-4796-8543-76aeac69c9de"},"method":"post","type":"webhook","servers":["3c784457-d287-45bf-a196-1d18b2b71648"],"security":[],"path":"connection.updated.v2","baseUrlOptions":["https://external.nectarclimate.com/v2.1"],"title":"Webhook for updates to an existing utility account connection (V2).","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"language":"json","filename":"Example","code":"{\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"created\": \"2023-11-07T05:31:56Z\",\n \"multiplyByOccupancy\": true,\n \"eventType\": \"\u003cstring>\",\n \"protectedChanges\": [\n \"\u003cstring>\"\n ],\n \"old\": {\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"created\": \"2023-11-07T05:31:56Z\",\n \"multiplyByOccupancy\": true,\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"externalId\": \"\u003cstring>\",\n \"accounts\": [],\n \"url\": \"\u003cstring>\",\n \"initialSites\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"initialDatasourceTypes\": [],\n \"username\": \"\u003cstring>\",\n \"workflowOwnerEmail\": \"jsmith@example.com\",\n \"dataCollectionStartDate\": \"2023-12-25\",\n \"isActive\": true\n },\n \"updated\": \"2023-11-07T05:31:56Z\",\n \"externalId\": \"\u003cstring>\",\n \"accounts\": [],\n \"url\": \"\u003cstring>\",\n \"initialSites\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ],\n \"initialDatasourceTypes\": [],\n \"username\": \"\u003cstring>\",\n \"workflowOwnerEmail\": \"jsmith@example.com\",\n \"dataCollectionStartDate\": \"2023-12-25\",\n \"isActive\": true\n}"}],"requestExampleType":"webhook","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Webhook payload sent when a connection is updated or validated.","properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the utility account connection.","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"created":{"type":"string","format":"date-time","description":"Timestamp when the utility account connection was created.","isRequired":true,"uniqueKey":"created","typeLabel":"string\u003cdate-time>"},"multiplyByOccupancy":{"type":"boolean","description":"True when at least one account on this connection has the occupancy override enabled. Occupancy is configured per account (see the accounts array); this connection-level view is retained for backwards compatibility.","isRequired":true,"uniqueKey":"multiplyByOccupancy","typeLabel":"boolean"},"eventType":{"type":"string","description":"Type of event.","isRequired":true,"uniqueKey":"eventType","typeLabel":"string"},"protectedChanges":{"type":"array","items":{"type":"string","uniqueKey":"protectedChanges.items.[INDEX]","typeLabel":"string"},"description":"Tracks if there are any changes to any secure connection details. Array that may contain any of the following fields: username, password, securityQuestions. ","isRequired":true,"uniqueKey":"protectedChanges","typeLabel":"string[]"},"old":{"oneOf":[{"type":"object","description":"Object with the old values of the connection. Same format as parent object.","required":["created","id","multiplyByOccupancy"],"properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the utility account connection.","isRequired":true,"uniqueKey":"old.oneOf.0.id","typeLabel":"string\u003cuuid>"},"created":{"type":"string","format":"date-time","description":"Timestamp when the utility account connection was created.","isRequired":true,"uniqueKey":"old.oneOf.0.created","typeLabel":"string\u003cdate-time>"},"multiplyByOccupancy":{"type":"boolean","description":"True when at least one account on this connection has the occupancy override enabled. Occupancy is configured per account (see the accounts array); this connection-level view is retained for backwards compatibility.","isRequired":true,"uniqueKey":"old.oneOf.0.multiplyByOccupancy","typeLabel":"boolean"},"updated":{"type":"string","format":"date-time","description":"Timestamp when the utility account connection was last updated.","uniqueKey":"old.oneOf.0.updated","typeLabel":"string\u003cdate-time>"},"externalId":{"oneOf":[{"type":"string","description":"External identifier for the connection. Used to associate this connection in Nectar with a connection within your database.","uniqueKey":"old.oneOf.0.externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"External identifier for the connection. Used to associate this connection in Nectar with a connection within your database.","uniqueKey":"old.oneOf.0.externalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"old.oneOf.0.externalId","typeLabel":"string | null"},"datasource":{"type":"object","description":"Datasource / utility provider associated with the connection.","required":["name","url"],"properties":{"name":{"type":"string","description":"Name of the utility company / utility provider.","maxLength":200,"isRequired":true,"uniqueKey":"old.oneOf.0.datasource.name","typeLabel":"string"},"url":{"type":"string","description":"Brand-specific portal entry point URL. Optional for email-only providers.","maxLength":2083,"isRequired":true,"uniqueKey":"old.oneOf.0.datasource.url","typeLabel":"string"}},"uniqueKey":"old.oneOf.0.datasource","typeLabel":"object"},"accounts":{"type":"array","items":{"type":"object","description":"Skeleton serializer for externally available fields of an Account object.","properties":{"id":{"type":"string","format":"uuid","description":"UUID of the account.","isRequired":true,"uniqueKey":"old.oneOf.0.accounts.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"meters":{"type":"array","items":{"type":"string","format":"uuid","description":"UUID of the meter site usage data entry.","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].meters.items.[INDEX]","typeLabel":"string\u003cuuid>"},"isRequired":true,"uniqueKey":"old.oneOf.0.accounts.items.[INDEX].meters","typeLabel":"string\u003cuuid>[]"},"isTracked":{"type":"boolean","description":"Deprecated boolean alias. UNSET is treated as True for backward compatibility.","isRequired":true,"uniqueKey":"old.oneOf.0.accounts.items.[INDEX].isTracked","typeLabel":"boolean"},"isDuplicated":{"type":"string","isRequired":true,"uniqueKey":"old.oneOf.0.accounts.items.[INDEX].isDuplicated","typeLabel":"string"},"accountNumber":{"type":"string","description":"The actual account number. For utilities without account numbers, leave blank.","maxLength":200,"uniqueKey":"old.oneOf.0.accounts.items.[INDEX].accountNumber","typeLabel":"string"},"trackingStatus":{"enum":["ENABLED","DISABLED","UNSET"],"type":"string","description":"User-mutable tracking intent for this account. When set to DISABLED, data collection stops and the status field reflects as CUSTOMER_NOT_TRACKED. ENABLED resumes data collection. UNSET means no tracking decision has been made yet.\n\n* `ENABLED` - Enabled\n* `DISABLED` - Disabled\n* `UNSET` - Unset","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].trackingStatus","typeLabel":"enum\u003cstring>"},"dataCollectionStartDate":{"oneOf":[{"type":"string","format":"date","description":"Date when data collection for the account begins. This is the date from which Nectar will pull historical data. This field overrides the site, company, and connection level dataCollectionStartDate fields.","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].dataCollectionStartDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date when data collection for the account begins. This is the date from which Nectar will pull historical data. This field overrides the site, company, and connection level dataCollectionStartDate fields.","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].dataCollectionStartDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"old.oneOf.0.accounts.items.[INDEX].dataCollectionStartDate","typeLabel":"string\u003cdate> | null"},"isCollectingInvoiceData":{"type":"boolean","description":"Indicates whether this account is collecting invoice data. If True, Nectar will collect invoice data with a maximum granularity of weekly intervals.","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].isCollectingInvoiceData","typeLabel":"boolean"},"isCollectingSmartMeterData":{"type":"boolean","description":"Indicates whether this account is smart metered. If True, Nectar will collect metered data with a maximum granularity of daily intervals.","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].isCollectingSmartMeterData","typeLabel":"boolean"},"datasourceTypes":{"type":"array","items":{"type":"string","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].datasourceTypes.items.[INDEX]","typeLabel":"string"},"description":"List of unique datasource types for all meters associated with the account.","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].datasourceTypes","typeLabel":"string[]"},"lastServiceDate":{"oneOf":[{"type":"string","format":"date","description":"The date when the account was closed by the utility (the end date of the last meter reading).","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].lastServiceDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The date when the account was closed by the utility (the end date of the last meter reading).","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].lastServiceDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"old.oneOf.0.accounts.items.[INDEX].lastServiceDate","typeLabel":"string\u003cdate> | null"},"multiplyByOccupancy":{"type":"boolean","description":"When the site occupancy mode is PER_ACCOUNT, usage on this account is scaled by site occupancy.","uniqueKey":"old.oneOf.0.accounts.items.[INDEX].multiplyByOccupancy","typeLabel":"boolean"}},"required":["id","isDuplicated","isTracked","meters"],"uniqueKey":"old.oneOf.0.accounts.items.[INDEX]","typeLabel":"object"},"default":[],"description":"List of accounts associated with the connection.","uniqueKey":"old.oneOf.0.accounts","typeLabel":"object[]"},"company":{"type":"object","description":"Company associated with the connection.","required":["id","name"],"properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the company.","isRequired":true,"uniqueKey":"old.oneOf.0.company.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the company.","maxLength":200,"isRequired":true,"uniqueKey":"old.oneOf.0.company.name","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","description":"External identifier for the company. Used to associate company in Nectar with company within your database.","uniqueKey":"old.oneOf.0.company.externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"External identifier for the company. Used to associate company in Nectar with company within your database.","uniqueKey":"old.oneOf.0.company.externalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"old.oneOf.0.company.externalId","typeLabel":"string | null"}},"uniqueKey":"old.oneOf.0.company","typeLabel":"object"},"url":{"oneOf":[{"type":"string","description":"URL of the utility company's login website.","uniqueKey":"old.oneOf.0.url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL of the utility company's login website.","uniqueKey":"old.oneOf.0.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"old.oneOf.0.url","typeLabel":"string | null"},"status":{"enum":["PENDING","UNDER_INVESTIGATION","CONNECTED","MFA_TOKEN_EXPIRED","PASSWORD_INCORRECT","NEW_PASSWORD_NEEDED","ADDITIONAL_CREDENTIALS_NEEDED","WEBSITE_DOWN","NO_ACCOUNTS_FOUND","OTHER_ERROR","COMPANY_INACTIVE","DEACTIVATED","URL_INACCESSIBLE"],"type":"string","description":"Observable connection status, read-only to API clients. DEACTIVATED means the connection has been deactivated via isActive=False. COMPANY_INACTIVE means the parent company was deactivated. All other values reflect the most recent scrape outcome. See the connection lifecycle docs for the full enum and what each value means.\n\n* `PENDING` - Pending\n* `UNDER_INVESTIGATION` - Under Investigation\n* `CONNECTED` - Connected\n* `MFA_TOKEN_EXPIRED` - Mfa Token Expired\n* `PASSWORD_INCORRECT` - Password Incorrect\n* `NEW_PASSWORD_NEEDED` - New Password Needed\n* `ADDITIONAL_CREDENTIALS_NEEDED` - Additional Credentials Needed\n* `WEBSITE_DOWN` - Website Down\n* `NO_ACCOUNTS_FOUND` - No Accounts Found\n* `OTHER_ERROR` - Other Error\n* `COMPANY_INACTIVE` - Company Inactive\n* `DEACTIVATED` - Deactivated\n* `URL_INACCESSIBLE` - Url Inaccessible","uniqueKey":"old.oneOf.0.status","typeLabel":"enum\u003cstring>"},"country":{"oneOf":[{"enum":["AF","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","HR","CU","CW","CY","CZ","CI","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RO","RU","RW","RE","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","AX","",null],"type":"string","description":"Country of the utility company.\n\n* `AF` - Af\n* `AL` - Al\n* `DZ` - Dz\n* `AS` - As\n* `AD` - Ad\n* `AO` - Ao\n* `AI` - Ai\n* `AQ` - Aq\n* `AG` - Ag\n* `AR` - Ar\n* `AM` - Am\n* `AW` - Aw\n* `AU` - Au\n* `AT` - At\n* `AZ` - Az\n* `BS` - Bs\n* `BH` - Bh\n* `BD` - Bd\n* `BB` - Bb\n* `BY` - By\n* `BE` - Be\n* `BZ` - Bz\n* `BJ` - Bj\n* `BM` - Bm\n* `BT` - Bt\n* `BO` - Bo\n* `BQ` - Bq\n* `BA` - Ba\n* `BW` - Bw\n* `BV` - Bv\n* `BR` - Br\n* `IO` - Io\n* `BN` - Bn\n* `BG` - Bg\n* `BF` - Bf\n* `BI` - Bi\n* `KH` - Kh\n* `CM` - Cm\n* `CA` - Ca\n* `CV` - Cv\n* `KY` - Ky\n* `CF` - Cf\n* `TD` - Td\n* `CL` - Cl\n* `CN` - Cn\n* `CX` - Cx\n* `CC` - Cc\n* `CO` - Co\n* `KM` - Km\n* `CG` - Cg\n* `CD` - Cd\n* `CK` - Ck\n* `CR` - Cr\n* `HR` - Hr\n* `CU` - Cu\n* `CW` - Cw\n* `CY` - Cy\n* `CZ` - Cz\n* `CI` - Ci\n* `DK` - Dk\n* `DJ` - Dj\n* `DM` - Dm\n* `DO` - Do\n* `EC` - Ec\n* `EG` - Eg\n* `SV` - Sv\n* `GQ` - Gq\n* `ER` - Er\n* `EE` - Ee\n* `ET` - Et\n* `FK` - Fk\n* `FO` - Fo\n* `FJ` - Fj\n* `FI` - Fi\n* `FR` - Fr\n* `GF` - Gf\n* `PF` - Pf\n* `TF` - Tf\n* `GA` - Ga\n* `GM` - Gm\n* `GE` - Ge\n* `DE` - De\n* `GH` - Gh\n* `GI` - Gi\n* `GR` - Gr\n* `GL` - Gl\n* `GD` - Gd\n* `GP` - Gp\n* `GU` - Gu\n* `GT` - Gt\n* `GG` - Gg\n* `GN` - Gn\n* `GW` - Gw\n* `GY` - Gy\n* `HT` - Ht\n* `HM` - Hm\n* `VA` - Va\n* `HN` - Hn\n* `HK` - Hk\n* `HU` - Hu\n* `IS` - Is\n* `IN` - In\n* `ID` - Id\n* `IR` - Ir\n* `IQ` - Iq\n* `IE` - Ie\n* `IM` - Im\n* `IL` - Il\n* `IT` - It\n* `JM` - Jm\n* `JP` - Jp\n* `JE` - Je\n* `JO` - Jo\n* `KZ` - Kz\n* `KE` - Ke\n* `KI` - Ki\n* `KP` - Kp\n* `KR` - Kr\n* `KW` - Kw\n* `KG` - Kg\n* `LA` - La\n* `LV` - Lv\n* `LB` - Lb\n* `LS` - Ls\n* `LR` - Lr\n* `LY` - Ly\n* `LI` - Li\n* `LT` - Lt\n* `LU` - Lu\n* `MO` - Mo\n* `MK` - Mk\n* `MG` - Mg\n* `MW` - Mw\n* `MY` - My\n* `MV` - Mv\n* `ML` - Ml\n* `MT` - Mt\n* `MH` - Mh\n* `MQ` - Mq\n* `MR` - Mr\n* `MU` - Mu\n* `YT` - Yt\n* `MX` - Mx\n* `FM` - Fm\n* `MD` - Md\n* `MC` - Mc\n* `MN` - Mn\n* `ME` - Me\n* `MS` - Ms\n* `MA` - Ma\n* `MZ` - Mz\n* `MM` - Mm\n* `NA` - Na\n* `NR` - Nr\n* `NP` - Np\n* `NL` - Nl\n* `NC` - Nc\n* `NZ` - Nz\n* `NI` - Ni\n* `NE` - Ne\n* `NG` - Ng\n* `NU` - Nu\n* `NF` - Nf\n* `MP` - Mp\n* `NO` - No\n* `OM` - Om\n* `PK` - Pk\n* `PW` - Pw\n* `PS` - Ps\n* `PA` - Pa\n* `PG` - Pg\n* `PY` - Py\n* `PE` - Pe\n* `PH` - Ph\n* `PN` - Pn\n* `PL` - Pl\n* `PT` - Pt\n* `PR` - Pr\n* `QA` - Qa\n* `RO` - Ro\n* `RU` - Ru\n* `RW` - Rw\n* `RE` - Re\n* `BL` - Bl\n* `SH` - Sh\n* `KN` - Kn\n* `LC` - Lc\n* `MF` - Mf\n* `PM` - Pm\n* `VC` - Vc\n* `WS` - Ws\n* `SM` - Sm\n* `ST` - St\n* `SA` - Sa\n* `SN` - Sn\n* `RS` - Rs\n* `SC` - Sc\n* `SL` - Sl\n* `SG` - Sg\n* `SX` - Sx\n* `SK` - Sk\n* `SI` - Si\n* `SB` - Sb\n* `SO` - So\n* `ZA` - Za\n* `GS` - Gs\n* `SS` - Ss\n* `ES` - Es\n* `LK` - Lk\n* `SD` - Sd\n* `SR` - Sr\n* `SJ` - Sj\n* `SZ` - Sz\n* `SE` - Se\n* `CH` - Ch\n* `SY` - Sy\n* `TW` - Tw\n* `TJ` - Tj\n* `TZ` - Tz\n* `TH` - Th\n* `TL` - Tl\n* `TG` - Tg\n* `TK` - Tk\n* `TO` - To\n* `TT` - Tt\n* `TN` - Tn\n* `TR` - Tr\n* `TM` - Tm\n* `TC` - Tc\n* `TV` - Tv\n* `UG` - Ug\n* `UA` - Ua\n* `AE` - Ae\n* `GB` - Gb\n* `US` - Us\n* `UM` - Um\n* `UY` - Uy\n* `UZ` - Uz\n* `VU` - Vu\n* `VE` - Ve\n* `VN` - Vn\n* `VG` - Vg\n* `VI` - Vi\n* `WF` - Wf\n* `EH` - Eh\n* `YE` - Ye\n* `ZM` - Zm\n* `ZW` - Zw\n* `AX` - Ax","uniqueKey":"old.oneOf.0.country.oneOf.0","typeLabel":"enum\u003cstring>"},{"enum":["AF","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","HR","CU","CW","CY","CZ","CI","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RO","RU","RW","RE","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","AX","",null],"type":"null","description":"Country of the utility company.\n\n* `AF` - Af\n* `AL` - Al\n* `DZ` - Dz\n* `AS` - As\n* `AD` - Ad\n* `AO` - Ao\n* `AI` - Ai\n* `AQ` - Aq\n* `AG` - Ag\n* `AR` - Ar\n* `AM` - Am\n* `AW` - Aw\n* `AU` - Au\n* `AT` - At\n* `AZ` - Az\n* `BS` - Bs\n* `BH` - Bh\n* `BD` - Bd\n* `BB` - Bb\n* `BY` - By\n* `BE` - Be\n* `BZ` - Bz\n* `BJ` - Bj\n* `BM` - Bm\n* `BT` - Bt\n* `BO` - Bo\n* `BQ` - Bq\n* `BA` - Ba\n* `BW` - Bw\n* `BV` - Bv\n* `BR` - Br\n* `IO` - Io\n* `BN` - Bn\n* `BG` - Bg\n* `BF` - Bf\n* `BI` - Bi\n* `KH` - Kh\n* `CM` - Cm\n* `CA` - Ca\n* `CV` - Cv\n* `KY` - Ky\n* `CF` - Cf\n* `TD` - Td\n* `CL` - Cl\n* `CN` - Cn\n* `CX` - Cx\n* `CC` - Cc\n* `CO` - Co\n* `KM` - Km\n* `CG` - Cg\n* `CD` - Cd\n* `CK` - Ck\n* `CR` - Cr\n* `HR` - Hr\n* `CU` - Cu\n* `CW` - Cw\n* `CY` - Cy\n* `CZ` - Cz\n* `CI` - Ci\n* `DK` - Dk\n* `DJ` - Dj\n* `DM` - Dm\n* `DO` - Do\n* `EC` - Ec\n* `EG` - Eg\n* `SV` - Sv\n* `GQ` - Gq\n* `ER` - Er\n* `EE` - Ee\n* `ET` - Et\n* `FK` - Fk\n* `FO` - Fo\n* `FJ` - Fj\n* `FI` - Fi\n* `FR` - Fr\n* `GF` - Gf\n* `PF` - Pf\n* `TF` - Tf\n* `GA` - Ga\n* `GM` - Gm\n* `GE` - Ge\n* `DE` - De\n* `GH` - Gh\n* `GI` - Gi\n* `GR` - Gr\n* `GL` - Gl\n* `GD` - Gd\n* `GP` - Gp\n* `GU` - Gu\n* `GT` - Gt\n* `GG` - Gg\n* `GN` - Gn\n* `GW` - Gw\n* `GY` - Gy\n* `HT` - Ht\n* `HM` - Hm\n* `VA` - Va\n* `HN` - Hn\n* `HK` - Hk\n* `HU` - Hu\n* `IS` - Is\n* `IN` - In\n* `ID` - Id\n* `IR` - Ir\n* `IQ` - Iq\n* `IE` - Ie\n* `IM` - Im\n* `IL` - Il\n* `IT` - It\n* `JM` - Jm\n* `JP` - Jp\n* `JE` - Je\n* `JO` - Jo\n* `KZ` - Kz\n* `KE` - Ke\n* `KI` - Ki\n* `KP` - Kp\n* `KR` - Kr\n* `KW` - Kw\n* `KG` - Kg\n* `LA` - La\n* `LV` - Lv\n* `LB` - Lb\n* `LS` - Ls\n* `LR` - Lr\n* `LY` - Ly\n* `LI` - Li\n* `LT` - Lt\n* `LU` - Lu\n* `MO` - Mo\n* `MK` - Mk\n* `MG` - Mg\n* `MW` - Mw\n* `MY` - My\n* `MV` - Mv\n* `ML` - Ml\n* `MT` - Mt\n* `MH` - Mh\n* `MQ` - Mq\n* `MR` - Mr\n* `MU` - Mu\n* `YT` - Yt\n* `MX` - Mx\n* `FM` - Fm\n* `MD` - Md\n* `MC` - Mc\n* `MN` - Mn\n* `ME` - Me\n* `MS` - Ms\n* `MA` - Ma\n* `MZ` - Mz\n* `MM` - Mm\n* `NA` - Na\n* `NR` - Nr\n* `NP` - Np\n* `NL` - Nl\n* `NC` - Nc\n* `NZ` - Nz\n* `NI` - Ni\n* `NE` - Ne\n* `NG` - Ng\n* `NU` - Nu\n* `NF` - Nf\n* `MP` - Mp\n* `NO` - No\n* `OM` - Om\n* `PK` - Pk\n* `PW` - Pw\n* `PS` - Ps\n* `PA` - Pa\n* `PG` - Pg\n* `PY` - Py\n* `PE` - Pe\n* `PH` - Ph\n* `PN` - Pn\n* `PL` - Pl\n* `PT` - Pt\n* `PR` - Pr\n* `QA` - Qa\n* `RO` - Ro\n* `RU` - Ru\n* `RW` - Rw\n* `RE` - Re\n* `BL` - Bl\n* `SH` - Sh\n* `KN` - Kn\n* `LC` - Lc\n* `MF` - Mf\n* `PM` - Pm\n* `VC` - Vc\n* `WS` - Ws\n* `SM` - Sm\n* `ST` - St\n* `SA` - Sa\n* `SN` - Sn\n* `RS` - Rs\n* `SC` - Sc\n* `SL` - Sl\n* `SG` - Sg\n* `SX` - Sx\n* `SK` - Sk\n* `SI` - Si\n* `SB` - Sb\n* `SO` - So\n* `ZA` - Za\n* `GS` - Gs\n* `SS` - Ss\n* `ES` - Es\n* `LK` - Lk\n* `SD` - Sd\n* `SR` - Sr\n* `SJ` - Sj\n* `SZ` - Sz\n* `SE` - Se\n* `CH` - Ch\n* `SY` - Sy\n* `TW` - Tw\n* `TJ` - Tj\n* `TZ` - Tz\n* `TH` - Th\n* `TL` - Tl\n* `TG` - Tg\n* `TK` - Tk\n* `TO` - To\n* `TT` - Tt\n* `TN` - Tn\n* `TR` - Tr\n* `TM` - Tm\n* `TC` - Tc\n* `TV` - Tv\n* `UG` - Ug\n* `UA` - Ua\n* `AE` - Ae\n* `GB` - Gb\n* `US` - Us\n* `UM` - Um\n* `UY` - Uy\n* `UZ` - Uz\n* `VU` - Vu\n* `VE` - Ve\n* `VN` - Vn\n* `VG` - Vg\n* `VI` - Vi\n* `WF` - Wf\n* `EH` - Eh\n* `YE` - Ye\n* `ZM` - Zm\n* `ZW` - Zw\n* `AX` - Ax","uniqueKey":"old.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"old.oneOf.0.country","typeLabel":"enum\u003cstring> | null"},"initialSites":{"type":"array","items":{"type":"string","format":"uuid","title":"InitialSites","uniqueKey":"old.oneOf.0.initialSites.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Initial sites associated with this connection. Initial sites are often useful to manually associate sites with the connection before the connection is validated or onboarded.","uniqueKey":"old.oneOf.0.initialSites","typeLabel":"string\u003cuuid>[]"},"initialDatasourceTypes":{"type":"array","items":{"enum":["ELECTRICITY","GAS","WATER","SEWER","DISTRICT","WASTE","FUEL","MISC","REFRIGERANT","SOLAR","TELECOM"],"type":"string","description":"* `ELECTRICITY` - Electricity\n* `GAS` - Gas\n* `WATER` - Water\n* `SEWER` - Sewer\n* `DISTRICT` - District\n* `WASTE` - Waste\n* `FUEL` - Fuel\n* `MISC` - Misc\n* `REFRIGERANT` - Refrigerant\n* `SOLAR` - Solar\n* `TELECOM` - Telecom","uniqueKey":"old.oneOf.0.initialDatasourceTypes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Initial datasource types associated with this workflow. Initial datasource types are used to filter the workflows when the number of datasource types associated via accounts is 0.","maxItems":11,"uniqueKey":"old.oneOf.0.initialDatasourceTypes","typeLabel":"enum\u003cstring>[]"},"username":{"oneOf":[{"type":"string","description":"Username for the integration workflow.","uniqueKey":"old.oneOf.0.username.oneOf.0","typeLabel":"string"},{"type":"null","description":"Username for the integration workflow.","uniqueKey":"old.oneOf.0.username.oneOf.1","typeLabel":"null"}],"uniqueKey":"old.oneOf.0.username","typeLabel":"string | null"},"workflowOwnerEmail":{"oneOf":[{"type":"string","format":"email","description":"Utility login / data owner email address. This person will receive notifications if data is missing or if the utility data connection is misconfigured.","uniqueKey":"old.oneOf.0.workflowOwnerEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"Utility login / data owner email address. This person will receive notifications if data is missing or if the utility data connection is misconfigured.","uniqueKey":"old.oneOf.0.workflowOwnerEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"old.oneOf.0.workflowOwnerEmail","typeLabel":"string\u003cemail> | null"},"dataCollectionStartDate":{"oneOf":[{"type":"string","format":"date","description":"Date when data collection for the workflow begins. This is the date from which Nectar will pull historical data. This field overrides the site and company level dataCollectionStartDate fields.","uniqueKey":"old.oneOf.0.dataCollectionStartDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date when data collection for the workflow begins. This is the date from which Nectar will pull historical data. This field overrides the site and company level dataCollectionStartDate fields.","uniqueKey":"old.oneOf.0.dataCollectionStartDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"old.oneOf.0.dataCollectionStartDate","typeLabel":"string\u003cdate> | null"},"isActive":{"type":"boolean","description":"Whether this connection is actively collecting data. When set to False, the connection stops collecting new data but all historical data is preserved, and the status field will reflect as DEACTIVATED. Set to True to reactivate data collection. This is the preferred way to deactivate a connection instead of deleting it.","uniqueKey":"old.oneOf.0.isActive","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"old.oneOf.0","typeLabel":"object"},{"type":"null","description":"Object with the old values of the connection. Same format as parent object.","isRequired":true,"uniqueKey":"old.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"old","typeLabel":"object | null"},"updated":{"type":"string","format":"date-time","description":"Timestamp when the utility account connection was last updated.","uniqueKey":"updated","typeLabel":"string\u003cdate-time>"},"externalId":{"oneOf":[{"type":"string","description":"External identifier for the connection. Used to associate this connection in Nectar with a connection within your database.","uniqueKey":"externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"External identifier for the connection. Used to associate this connection in Nectar with a connection within your database.","uniqueKey":"externalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"externalId","typeLabel":"string | null"},"datasource":{"type":"object","description":"Datasource / utility provider associated with the connection.","required":["name","url"],"properties":{"name":{"type":"string","description":"Name of the utility company / utility provider.","maxLength":200,"isRequired":true,"uniqueKey":"datasource.name","typeLabel":"string"},"url":{"type":"string","description":"Brand-specific portal entry point URL. Optional for email-only providers.","maxLength":2083,"isRequired":true,"uniqueKey":"datasource.url","typeLabel":"string"}},"uniqueKey":"datasource","typeLabel":"object"},"accounts":{"type":"array","items":{"type":"object","description":"Skeleton serializer for externally available fields of an Account object.","properties":{"id":{"type":"string","format":"uuid","description":"UUID of the account.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"meters":{"type":"array","items":{"type":"string","format":"uuid","description":"UUID of the meter site usage data entry.","uniqueKey":"accounts.items.[INDEX].meters.items.[INDEX]","typeLabel":"string\u003cuuid>"},"isRequired":true,"uniqueKey":"accounts.items.[INDEX].meters","typeLabel":"string\u003cuuid>[]"},"isTracked":{"type":"boolean","description":"Deprecated boolean alias. UNSET is treated as True for backward compatibility.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].isTracked","typeLabel":"boolean"},"isDuplicated":{"type":"string","isRequired":true,"uniqueKey":"accounts.items.[INDEX].isDuplicated","typeLabel":"string"},"accountNumber":{"type":"string","description":"The actual account number. For utilities without account numbers, leave blank.","maxLength":200,"uniqueKey":"accounts.items.[INDEX].accountNumber","typeLabel":"string"},"trackingStatus":{"enum":["ENABLED","DISABLED","UNSET"],"type":"string","description":"User-mutable tracking intent for this account. When set to DISABLED, data collection stops and the status field reflects as CUSTOMER_NOT_TRACKED. ENABLED resumes data collection. UNSET means no tracking decision has been made yet.\n\n* `ENABLED` - Enabled\n* `DISABLED` - Disabled\n* `UNSET` - Unset","uniqueKey":"accounts.items.[INDEX].trackingStatus","typeLabel":"enum\u003cstring>"},"dataCollectionStartDate":{"oneOf":[{"type":"string","format":"date","description":"Date when data collection for the account begins. This is the date from which Nectar will pull historical data. This field overrides the site, company, and connection level dataCollectionStartDate fields.","uniqueKey":"accounts.items.[INDEX].dataCollectionStartDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date when data collection for the account begins. This is the date from which Nectar will pull historical data. This field overrides the site, company, and connection level dataCollectionStartDate fields.","uniqueKey":"accounts.items.[INDEX].dataCollectionStartDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"accounts.items.[INDEX].dataCollectionStartDate","typeLabel":"string\u003cdate> | null"},"isCollectingInvoiceData":{"type":"boolean","description":"Indicates whether this account is collecting invoice data. If True, Nectar will collect invoice data with a maximum granularity of weekly intervals.","uniqueKey":"accounts.items.[INDEX].isCollectingInvoiceData","typeLabel":"boolean"},"isCollectingSmartMeterData":{"type":"boolean","description":"Indicates whether this account is smart metered. If True, Nectar will collect metered data with a maximum granularity of daily intervals.","uniqueKey":"accounts.items.[INDEX].isCollectingSmartMeterData","typeLabel":"boolean"},"datasourceTypes":{"type":"array","items":{"type":"string","uniqueKey":"accounts.items.[INDEX].datasourceTypes.items.[INDEX]","typeLabel":"string"},"description":"List of unique datasource types for all meters associated with the account.","uniqueKey":"accounts.items.[INDEX].datasourceTypes","typeLabel":"string[]"},"lastServiceDate":{"oneOf":[{"type":"string","format":"date","description":"The date when the account was closed by the utility (the end date of the last meter reading).","uniqueKey":"accounts.items.[INDEX].lastServiceDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"The date when the account was closed by the utility (the end date of the last meter reading).","uniqueKey":"accounts.items.[INDEX].lastServiceDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"accounts.items.[INDEX].lastServiceDate","typeLabel":"string\u003cdate> | null"},"multiplyByOccupancy":{"type":"boolean","description":"When the site occupancy mode is PER_ACCOUNT, usage on this account is scaled by site occupancy.","uniqueKey":"accounts.items.[INDEX].multiplyByOccupancy","typeLabel":"boolean"}},"required":["id","isDuplicated","isTracked","meters"],"uniqueKey":"accounts.items.[INDEX]","typeLabel":"object"},"default":[],"description":"List of accounts associated with the connection.","uniqueKey":"accounts","typeLabel":"object[]"},"company":{"type":"object","description":"Company associated with the connection.","required":["id","name"],"properties":{"id":{"type":"string","format":"uuid","description":"Unique identifier for the company.","isRequired":true,"uniqueKey":"company.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Name of the company.","maxLength":200,"isRequired":true,"uniqueKey":"company.name","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","description":"External identifier for the company. Used to associate company in Nectar with company within your database.","uniqueKey":"company.externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"External identifier for the company. Used to associate company in Nectar with company within your database.","uniqueKey":"company.externalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"company.externalId","typeLabel":"string | null"}},"uniqueKey":"company","typeLabel":"object"},"url":{"oneOf":[{"type":"string","description":"URL of the utility company's login website.","uniqueKey":"url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL of the utility company's login website.","uniqueKey":"url.oneOf.1","typeLabel":"null"}],"uniqueKey":"url","typeLabel":"string | null"},"status":{"enum":["PENDING","UNDER_INVESTIGATION","CONNECTED","MFA_TOKEN_EXPIRED","PASSWORD_INCORRECT","NEW_PASSWORD_NEEDED","ADDITIONAL_CREDENTIALS_NEEDED","WEBSITE_DOWN","NO_ACCOUNTS_FOUND","OTHER_ERROR","COMPANY_INACTIVE","DEACTIVATED","URL_INACCESSIBLE"],"type":"string","description":"Observable connection status, read-only to API clients. DEACTIVATED means the connection has been deactivated via isActive=False. COMPANY_INACTIVE means the parent company was deactivated. All other values reflect the most recent scrape outcome. See the connection lifecycle docs for the full enum and what each value means.\n\n* `PENDING` - Pending\n* `UNDER_INVESTIGATION` - Under Investigation\n* `CONNECTED` - Connected\n* `MFA_TOKEN_EXPIRED` - Mfa Token Expired\n* `PASSWORD_INCORRECT` - Password Incorrect\n* `NEW_PASSWORD_NEEDED` - New Password Needed\n* `ADDITIONAL_CREDENTIALS_NEEDED` - Additional Credentials Needed\n* `WEBSITE_DOWN` - Website Down\n* `NO_ACCOUNTS_FOUND` - No Accounts Found\n* `OTHER_ERROR` - Other Error\n* `COMPANY_INACTIVE` - Company Inactive\n* `DEACTIVATED` - Deactivated\n* `URL_INACCESSIBLE` - Url Inaccessible","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"country":{"oneOf":[{"enum":["AF","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","HR","CU","CW","CY","CZ","CI","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RO","RU","RW","RE","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","AX","",null],"type":"string","description":"Country of the utility company.\n\n* `AF` - Af\n* `AL` - Al\n* `DZ` - Dz\n* `AS` - As\n* `AD` - Ad\n* `AO` - Ao\n* `AI` - Ai\n* `AQ` - Aq\n* `AG` - Ag\n* `AR` - Ar\n* `AM` - Am\n* `AW` - Aw\n* `AU` - Au\n* `AT` - At\n* `AZ` - Az\n* `BS` - Bs\n* `BH` - Bh\n* `BD` - Bd\n* `BB` - Bb\n* `BY` - By\n* `BE` - Be\n* `BZ` - Bz\n* `BJ` - Bj\n* `BM` - Bm\n* `BT` - Bt\n* `BO` - Bo\n* `BQ` - Bq\n* `BA` - Ba\n* `BW` - Bw\n* `BV` - Bv\n* `BR` - Br\n* `IO` - Io\n* `BN` - Bn\n* `BG` - Bg\n* `BF` - Bf\n* `BI` - Bi\n* `KH` - Kh\n* `CM` - Cm\n* `CA` - Ca\n* `CV` - Cv\n* `KY` - Ky\n* `CF` - Cf\n* `TD` - Td\n* `CL` - Cl\n* `CN` - Cn\n* `CX` - Cx\n* `CC` - Cc\n* `CO` - Co\n* `KM` - Km\n* `CG` - Cg\n* `CD` - Cd\n* `CK` - Ck\n* `CR` - Cr\n* `HR` - Hr\n* `CU` - Cu\n* `CW` - Cw\n* `CY` - Cy\n* `CZ` - Cz\n* `CI` - Ci\n* `DK` - Dk\n* `DJ` - Dj\n* `DM` - Dm\n* `DO` - Do\n* `EC` - Ec\n* `EG` - Eg\n* `SV` - Sv\n* `GQ` - Gq\n* `ER` - Er\n* `EE` - Ee\n* `ET` - Et\n* `FK` - Fk\n* `FO` - Fo\n* `FJ` - Fj\n* `FI` - Fi\n* `FR` - Fr\n* `GF` - Gf\n* `PF` - Pf\n* `TF` - Tf\n* `GA` - Ga\n* `GM` - Gm\n* `GE` - Ge\n* `DE` - De\n* `GH` - Gh\n* `GI` - Gi\n* `GR` - Gr\n* `GL` - Gl\n* `GD` - Gd\n* `GP` - Gp\n* `GU` - Gu\n* `GT` - Gt\n* `GG` - Gg\n* `GN` - Gn\n* `GW` - Gw\n* `GY` - Gy\n* `HT` - Ht\n* `HM` - Hm\n* `VA` - Va\n* `HN` - Hn\n* `HK` - Hk\n* `HU` - Hu\n* `IS` - Is\n* `IN` - In\n* `ID` - Id\n* `IR` - Ir\n* `IQ` - Iq\n* `IE` - Ie\n* `IM` - Im\n* `IL` - Il\n* `IT` - It\n* `JM` - Jm\n* `JP` - Jp\n* `JE` - Je\n* `JO` - Jo\n* `KZ` - Kz\n* `KE` - Ke\n* `KI` - Ki\n* `KP` - Kp\n* `KR` - Kr\n* `KW` - Kw\n* `KG` - Kg\n* `LA` - La\n* `LV` - Lv\n* `LB` - Lb\n* `LS` - Ls\n* `LR` - Lr\n* `LY` - Ly\n* `LI` - Li\n* `LT` - Lt\n* `LU` - Lu\n* `MO` - Mo\n* `MK` - Mk\n* `MG` - Mg\n* `MW` - Mw\n* `MY` - My\n* `MV` - Mv\n* `ML` - Ml\n* `MT` - Mt\n* `MH` - Mh\n* `MQ` - Mq\n* `MR` - Mr\n* `MU` - Mu\n* `YT` - Yt\n* `MX` - Mx\n* `FM` - Fm\n* `MD` - Md\n* `MC` - Mc\n* `MN` - Mn\n* `ME` - Me\n* `MS` - Ms\n* `MA` - Ma\n* `MZ` - Mz\n* `MM` - Mm\n* `NA` - Na\n* `NR` - Nr\n* `NP` - Np\n* `NL` - Nl\n* `NC` - Nc\n* `NZ` - Nz\n* `NI` - Ni\n* `NE` - Ne\n* `NG` - Ng\n* `NU` - Nu\n* `NF` - Nf\n* `MP` - Mp\n* `NO` - No\n* `OM` - Om\n* `PK` - Pk\n* `PW` - Pw\n* `PS` - Ps\n* `PA` - Pa\n* `PG` - Pg\n* `PY` - Py\n* `PE` - Pe\n* `PH` - Ph\n* `PN` - Pn\n* `PL` - Pl\n* `PT` - Pt\n* `PR` - Pr\n* `QA` - Qa\n* `RO` - Ro\n* `RU` - Ru\n* `RW` - Rw\n* `RE` - Re\n* `BL` - Bl\n* `SH` - Sh\n* `KN` - Kn\n* `LC` - Lc\n* `MF` - Mf\n* `PM` - Pm\n* `VC` - Vc\n* `WS` - Ws\n* `SM` - Sm\n* `ST` - St\n* `SA` - Sa\n* `SN` - Sn\n* `RS` - Rs\n* `SC` - Sc\n* `SL` - Sl\n* `SG` - Sg\n* `SX` - Sx\n* `SK` - Sk\n* `SI` - Si\n* `SB` - Sb\n* `SO` - So\n* `ZA` - Za\n* `GS` - Gs\n* `SS` - Ss\n* `ES` - Es\n* `LK` - Lk\n* `SD` - Sd\n* `SR` - Sr\n* `SJ` - Sj\n* `SZ` - Sz\n* `SE` - Se\n* `CH` - Ch\n* `SY` - Sy\n* `TW` - Tw\n* `TJ` - Tj\n* `TZ` - Tz\n* `TH` - Th\n* `TL` - Tl\n* `TG` - Tg\n* `TK` - Tk\n* `TO` - To\n* `TT` - Tt\n* `TN` - Tn\n* `TR` - Tr\n* `TM` - Tm\n* `TC` - Tc\n* `TV` - Tv\n* `UG` - Ug\n* `UA` - Ua\n* `AE` - Ae\n* `GB` - Gb\n* `US` - Us\n* `UM` - Um\n* `UY` - Uy\n* `UZ` - Uz\n* `VU` - Vu\n* `VE` - Ve\n* `VN` - Vn\n* `VG` - Vg\n* `VI` - Vi\n* `WF` - Wf\n* `EH` - Eh\n* `YE` - Ye\n* `ZM` - Zm\n* `ZW` - Zw\n* `AX` - Ax","uniqueKey":"country.oneOf.0","typeLabel":"enum\u003cstring>"},{"enum":["AF","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","HR","CU","CW","CY","CZ","CI","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RO","RU","RW","RE","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","AX","",null],"type":"null","description":"Country of the utility company.\n\n* `AF` - Af\n* `AL` - Al\n* `DZ` - Dz\n* `AS` - As\n* `AD` - Ad\n* `AO` - Ao\n* `AI` - Ai\n* `AQ` - Aq\n* `AG` - Ag\n* `AR` - Ar\n* `AM` - Am\n* `AW` - Aw\n* `AU` - Au\n* `AT` - At\n* `AZ` - Az\n* `BS` - Bs\n* `BH` - Bh\n* `BD` - Bd\n* `BB` - Bb\n* `BY` - By\n* `BE` - Be\n* `BZ` - Bz\n* `BJ` - Bj\n* `BM` - Bm\n* `BT` - Bt\n* `BO` - Bo\n* `BQ` - Bq\n* `BA` - Ba\n* `BW` - Bw\n* `BV` - Bv\n* `BR` - Br\n* `IO` - Io\n* `BN` - Bn\n* `BG` - Bg\n* `BF` - Bf\n* `BI` - Bi\n* `KH` - Kh\n* `CM` - Cm\n* `CA` - Ca\n* `CV` - Cv\n* `KY` - Ky\n* `CF` - Cf\n* `TD` - Td\n* `CL` - Cl\n* `CN` - Cn\n* `CX` - Cx\n* `CC` - Cc\n* `CO` - Co\n* `KM` - Km\n* `CG` - Cg\n* `CD` - Cd\n* `CK` - Ck\n* `CR` - Cr\n* `HR` - Hr\n* `CU` - Cu\n* `CW` - Cw\n* `CY` - Cy\n* `CZ` - Cz\n* `CI` - Ci\n* `DK` - Dk\n* `DJ` - Dj\n* `DM` - Dm\n* `DO` - Do\n* `EC` - Ec\n* `EG` - Eg\n* `SV` - Sv\n* `GQ` - Gq\n* `ER` - Er\n* `EE` - Ee\n* `ET` - Et\n* `FK` - Fk\n* `FO` - Fo\n* `FJ` - Fj\n* `FI` - Fi\n* `FR` - Fr\n* `GF` - Gf\n* `PF` - Pf\n* `TF` - Tf\n* `GA` - Ga\n* `GM` - Gm\n* `GE` - Ge\n* `DE` - De\n* `GH` - Gh\n* `GI` - Gi\n* `GR` - Gr\n* `GL` - Gl\n* `GD` - Gd\n* `GP` - Gp\n* `GU` - Gu\n* `GT` - Gt\n* `GG` - Gg\n* `GN` - Gn\n* `GW` - Gw\n* `GY` - Gy\n* `HT` - Ht\n* `HM` - Hm\n* `VA` - Va\n* `HN` - Hn\n* `HK` - Hk\n* `HU` - Hu\n* `IS` - Is\n* `IN` - In\n* `ID` - Id\n* `IR` - Ir\n* `IQ` - Iq\n* `IE` - Ie\n* `IM` - Im\n* `IL` - Il\n* `IT` - It\n* `JM` - Jm\n* `JP` - Jp\n* `JE` - Je\n* `JO` - Jo\n* `KZ` - Kz\n* `KE` - Ke\n* `KI` - Ki\n* `KP` - Kp\n* `KR` - Kr\n* `KW` - Kw\n* `KG` - Kg\n* `LA` - La\n* `LV` - Lv\n* `LB` - Lb\n* `LS` - Ls\n* `LR` - Lr\n* `LY` - Ly\n* `LI` - Li\n* `LT` - Lt\n* `LU` - Lu\n* `MO` - Mo\n* `MK` - Mk\n* `MG` - Mg\n* `MW` - Mw\n* `MY` - My\n* `MV` - Mv\n* `ML` - Ml\n* `MT` - Mt\n* `MH` - Mh\n* `MQ` - Mq\n* `MR` - Mr\n* `MU` - Mu\n* `YT` - Yt\n* `MX` - Mx\n* `FM` - Fm\n* `MD` - Md\n* `MC` - Mc\n* `MN` - Mn\n* `ME` - Me\n* `MS` - Ms\n* `MA` - Ma\n* `MZ` - Mz\n* `MM` - Mm\n* `NA` - Na\n* `NR` - Nr\n* `NP` - Np\n* `NL` - Nl\n* `NC` - Nc\n* `NZ` - Nz\n* `NI` - Ni\n* `NE` - Ne\n* `NG` - Ng\n* `NU` - Nu\n* `NF` - Nf\n* `MP` - Mp\n* `NO` - No\n* `OM` - Om\n* `PK` - Pk\n* `PW` - Pw\n* `PS` - Ps\n* `PA` - Pa\n* `PG` - Pg\n* `PY` - Py\n* `PE` - Pe\n* `PH` - Ph\n* `PN` - Pn\n* `PL` - Pl\n* `PT` - Pt\n* `PR` - Pr\n* `QA` - Qa\n* `RO` - Ro\n* `RU` - Ru\n* `RW` - Rw\n* `RE` - Re\n* `BL` - Bl\n* `SH` - Sh\n* `KN` - Kn\n* `LC` - Lc\n* `MF` - Mf\n* `PM` - Pm\n* `VC` - Vc\n* `WS` - Ws\n* `SM` - Sm\n* `ST` - St\n* `SA` - Sa\n* `SN` - Sn\n* `RS` - Rs\n* `SC` - Sc\n* `SL` - Sl\n* `SG` - Sg\n* `SX` - Sx\n* `SK` - Sk\n* `SI` - Si\n* `SB` - Sb\n* `SO` - So\n* `ZA` - Za\n* `GS` - Gs\n* `SS` - Ss\n* `ES` - Es\n* `LK` - Lk\n* `SD` - Sd\n* `SR` - Sr\n* `SJ` - Sj\n* `SZ` - Sz\n* `SE` - Se\n* `CH` - Ch\n* `SY` - Sy\n* `TW` - Tw\n* `TJ` - Tj\n* `TZ` - Tz\n* `TH` - Th\n* `TL` - Tl\n* `TG` - Tg\n* `TK` - Tk\n* `TO` - To\n* `TT` - Tt\n* `TN` - Tn\n* `TR` - Tr\n* `TM` - Tm\n* `TC` - Tc\n* `TV` - Tv\n* `UG` - Ug\n* `UA` - Ua\n* `AE` - Ae\n* `GB` - Gb\n* `US` - Us\n* `UM` - Um\n* `UY` - Uy\n* `UZ` - Uz\n* `VU` - Vu\n* `VE` - Ve\n* `VN` - Vn\n* `VG` - Vg\n* `VI` - Vi\n* `WF` - Wf\n* `EH` - Eh\n* `YE` - Ye\n* `ZM` - Zm\n* `ZW` - Zw\n* `AX` - Ax","uniqueKey":"country.oneOf.1","typeLabel":"null"}],"uniqueKey":"country","typeLabel":"enum\u003cstring> | null"},"initialSites":{"type":"array","items":{"type":"string","format":"uuid","title":"InitialSites","uniqueKey":"initialSites.items.[INDEX]","typeLabel":"string\u003cuuid>"},"description":"Initial sites associated with this connection. Initial sites are often useful to manually associate sites with the connection before the connection is validated or onboarded.","uniqueKey":"initialSites","typeLabel":"string\u003cuuid>[]"},"initialDatasourceTypes":{"type":"array","items":{"enum":["ELECTRICITY","GAS","WATER","SEWER","DISTRICT","WASTE","FUEL","MISC","REFRIGERANT","SOLAR","TELECOM"],"type":"string","description":"* `ELECTRICITY` - Electricity\n* `GAS` - Gas\n* `WATER` - Water\n* `SEWER` - Sewer\n* `DISTRICT` - District\n* `WASTE` - Waste\n* `FUEL` - Fuel\n* `MISC` - Misc\n* `REFRIGERANT` - Refrigerant\n* `SOLAR` - Solar\n* `TELECOM` - Telecom","uniqueKey":"initialDatasourceTypes.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Initial datasource types associated with this workflow. Initial datasource types are used to filter the workflows when the number of datasource types associated via accounts is 0.","maxItems":11,"uniqueKey":"initialDatasourceTypes","typeLabel":"enum\u003cstring>[]"},"username":{"oneOf":[{"type":"string","description":"Username for the integration workflow.","uniqueKey":"username.oneOf.0","typeLabel":"string"},{"type":"null","description":"Username for the integration workflow.","uniqueKey":"username.oneOf.1","typeLabel":"null"}],"uniqueKey":"username","typeLabel":"string | null"},"workflowOwnerEmail":{"oneOf":[{"type":"string","format":"email","description":"Utility login / data owner email address. This person will receive notifications if data is missing or if the utility data connection is misconfigured.","uniqueKey":"workflowOwnerEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"Utility login / data owner email address. This person will receive notifications if data is missing or if the utility data connection is misconfigured.","uniqueKey":"workflowOwnerEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"workflowOwnerEmail","typeLabel":"string\u003cemail> | null"},"dataCollectionStartDate":{"oneOf":[{"type":"string","format":"date","description":"Date when data collection for the workflow begins. This is the date from which Nectar will pull historical data. This field overrides the site and company level dataCollectionStartDate fields.","uniqueKey":"dataCollectionStartDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date when data collection for the workflow begins. This is the date from which Nectar will pull historical data. This field overrides the site and company level dataCollectionStartDate fields.","uniqueKey":"dataCollectionStartDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"dataCollectionStartDate","typeLabel":"string\u003cdate> | null"},"isActive":{"type":"boolean","description":"Whether this connection is actively collecting data. When set to False, the connection stops collecting new data but all historical data is preserved, and the status field will reflect as DEACTIVATED. Set to True to reactivate data collection. This is the preferred way to deactivate a connection instead of deleting it.","uniqueKey":"isActive","typeLabel":"boolean"}},"required":["created","eventType","id","multiplyByOccupancy","old","protectedChanges"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created":"2023-11-07T05:31:56Z","multiplyByOccupancy":true,"eventType":"\u003cstring>","protectedChanges":["\u003cstring>"],"old":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","created":"2023-11-07T05:31:56Z","multiplyByOccupancy":true,"updated":"2023-11-07T05:31:56Z","externalId":"\u003cstring>","accounts":[],"url":"\u003cstring>","initialSites":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"initialDatasourceTypes":[],"username":"\u003cstring>","workflowOwnerEmail":"jsmith@example.com","dataCollectionStartDate":"2023-12-25","isActive":true},"updated":"2023-11-07T05:31:56Z","externalId":"\u003cstring>","accounts":[],"url":"\u003cstring>","initialSites":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"initialDatasourceTypes":[],"username":"\u003cstring>","workflowOwnerEmail":"jsmith@example.com","dataCollectionStartDate":"2023-12-25","isActive":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"902db79b-eea1-4796-8543-76aeac69c9de":{"description":"No response body","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{"3c784457-d287-45bf-a196-1d18b2b71648":{"url":"https://external.nectarclimate.com/v2.1","description":"Nectar API Server"}}},"originalFileLocation":"api-reference/openapi-v2-1.json"},"subdomain":"nectar","siteName":"Nectar Knowledge Base","title":"Webhook for updates to an existing utility account connection v2 - Nectar Knowledge Base","navMaps":{"firstHrefInVersion":{"v2.2":{"href":"/api-reference/v2-2/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2","matchLevel":1},"v2.1":{"href":"/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2","matchLevel":0},"v2.0":{"href":"/api-reference/v2-0/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-09-29T02:18:56.111Z","originalFileLocation":"api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2.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=\"Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes protectedChanges (sensitive fields that changed) and old (previous field values).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nectar Knowledge Base\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_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=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Webhook for updates to an existing utility account connection v2 - Nectar Knowledge Base\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes protectedChanges (sensitive fields that changed) and old (previous field values).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nectar Knowledge Base\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nectar.mintlify.app/_mintlify/api/og/v2?division=Webhook+Payloads\u0026amp;title=Webhook+for+updates+to+an+existing+utility+account+connection+v2\u0026amp;description=Fires+when+any+field+on+a+connection+changes+%E2%80%94+status+transitions%2C+credential+updates%2C+account+additions+or+removals%2C+site+reassignments%2C+or+other+detail+change\u0026amp;theme=d6f36af3d51813e1674f4062\u0026amp;signature=166ee718e1fb1f45ce5d8632e3564d32721e6be2d8b2c623eebd5d0364f2e6b7\">\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=\"Webhook for updates to an existing utility account connection v2 - Nectar Knowledge Base\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes protectedChanges (sensitive fields that changed) and old (previous field values).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nectar.mintlify.app/_mintlify/api/og/v2?division=Webhook+Payloads\u0026amp;title=Webhook+for+updates+to+an+existing+utility+account+connection+v2\u0026amp;description=Fires+when+any+field+on+a+connection+changes+%E2%80%94+status+transitions%2C+credential+updates%2C+account+additions+or+removals%2C+site+reassignments%2C+or+other+detail+change\u0026amp;theme=d6f36af3d51813e1674f4062\u0026amp;signature=166ee718e1fb1f45ce5d8632e3564d32721e6be2d8b2c623eebd5d0364f2e6b7\">\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=\"/docs/mintlify-assets/_mintlify/favicons/nectar/gZW-eyAyHdprqGVs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nectar Knowledge Base\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#092A54\">\u003clink data-mint-head rel=\"canonical\" href=\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://nectarclimate.com/#organization\",\"name\":\"Nectar Knowledge Base\",\"url\":\"https://nectarclimate.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nectar/XTv6xdiQoWsCyg3G/logo/light.svg?fit=max\u0026auto=format\u0026n=XTv6xdiQoWsCyg3G\u0026q=85\u0026s=8b28e329f1aad1d1fbf3022d179cd34e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://nectarclimate.com/docs#website\",\"name\":\"Nectar Knowledge Base\",\"url\":\"https://nectarclimate.com/docs\",\"publisher\":{\"@id\":\"https://nectarclimate.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2#webpage\",\"url\":\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2\",\"name\":\"Webhook for updates to an existing utility account connection v2\",\"description\":\"Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes protectedChanges (sensitive fields that changed) and old (previous field values).\",\"dateModified\":\"2026-09-29T02:18:56.111Z\",\"isPartOf\":{\"@id\":\"https://nectarclimate.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Webhook Payloads\",\"item\":\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-utility-account-connection-creation-v2\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Webhook for updates to an existing utility account connection v2\",\"item\":\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2#apireference\",\"headline\":\"Webhook for updates to an existing utility account connection v2\",\"name\":\"Webhook for updates to an existing utility account connection v2\",\"description\":\"Fires when any field on a connection changes — status transitions, credential updates, account additions or removals, site reassignments, or other detail changes. Timestamp-only updates do not trigger this event. The payload includes protectedChanges (sensitive fields that changed) and old (previous field values).\",\"url\":\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2\",\"mainEntityOfPage\":{\"@id\":\"https://nectarclimate.com/docs/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2#webpage\"},\"dateModified\":\"2026-09-29T02:18:56.111Z\",\"publisher\":{\"@id\":\"https://nectarclimate.com/#organization\"},\"isPartOf\":{\"@id\":\"https://nectarclimate.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nectar Knowledge Base\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nectar Knowledge Base","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://dash.nectarclimate.com"},{"anchor":"Support","icon":"envelope","href":"mailto:support@nectarclimate.com"},{"anchor":"Status","icon":"signal","href":"https://stats.uptimerobot.com/rICwZ0oMLI"}]},"tabs":[{"tab":"Knowledge Base","pages":[{"title":"Knowledge Base","href":""}]},{"tab":"Developer Guide","pages":[{"title":"Developer Guide","href":"/developer-guide/for-developers"}]},{"tab":"API Reference","versions":[{"version":"v2.2","pages":[{"title":"v2.2","href":"/api-reference/v2-2/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2"}]},{"version":"v2.1","groups":[{"group":"Accounts","pages":[{"title":"Update an account","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /account/{account_id}","href":"/api-reference/v2-1/accounts/update-an-account"},{"title":"Bulk update accounts for a company","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /account/bulk","href":"/api-reference/v2-1/accounts/bulk-update-accounts-for-a-company"}]},{"group":"Companies","pages":[{"title":"Retrieve Companies","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /company","href":"/api-reference/v2-1/companies/retrieve-companies"},{"title":"Create Company","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /company","href":"/api-reference/v2-1/companies/create-company"},{"title":"Get Company Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /company/{company_id}","href":"/api-reference/v2-1/companies/get-company-details"},{"title":"Delete Company","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json delete /company/{company_id}","href":"/api-reference/v2-1/companies/delete-company"},{"title":"Update Company","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /company/{company_id}","href":"/api-reference/v2-1/companies/update-company"}]},{"group":"Webhook Portal","pages":[{"title":"Get Webhook Settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /configure_webhook","href":"/api-reference/v2-1/webhook-portal/get-webhook-settings"},{"title":"Webhook Portal","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /configure_webhook","href":"/api-reference/v2-1/webhook-portal/webhook-portal"},{"title":"Update Webhook Settings","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /configure_webhook","href":"/api-reference/v2-1/webhook-portal/update-webhook-settings"}]},{"group":"Connections","pages":[{"title":"Create Magic Link for Updating a Utility Account Connection","deprecated":true,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /connection/{connection_id}","href":"/api-reference/v2-1/connections/create-magic-link-for-updating-a-utility-account-connection"},{"title":"Get an Utility Account Connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /connection/{connection_id}/details","href":"/api-reference/v2-1/connections/get-an-utility-account-connection"},{"title":"Update an Utility Account Connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /connection/{connection_id}/details","href":"/api-reference/v2-1/connections/update-an-utility-account-connection"},{"title":"Confirm a utility account connection for a company.","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /connection/{connection_id}/status","href":"/api-reference/v2-1/connections/confirm-a-utility-account-connection-for-a-company"},{"title":"Get Company Utility Account Connections","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /connection/company/{company_id}","href":"/api-reference/v2-1/connections/get-company-utility-account-connections"},{"title":"Create Basic Utility Account Connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /connection/company/{company_id}","href":"/api-reference/v2-1/connections/create-basic-utility-account-connection"},{"title":"Create Magic Link for Creating a Utility Account Connection","deprecated":true,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /connection/company/{company_id}/link","href":"/api-reference/v2-1/connections/create-magic-link-for-creating-a-utility-account-connection"},{"title":"Create Magic Link with Prefilled Data for Creating a Utility Account Connection","deprecated":true,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /connection/company/{company_id}/link","href":"/api-reference/v2-1/connections/create-magic-link-with-prefilled-data-for-creating-a-utility-account-connection"},{"title":"Search Utility Providers","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /datasource","href":"/api-reference/v2-1/connections/search-utility-providers"}]},{"group":"Documents","pages":[{"title":"Get Document Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /document/{document_id}","href":"/api-reference/v2-1/documents/get-document-details"},{"title":"Update Document Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /document/{document_id}","href":"/api-reference/v2-1/documents/update-document-details"},{"title":"Get Demand Meters by Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /document/{document_id}/demandmeters","href":"/api-reference/v2-1/documents/get-demand-meters-by-document"},{"title":"Get Documents by Company","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /document/company/{company_id}","href":"/api-reference/v2-1/documents/get-documents-by-company"},{"title":"Get Documents by Connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /document/connection/{connection_id}","href":"/api-reference/v2-1/documents/get-documents-by-connection"},{"title":"Get Documents by Site","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /document/site/{site_id}","href":"/api-reference/v2-1/documents/get-documents-by-site"}]},{"group":"Intervals","pages":[{"title":"Get Intervals by Connection (BETA)","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /interval/connection/{connection_id}","href":"/api-reference/v2-1/intervals/get-intervals-by-connection-beta"}]},{"group":"Invitations","pages":[{"title":"Get Invitation Detail","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /invitation/{invitation_id}","href":"/api-reference/v2-1/invitations/get-invitation-detail"},{"title":"Revoke Invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /invitation/{invitation_id}/revoke","href":"/api-reference/v2-1/invitations/revoke-invitation"},{"title":"List Invitations by Company","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /invitation/company/{company_id}","href":"/api-reference/v2-1/invitations/list-invitations-by-company"},{"title":"Create Connection Invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /invitation/company/{company_id}","href":"/api-reference/v2-1/invitations/create-connection-invitation"},{"title":"Create Reconnect Invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /invitation/connection/{connection_id}","href":"/api-reference/v2-1/invitations/create-reconnect-invitation"}]},{"group":"Jobs","pages":[{"title":"Get Job Status Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /job/{job_id}","href":"/api-reference/v2-1/jobs/get-job-status-details"},{"title":"Submit Job via Single Document Upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /job/company/{company_id}","href":"/api-reference/v2-1/jobs/submit-job-via-single-document-upload"},{"title":"Submit Job via Bulk Document Upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /job/company/{company_id}/bulk","href":"/api-reference/v2-1/jobs/submit-job-via-bulk-document-upload"}]},{"group":"Meters","pages":[{"title":"Get Meter Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /meter/{meter_id}","href":"/api-reference/v2-1/meters/get-meter-details"},{"title":"Update Meter Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /meter/{meter_id}","href":"/api-reference/v2-1/meters/update-meter-details"},{"title":"Get Meters by Company","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /meter/company/{company_id}","href":"/api-reference/v2-1/meters/get-meters-by-company"},{"title":"Get Meters by Connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /meter/connection/{connection_id}","href":"/api-reference/v2-1/meters/get-meters-by-connection"},{"title":"Get Meters by Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /meter/document/{document_id}","href":"/api-reference/v2-1/meters/get-meters-by-document"},{"title":"Get Meters by Site","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /meter/site/{site_id}","href":"/api-reference/v2-1/meters/get-meters-by-site"}]},{"group":"Ping","pages":[{"title":"Ping Test Endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /ping","href":"/api-reference/v2-1/ping/ping-test-endpoint"}]},{"group":"Sites","pages":[{"title":"Get Site Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /site/{site_id}","href":"/api-reference/v2-1/sites/get-site-details"},{"title":"Delete Site","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json delete /site/{site_id}","href":"/api-reference/v2-1/sites/delete-site"},{"title":"Update Site","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /site/{site_id}","href":"/api-reference/v2-1/sites/update-site"},{"title":"Get Sites by Company","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /site/company/{company_id}","href":"/api-reference/v2-1/sites/get-sites-by-company"},{"title":"Create Site","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json post /site/company/{company_id}","href":"/api-reference/v2-1/sites/create-site"}]},{"group":"Team","pages":[{"title":"Get Team and Billing Information","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /team","href":"/api-reference/v2-1/team/get-team-and-billing-information"},{"title":"Update Team and Billing Information","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /team","href":"/api-reference/v2-1/team/update-team-and-billing-information"}]},{"group":"Usage Data","pages":[{"title":"Get Usage Data Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /usage/{usage_data_id}","href":"/api-reference/v2-1/usage-data/get-usage-data-details"},{"title":"Delete Usage Data","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json delete /usage/{usage_data_id}","href":"/api-reference/v2-1/usage-data/delete-usage-data"},{"title":"Update Usage Data","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json patch /usage/{usage_data_id}","href":"/api-reference/v2-1/usage-data/update-usage-data"},{"title":"Get Usage Data by Company","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /usage/company/{company_id}","href":"/api-reference/v2-1/usage-data/get-usage-data-by-company"},{"title":"Get Usage Data by Utility Connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /usage/connection/{connection_id}","href":"/api-reference/v2-1/usage-data/get-usage-data-by-utility-connection"},{"title":"Get Usage Data by Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /usage/document/{document_id}","href":"/api-reference/v2-1/usage-data/get-usage-data-by-document"},{"title":"Get Usage Data by Meter","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /usage/meter/{meter_id}","href":"/api-reference/v2-1/usage-data/get-usage-data-by-meter"},{"title":"Get Usage Data by Site","deprecated":null,"version":null,"openapi":"/api-reference/openapi-v2-1.json get /usage/site/{site_id}","href":"/api-reference/v2-1/usage-data/get-usage-data-by-site"}]},{"group":"Webhook Payloads","pages":[{"title":"Webhook for utility account connection creation v2","description":"Fires when a new connection is created via the API, magic link, or the platform. The payload contains the full connection state at the time of creation.","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook connection.created.v2","href":"/api-reference/v2-1/webhook-payloads/webhook-for-utility-account-connection-creation-v2"},{"title":"Webhook for updates to an existing utility account connection v2","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook connection.updated.v2","href":"/api-reference/v2-1/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2"},{"title":"Webhook for connection status changes v2","description":"Fires when a connection's status transitions — including initial validation, credential errors, provider outages, and recovery. A single change can produce both this event and `connection.updated.v2`.","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook connection.validated.v2","href":"/api-reference/v2-1/webhook-payloads/webhook-for-connection-status-changes-v2"},{"title":"Webhook for new document availability v2","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook document.created.v2","href":"/api-reference/v2-1/webhook-payloads/webhook-for-new-document-availability-v2"},{"title":"Webhook for document update v2","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook document.updated.v2","href":"/api-reference/v2-1/webhook-payloads/webhook-for-document-update-v2"},{"title":"Webhook for document deletion v2","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook document.deleted.v2","href":"/api-reference/v2-1/webhook-payloads/webhook-for-document-deletion-v2"},{"title":"Webhook for synced interval data","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook intervals.synced","href":"/api-reference/v2-1/webhook-payloads/webhook-for-synced-interval-data"},{"title":"Webhook for document upload job completion","version":null,"deprecated":null,"openapi":"/api-reference/openapi-v2-1.json webhook job.completed.v2","href":"/api-reference/v2-1/webhook-payloads/webhook-for-document-upload-job-completion"}]}]},{"version":"v2.0","pages":[{"title":"v2.0","href":"/api-reference/v2-0/webhook-payloads/webhook-for-updates-to-an-existing-utility-account-connection-v2"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Webhook for updates to an existing utility account connection v2 - Nectar Knowledge Base","buildId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","deploymentId":"dpl_GvhK4qVXq51DpfYJLCtPpYNN4YHN","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bg4Z7D_G.js","utils-Biz734EK.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C6F9YHs6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BoJjY_VP.js","snippetPresets-CnZ-mOFh.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-DC_SB2pp.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BYKtOiIP.js","shallow-COAac_UD.js","getApiPlaygroundDisplay-BV4Viqi2.js","CodeSnippet-DDgW-JXl.js","CodeSnippets-CP1LpNhG.js","Page-BeiUfucV.js","getPastedJson-Cvgvbfmv.js","icon-D-H368xH.js","MethodPill-CXSxH1VW.js","DuplicateIcon-JcbBzF1x.js","createIcon-BDt_aHZM.js","DynamicMarkdown-DO1Fz7ar.js","SectionHeading-mwKBArs3.js","axios-vUo_bRtp.js","Markdown-C3KUTGJN.js","clsx-C6CAjViH.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C3vb5JQZ.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C8Hisf3g.js"]}