Exchange your API credentials for a bearer token granting time-bound access to your organisation’s resources.
This token is valid for 1 hour. Once it expires you’ll need to request a new one. For longer-lived, site-scoped access for end users, see the Component token.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"axle energy","colors":{"primary":"#FF3333","light":"#00C1FF"},"logo":{"light":"https://mintcdn.com/fascinating-teal-alpaca/ZHDMqH1NidHRccoN/logo/light.png?fit=max\u0026auto=format\u0026n=ZHDMqH1NidHRccoN\u0026q=85\u0026s=e0a5a586f2dfdeedfa3529a1f5a7bf0b","dark":"https://mintcdn.com/fascinating-teal-alpaca/ZHDMqH1NidHRccoN/logo/dark.png?fit=max\u0026auto=format\u0026n=ZHDMqH1NidHRccoN\u0026q=85\u0026s=f29e4413ae4d488f19e2477ec56825e9"},"favicon":"https://mintcdn.com/fascinating-teal-alpaca/xc9fR-zImR_B1TQ1/favicon.png?fit=max\u0026auto=format\u0026n=xc9fR-zImR_B1TQ1\u0026q=85\u0026s=ba360d117e9c15ef166937f848151f3b","api":{"mdx":{"server":"https://api-sandbox.axle.energy"}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://axle.energy","label":"Home"}],"primary":{"type":"button","label":"Get in touch","href":"mailto:support@axle.energy"}},"footer":{"socials":{"website":"https://www.axle.energy/","github":"https://github.com/axle-energy","linkedin":"https://www.linkedin.com/company/axle-energy"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fascinating-teal-alpaca","hasAudioNarration":false,"actualSubdomain":"fascinating-teal-alpaca","customDomains":["docs.axle.energy"],"gitSource":{"type":"github","owner":"axle-energy","repo":"axle","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0ed364f4b490f2ad7f7563","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API Reference","count":78},{"language":"default","tag":"Guides","count":62},{"language":"default","tag":"API Documentation","count":49},{"language":"default","tag":"EV Charging","count":29},{"language":"default","tag":"Assets","count":21},{"language":"default","tag":"Sites","count":18},{"language":"default","tag":"Batteries \u0026 Heating","count":16},{"language":"default","tag":"Smart Charging","count":16},{"language":"default","tag":"Markets","count":12},{"language":"default","tag":"Core workflows","count":11}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/auth/token-form","slug":"/api-reference/auth/token-form","pageMetadata":{"title":"Authentication","openapi":"POST /auth/token-form","description":"Authenticate using username and password submitted via form data.\n\nThis endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication.\n\nThe returned token is valid for 1 hour, after which a new token must be requested.","href":"/api-reference/auth/token-form"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Authenticate using username and password submitted via form data.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"This endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication.\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The returned token is valid for 1 hour, after which a new token must be requested.\"\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Exchange your API credentials for a bearer token granting time-bound access to your organisation’s resources.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This token is valid for `,_jsx(_components.strong,{children:`1 hour`}),`. Once it expires you’ll need to request a new one. For longer-lived, site-scoped access for end users, see the `,_jsx(_components.a,{href:`/api-reference/auth/component-token`,children:`Component token`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authentication","openapi":"POST /auth/token-form","description":"Authenticate using username and password submitted via form data.\n\nThis endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication.\n\nThe returned token is valid for 1 hour, after which a new token must be requested.","href":"/api-reference/auth/token-form"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["1. Authentication"],"summary":"Login For Access Token Form","description":"Authenticate using username and password submitted via form data.\n\nThis endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication.\n\nThe returned token is valid for 1 hour, after which a new token must be requested.","operationId":"login_for_access_token_form_auth_token_form_post","requestBody":"19c277d9-f545-4ee1-9af5-48231f754a06","responses":{"200":"0e64e5d2-8bfc-4ce1-a372-ea0dd61b502e","401":"4bd821fd-c374-4714-af5a-76c72f289107","422":"1e1de2aa-e928-435b-9f2f-f5785fdbf03e"},"method":"post","type":"path","servers":["7e77156f-7471-4f26-99da-a32a977570a4"],"security":[],"path":"/auth/token-form","baseUrlOptions":["https://api-sandbox.axle.energy"],"title":"Login For Access Token Form","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"username":{"type":"string","title":"Username","isRequired":true,"uniqueKey":"username","typeLabel":"string"},"password":{"type":"string","title":"Password","isRequired":true,"uniqueKey":"password","typeLabel":"string"},"grant_type":{"type":"string","pattern":"^password$","title":"Grant Type","default":"password","uniqueKey":"grant_type","typeLabel":"string"}},"type":"object","required":["username","password"],"title":"Body_login_for_access_token_form_auth_token_form_post","uniqueKey":"","typeLabel":"Body_login_for_access_token_form_auth_token_form_post · object"},"examples":{"Example":{"title":"Example","value":{"username":"\u003cstring>","password":"\u003cstring>","grant_type":"password"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"0e64e5d2-8bfc-4ce1-a372-ea0dd61b502e":{"description":"Successfully authenticated with access token","content":{"application/json":{"schema":{"properties":{"access_token":{"type":"string","title":"Access Token","isRequired":true,"uniqueKey":"access_token","typeLabel":"string"},"token_type":{"type":"string","title":"Token Type","isRequired":true,"uniqueKey":"token_type","typeLabel":"string"}},"type":"object","required":["access_token","token_type"],"title":"Token","description":"Organisation scoped token.","uniqueKey":"","typeLabel":"Token · object"},"examples":{"Example":{"title":"Example","value":{"access_token":"\u003cstring>","token_type":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4bd821fd-c374-4714-af5a-76c72f289107":{"description":"Incorrect username or password","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"1e1de2aa-e928-435b-9f2f-f5785fdbf03e":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"7e77156f-7471-4f26-99da-a32a977570a4":{"url":"https://api-sandbox.axle.energy"}}},"originalFileLocation":"swagger.json"},"subdomain":"fascinating-teal-alpaca","siteName":"axle energy","title":"Authentication - axle energy","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-25T10:36:59.220Z","originalFileLocation":"api-reference/auth/token-form.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"Authenticate using username and password submitted via form data. This endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication. The returned token is valid for 1 hour, after which a new token must be requested.\">\u003cmeta data-mint-head name=\"application-name\" content=\"axle energy\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_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/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_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/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_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/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_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/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_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/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_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/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_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/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - axle energy\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authenticate using username and password submitted via form data. This endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication. The returned token is valid for 1 hour, after which a new token must be requested.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"axle energy\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.axle.energy/api-reference/auth/token-form\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fascinating-teal-alpaca.mintlify.site/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Authentication\u0026amp;description=Authenticate+using+username+and+password+submitted+via+form+data.%0A%0AThis+endpoint+is+compatible+with+standard+OAuth2+clients+that+use+form-based+authentication.+\u0026amp;theme=7aaa38f999dc0c1dc9fc04ed\u0026amp;signature=07c9b554abc9dd729aa3385f8c4d070f865c1f221b791bfa2bcb42f453ef1b63\">\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=\"Authentication - axle energy\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authenticate using username and password submitted via form data. This endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication. The returned token is valid for 1 hour, after which a new token must be requested.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fascinating-teal-alpaca.mintlify.site/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Authentication\u0026amp;description=Authenticate+using+username+and+password+submitted+via+form+data.%0A%0AThis+endpoint+is+compatible+with+standard+OAuth2+clients+that+use+form-based+authentication.+\u0026amp;theme=7aaa38f999dc0c1dc9fc04ed\u0026amp;signature=07c9b554abc9dd729aa3385f8c4d070f865c1f221b791bfa2bcb42f453ef1b63\">\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/fascinating-teal-alpaca/sJSQYU-2Up3tDlLb/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"axle energy\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF3333\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.axle.energy/api-reference/auth/token-form\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/auth/token-form.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.axle.energy/#organization\",\"name\":\"axle energy\",\"url\":\"https://docs.axle.energy\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fascinating-teal-alpaca/ZHDMqH1NidHRccoN/logo/light.png?fit=max\u0026auto=format\u0026n=ZHDMqH1NidHRccoN\u0026q=85\u0026s=e0a5a586f2dfdeedfa3529a1f5a7bf0b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.axle.energy#website\",\"name\":\"axle energy\",\"url\":\"https://docs.axle.energy\",\"publisher\":{\"@id\":\"https://docs.axle.energy/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.axle.energy/api-reference/auth/token-form#webpage\",\"url\":\"https://docs.axle.energy/api-reference/auth/token-form\",\"name\":\"Authentication\",\"description\":\"Authenticate using username and password submitted via form data. This endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication. The returned token is valid for 1 hour, after which a new token must be requested.\",\"dateModified\":\"2026-06-25T10:36:59.220Z\",\"isPartOf\":{\"@id\":\"https://docs.axle.energy#website\"},\"breadcrumb\":{\"@id\":\"https://docs.axle.energy/api-reference/auth/token-form#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.axle.energy/api-reference/auth/token-form#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://docs.axle.energy/api-reference/sandbox\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.axle.energy/api-reference/auth/token-form\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.axle.energy/api-reference/auth/token-form#apireference\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Authenticate using username and password submitted via form data. This endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication. The returned token is valid for 1 hour, after which a new token must be requested.\",\"url\":\"https://docs.axle.energy/api-reference/auth/token-form\",\"mainEntityOfPage\":{\"@id\":\"https://docs.axle.energy/api-reference/auth/token-form#webpage\"},\"dateModified\":\"2026-06-25T10:36:59.220Z\",\"publisher\":{\"@id\":\"https://docs.axle.energy/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.axle.energy#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"axle energy\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"axle energy\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/auth/token-form.md","siteName":"axle energy","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"Markets","icon":"globe","pages":[{"title":"Markets","href":"/markets/gb"}]},{"tab":"API Reference","icon":"rectangle-terminal","groups":[{"group":"API Documentation","public":true,"pages":[{"group":"Getting Started","public":true,"pages":[{"title":"Setting up an environment","description":"Get started with a sandbox environment","icon":"gears","href":"/api-reference/sandbox"}]},{"group":"Authentication","public":true,"pages":[{"title":"Authentication","openapi":"POST /auth/token-form","href":"/api-reference/auth/token-form"},{"title":"Component token","openapi":"POST /auth/component-token","description":"Authenticate on behalf of an end user by supplying their external user ID.\n\nThis endpoint is used by authenticated API clients to create a user-scoped access token for a specific end user (referenced by their external ID) in the API client's organisation. If no such end user exists, one will be created on demand.\n\nReturns a bearer access token scoped to this end user upon success.\n\nThis token is site-scoped and valid for 24 hours, longer-lived than the standard organisation token (1 hour) as it is intended for end-user sessions.","href":"/api-reference/auth/component-token"}]},{"group":"Meters","public":true,"pages":[{"title":"Get meter info by address","openapi":"POST /meter/by-address","href":"/api-reference/meter/get-by-address"},{"title":"Get meter info by MPAN","openapi":"POST /meter/by-mpan","href":"/api-reference/meter/get-by-mpan"},{"title":"Search meters","openapi":"GET /meter/search","href":"/api-reference/meter/search"},{"title":"Get meter info by meter ref","openapi":"GET /meter/by-ref/{meter_ref}","href":"/api-reference/meter/get-by-ref"}]},{"group":"Sites","public":true,"pages":[{"title":"Get all sites","openapi":"GET /entities/site","href":"/api-reference/entities/site/list"},{"title":"Get site","openapi":"GET /entities/site/{site_id}","href":"/api-reference/entities/site/get"},{"title":"Create site","openapi":"POST /entities/site","href":"/api-reference/entities/site/post"},{"title":"Onboard","openapi":"POST /entities/site/onboard","href":"/api-reference/entities/site/onboard"},{"title":"Onboard site and asset (legacy)","openapi":"POST /entities/site/onboard-site-and-asset","href":"/api-reference/entities/site/onboard-site-and-asset"},{"title":"Offboard site and assets","openapi":"POST /entities/site/{site_id}/offboard-site-and-assets","href":"/api-reference/entities/site/offboard"},{"title":"Update site","openapi":"PATCH /entities/site/{site_id}","href":"/api-reference/entities/site/update"},{"title":"Add site boundary meter consent","openapi":"POST /entities/site/{site_id}/meter-consent","href":"/api-reference/entities/site/add-meter-consent"},{"title":"Add site dispatch consent","openapi":"POST /entities/site/{site_id}/dispatch-consent","href":"/api-reference/entities/site/add-consent"},{"title":"Remove site dispatch consent","openapi":"POST /entities/site/{site_id}/dispatch-deconsent","href":"/api-reference/entities/site/remove-consent"},{"title":"Delete site","openapi":"DELETE /entities/site/{site_id}","href":"/api-reference/entities/site/delete"},{"title":"Get site price curve","openapi":"GET /entities/site/{site_id}/price-curve","href":"/api-reference/entities/site/price-curve"},{"title":"Get site flex events","openapi":"GET /entities/site/{site_id}/flex-events","href":"/api-reference/entities/site/flex-events"},{"title":"Check eligibility","openapi":"GET /entities/site/{site_id}/eligibility","href":"/api-reference/entities/site/eligibility"},{"title":"Add site auth token","openapi":"POST /entities/site/{site_id}/token","href":"/api-reference/entities/site/add-token"},{"group":"Advanced Onboarding","public":true,"pages":[{"title":"Initialise site and assets","openapi":"POST /entities/site/initialise","href":"/api-reference/entities/site/initialise"},{"title":"Enrol site","openapi":"POST /entities/site/{site_id}/enrol","href":"/api-reference/entities/site/enrol"},{"title":"Unenrol site","openapi":"POST /entities/site/{site_id}/unenrol","href":"/api-reference/entities/site/unenrol"}]}]},{"group":"Assets","public":true,"pages":[{"title":"Get all assets","openapi":"GET /entities/asset","href":"/api-reference/entities/asset/list"},{"title":"Get asset","openapi":"GET /entities/asset/{asset_id}","href":"/api-reference/entities/asset/get"},{"title":"Get asset by external id","openapi":"GET /entities/asset/external-id/{external_id}","href":"/api-reference/entities/asset/get-by-external-id"},{"title":"Create asset","openapi":"POST /entities/asset","href":"/api-reference/entities/asset/post"},{"title":"Update Asset","openapi":"PATCH /entities/asset/{asset_id}","href":"/api-reference/entities/asset/update"},{"title":"Delete asset","openapi":"DELETE /entities/asset/{asset_id}","href":"/api-reference/entities/asset/delete"},{"title":"Update event status","openapi":"POST /entities/asset/{asset_id}/callback/{event_id}","href":"/api-reference/entities/asset/update-status"},{"title":"Get asset price curve","openapi":"GET /entities/asset/{asset_id}/price-curve","href":"/api-reference/entities/asset/price-curve"},{"title":"Send asset event","openapi":"POST /entities/asset/{asset_id}/event","href":"/api-reference/entities/asset/event/post"},{"title":"Send intent update event","openapi":"POST /entities/asset/{asset_id}/event/intent","href":"/api-reference/entities/asset/event/intent"},{"title":"Send tariff update event","openapi":"POST /entities/asset/{asset_id}/event/tariff-update","href":"/api-reference/entities/asset/event/tariff"},{"title":"Send plug-in event","openapi":"POST /entities/asset/{asset_id}/event/plug-in","href":"/api-reference/entities/asset/event/plug-in"},{"title":"Send plug-out event","openapi":"POST /entities/asset/{asset_id}/event/plug-out","href":"/api-reference/entities/asset/event/plug-out"},{"title":"Send charge-now event","openapi":"POST /entities/asset/{asset_id}/event/charge-now","href":"/api-reference/entities/asset/event/charge-now"},{"title":"Send charge-now-deleted event","openapi":"POST /entities/asset/{asset_id}/event/charge-now-deleted","href":"/api-reference/entities/asset/event/charge-now-deleted"},{"title":"Send scheduled-charge-deleted event","openapi":"POST /entities/asset/{asset_id}/event/scheduled-charge-deleted","href":"/api-reference/entities/asset/event/scheduled-charge-deleted"},{"title":"Send charge-refused event","openapi":"POST /entities/asset/{asset_id}/event/charge-refused","href":"/api-reference/entities/asset/event/charge-refused"}]},{"group":"Data","public":true,"pages":[{"title":"Send asset readings","openapi":"POST /data/readings","href":"/api-reference/data/readings"}]},{"group":"Rewards","public":true,"pages":[{"title":"Get Balance Info","openapi":"GET /rewards/{site_id}/info","href":"/api-reference/rewards/balance-info"},{"title":"Get Balance Withdrawal URL","openapi":"GET /rewards/{site_id}/url/balance","href":"/api-reference/rewards/withdrawal-url"},{"title":"Get transaction history","openapi":"GET /rewards/{site_id}/transactions","href":"/api-reference/rewards/transactions"}]},{"group":"Validation","public":true,"pages":[{"title":"Validate an MPAN","openapi":"POST /validation/mpan","href":"/api-reference/validation/mpan"}]},{"group":"Examples","public":true,"pages":[{"title":"Get example dispatch event","openapi":"GET /examples/dispatch-event","href":"/api-reference/examples/get-example-dispatch-event"},{"title":"Get example OCPP charging profile","openapi":"GET /examples/ocpp-charging-profile","href":"/api-reference/examples/get-example-ocpp-charging-profile"}]}]}]}]},"basePath":"","title":"Authentication - axle energy","deploymentId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","buildId":"dpl_3VZr4zL4q2wbintGwWjSCGUgnuP7","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DUG0fxZu.js","snippetPresets-Ba5aWAdQ.js","utils-GxQLQihZ.js","style-to-object-BY3JEAdk.js","utils-WKMM_gjD.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Bo9LYdaA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DwYjaFhs.js","_Uint8Array-DDE2Hehm.js","isObject-FP1Yky1u.js","Page-CUkc1DBo.js","api-description-markdown-CDE0Fpj5.js","DynamicMarkdown-F4EfLno9.js","CodeSnippet-Czwn5OJE.js","use-playground-group-access-C3A6I116.js","SectionHeading-DMe18In2.js","ApiExamples-DhR-5ORn.js","usePlaygroundInputsStore-BaYqfAgH.js","shallow-BC7UwQwD.js","isEqual-gcN6MEQu.js","CodeSnippets-B8P54LrN.js","MethodPill-CW7tTaiB.js","getPastedJson-DB5smC0Q.js","Check2Icon-DDdveNjm.js","axios-CsQoIw0U.js","Markdown-BLge-GTN.js","AssistantPageLink-BFI2wFhH.js","dist-C1RpOC6K.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}