{
"error": {
"message": "Authorization header is required. Please include an 'Authorization' header with your request.",
"code": "auth_header_missing",
"status": 401
}
}
{
"error": {
"message": "Authorization header is required. Please include an 'Authorization' header with your request.",
"code": "auth_header_missing",
"status": 401
}
}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lava Documentation","colors":{"primary":"#ff5a1f","light":"#ff8833","dark":"#de3232"},"logo":{"light":"https://mintcdn.com/lava-a04d7b3f/ZrRxM7p0Ydvvj-HA/logo/light.svg?fit=max\u0026auto=format\u0026n=ZrRxM7p0Ydvvj-HA\u0026q=85\u0026s=03458687cb3832e4d90e88623271f016","dark":"https://mintcdn.com/lava-a04d7b3f/ZrRxM7p0Ydvvj-HA/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZrRxM7p0Ydvvj-HA\u0026q=85\u0026s=399fa29bdca1e83dcecc5beb383ac715"},"favicon":"https://mintcdn.com/lava-a04d7b3f/ZrRxM7p0Ydvvj-HA/favicon.svg?fit=max\u0026auto=format\u0026n=ZrRxM7p0Ydvvj-HA\u0026q=85\u0026s=8242073433742c7d1089fcaa7fb49ba3","navbar":{"links":[{"icon":"globe","href":"https://lava.so","label":"Website"},{"icon":"newspaper","href":"https://lava.so/blog","label":"Blog"}],"primary":{"type":"button","label":"Sign Up","href":"https://lava.so/sign-up"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/lavapayments"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lava-a04d7b3f","hasAudioNarration":false,"actualSubdomain":"lava-a04d7b3f","customDomains":["lava.so"],"gitSource":{"type":"github","owner":"lavapayments","repo":"lava","deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada807f41469b3659579c31","collectionId":"1c1fff06-fbd3-4f22-b387-53ba961f93d3","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada807f41469b3659579c31"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adbf068088c80d2d205218d","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"API Reference","count":60},{"language":"default","tag":"Build with Lava Gateway","count":24},{"language":"default","tag":"Lava Desktop","count":11},{"language":"default","tag":"Get Started","count":9},{"language":"default","tag":"Monetize","count":6},{"language":"default","tag":"Customers","count":6},{"language":"default","tag":"Spend Keys","count":6},{"language":"default","tag":"Agents","count":5},{"language":"default","tag":"AI Gateway","count":5},{"language":"default","tag":"Lava MCP","count":5}]},"assistantConfig":{"enableStarterQuestions":false},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/customers/get-customer","slug":"/api-reference/customers/get-customer","pageMetadata":{"title":"Get customer","description":"Get a customer by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /customers/{customer_id}","href":"/api-reference/customers/get-customer","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get a customer by ID\"\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":"Get customer","description":"Get a customer by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /customers/{customer_id}","href":"/api-reference/customers/get-customer","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get customer","description":"Get a customer by ID","security":["229d8efe-6351-4722-8f49-c72f0808f70e"],"tags":["Customers"],"parameters":["b97b28f9-84c6-40d5-9ad2-3b243ba3001e"],"responses":{"200":"2bbe5072-6467-4a6b-bce1-6981c5ad1bfe","401":"d9ba2fa9-a454-4aa5-8a0b-eb7cd0567f74","404":"11a92f6b-fa2a-4265-8a71-b005c127a2aa","500":"c0330171-ba52-49a3-b770-5e1b9bea45c3"},"method":"get","type":"path","servers":["78c4164b-f15d-442d-94ba-04d549b4e25e"],"path":"/customers/{customer_id}","baseUrlOptions":["https://api.lava.so/v1/"],"title":"Get customer","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b97b28f9-84c6-40d5-9ad2-3b243ba3001e":{"name":"customer_id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"Customer ID","uniqueKey":"","typeLabel":"string"},"description":"Customer ID"}},"responses":{"2bbe5072-6467-4a6b-bce1-6981c5ad1bfe":{"description":"Customer details","content":{"application/json":{"schema":{"type":"object","properties":{"customer_id":{"type":"string","example":"con_test_01EXAMPLE00000000000000001","description":"Unique identifier for the customer","isRequired":true,"uniqueKey":"customer_id","typeLabel":"string"},"reference_id":{"oneOf":[{"type":"string","example":"usr_abc123","description":"Merchant's external identifier for this customer. Used for idempotent creation — POST with the same reference_id returns the existing customer.","isRequired":true,"uniqueKey":"reference_id.oneOf.0","typeLabel":"string"},{"type":"null","example":"usr_abc123","description":"Merchant's external identifier for this customer. Used for idempotent creation — POST with the same reference_id returns the existing customer.","isRequired":true,"uniqueKey":"reference_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"reference_id","typeLabel":"string | null"},"contact":{"type":"object","properties":{"phone":{"type":"string","example":"+14155552671","description":"User's phone number in E.164 format","isRequired":true,"uniqueKey":"contact.phone","typeLabel":"string"},"email":{"type":"string","example":"user@example.com","description":"User's email address","isRequired":true,"uniqueKey":"contact.email","typeLabel":"string"},"first_name":{"type":"string","example":"Jane","description":"User's first name","isRequired":true,"uniqueKey":"contact.first_name","typeLabel":"string"},"last_name":{"type":"string","example":"Smith","description":"User's last name","isRequired":true,"uniqueKey":"contact.last_name","typeLabel":"string"}},"required":["phone","email","first_name","last_name"],"isRequired":true,"uniqueKey":"contact","typeLabel":"object"},"subscription":{"oneOf":[{"type":"object","properties":{"subscription_id":{"type":"string","description":"Subscription ID","isRequired":true,"uniqueKey":"subscription.oneOf.0.subscription_id","typeLabel":"string"},"plan_id":{"type":"string","description":"Plan ID","isRequired":true,"uniqueKey":"subscription.oneOf.0.plan_id","typeLabel":"string"},"name":{"type":"string","description":"Display name of the plan","isRequired":true,"uniqueKey":"subscription.oneOf.0.name","typeLabel":"string"},"status":{"type":"string","enum":["active","cancelled"],"description":"Subscription status","isRequired":true,"uniqueKey":"subscription.oneOf.0.status","typeLabel":"enum\u003cstring>"}},"required":["subscription_id","plan_id","name","status"],"description":"Active subscription summary, or null if none","isRequired":true,"uniqueKey":"subscription.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"subscription_id":{"type":"string","description":"Subscription ID"},"plan_id":{"type":"string","description":"Plan ID"},"name":{"type":"string","description":"Display name of the plan"},"status":{"type":"string","enum":["active","cancelled"],"description":"Subscription status"}},"required":["subscription_id","plan_id","name","status"],"description":"Active subscription summary, or null if none","isRequired":true,"uniqueKey":"subscription.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"subscription","typeLabel":"object | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":true,"example":{"plan_tier":"enterprise","internal_id":"12345"},"description":"Arbitrary key-value metadata stored on the customer. Set via PATCH.","isRequired":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"example":{"plan_tier":"enterprise","internal_id":"12345"},"description":"Arbitrary key-value metadata stored on the customer. Set via PATCH.","isRequired":true,"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"metadata","typeLabel":"object | null"},"created_at":{"type":"string","format":"date-time","example":"2023-05-15T08:35:42Z","description":"ISO 8601 timestamp when the customer was created","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"}},"required":["customer_id","reference_id","contact","subscription","metadata","created_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customer_id":"con_test_01EXAMPLE00000000000000001","reference_id":"usr_abc123","contact":{"phone":"+14155552671","email":"user@example.com","first_name":"Jane","last_name":"Smith"},"subscription":{"subscription_id":"\u003cstring>","plan_id":"\u003cstring>","name":"\u003cstring>","status":"active"},"metadata":{"plan_tier":"enterprise","internal_id":"12345"},"created_at":"2023-05-15T08:35:42Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"d9ba2fa9-a454-4aa5-8a0b-eb7cd0567f74":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message describing what went wrong","example":"Invalid authentication credentials","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code describing what went wrong","example":"forward_token_json_invalid","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code of the error","example":400,"isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"type":"string","uniqueKey":"error.issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string"},"description":"Path to the field that caused the validation error","isRequired":true,"uniqueKey":"error.issues.items.[INDEX].path","typeLabel":"string[]"},"message":{"type":"string","description":"Error message describing the validation issue","isRequired":true,"uniqueKey":"error.issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","message"],"uniqueKey":"error.issues.items.[INDEX]","typeLabel":"object"},"description":"Optional array of specific validation issues with their paths and messages","example":[{"path":["model"],"message":"Missing required field: model"},{"path":["messages","0","content"],"message":"Invalid message content format"}],"uniqueKey":"error.issues","typeLabel":"object[]"}},"required":["message","code","status"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"auth_header_missing":{"title":"auth_header_missing","value":{"error":{"message":"Authorization header is required. Please include an 'Authorization' header with your request.","code":"auth_header_missing","status":401}}}},"exampleType":"examples"}},"exampleType":"examples"},"11a92f6b-fa2a-4265-8a71-b005c127a2aa":{"description":"Customer not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message describing what went wrong","example":"Invalid authentication credentials","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code describing what went wrong","example":"forward_token_json_invalid","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code of the error","example":400,"isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"type":"string","uniqueKey":"error.issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string"},"description":"Path to the field that caused the validation error","isRequired":true,"uniqueKey":"error.issues.items.[INDEX].path","typeLabel":"string[]"},"message":{"type":"string","description":"Error message describing the validation issue","isRequired":true,"uniqueKey":"error.issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","message"],"uniqueKey":"error.issues.items.[INDEX]","typeLabel":"object"},"description":"Optional array of specific validation issues with their paths and messages","example":[{"path":["model"],"message":"Missing required field: model"},{"path":["messages","0","content"],"message":"Invalid message content format"}],"uniqueKey":"error.issues","typeLabel":"object[]"}},"required":["message","code","status"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"customer_not_found":{"title":"customer_not_found","value":{"error":{"message":"Customer not found.","code":"customer_not_found","status":404}}}},"exampleType":"examples"}},"exampleType":"examples"},"c0330171-ba52-49a3-b770-5e1b9bea45c3":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"message":{"type":"string","description":"Human-readable error message describing what went wrong","example":"Invalid authentication credentials","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code describing what went wrong","example":"forward_token_json_invalid","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code of the error","example":400,"isRequired":true,"uniqueKey":"error.status","typeLabel":"integer"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"type":"string","uniqueKey":"error.issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string"},"description":"Path to the field that caused the validation error","isRequired":true,"uniqueKey":"error.issues.items.[INDEX].path","typeLabel":"string[]"},"message":{"type":"string","description":"Error message describing the validation issue","isRequired":true,"uniqueKey":"error.issues.items.[INDEX].message","typeLabel":"string"}},"required":["path","message"],"uniqueKey":"error.issues.items.[INDEX]","typeLabel":"object"},"description":"Optional array of specific validation issues with their paths and messages","example":[{"path":["model"],"message":"Missing required field: model"},{"path":["messages","0","content"],"message":"Invalid message content format"}],"uniqueKey":"error.issues","typeLabel":"object[]"}},"required":["message","code","status"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"rest_internal_server_error":{"title":"rest_internal_server_error","value":{"error":{"message":"An internal server error occurred while processing your request.","code":"rest_internal_server_error","status":500}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"229d8efe-6351-4722-8f49-c72f0808f70e":{"Auth":{"type":"http","scheme":"bearer","description":"Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'","scopes":[],"schemeName":"Auth"}}},"servers":{"78c4164b-f15d-442d-94ba-04d549b4e25e":{"url":"https://api.lava.so/v1/","description":"Lava API v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'","scopes":[],"schemeName":"Auth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Auth","name":"Authorization"}],"title":"Auth"}]},"originalFileLocation":"openapi.json"},"subdomain":"lava-a04d7b3f","siteName":"Lava Documentation","title":"Get customer - Lava Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-22T21:31:22.996Z","originalFileLocation":"api-reference/customers/get-customer.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=\"Get a customer by ID\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lava Documentation\">\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/lava-a04d7b3f/F8p0asVQB6PNXeBa/_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/lava-a04d7b3f/F8p0asVQB6PNXeBa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/lava-a04d7b3f/F8p0asVQB6PNXeBa/_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/lava-a04d7b3f/F8p0asVQB6PNXeBa/_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/lava-a04d7b3f/F8p0asVQB6PNXeBa/_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/lava-a04d7b3f/F8p0asVQB6PNXeBa/_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/lava-a04d7b3f/F8p0asVQB6PNXeBa/_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/lava-a04d7b3f/F8p0asVQB6PNXeBa/_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/lava-a04d7b3f/F8p0asVQB6PNXeBa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get customer - Lava Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a customer by ID\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lava Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://lava.so/docs/api-reference/customers/get-customer\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lava-a04d7b3f.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Get+customer\u0026amp;description=Get+a+customer+by+ID\u0026amp;theme=aa70f9ad62bb50cb08b2851f\u0026amp;signature=a2abd875cface5a25cfae15f3b325fd154c38988c7f6cb4978f314d4651f8977\">\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=\"Get customer - Lava Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a customer by ID\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lava-a04d7b3f.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Get+customer\u0026amp;description=Get+a+customer+by+ID\u0026amp;theme=aa70f9ad62bb50cb08b2851f\u0026amp;signature=a2abd875cface5a25cfae15f3b325fd154c38988c7f6cb4978f314d4651f8977\">\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/lava-a04d7b3f/F8p0asVQB6PNXeBa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lava Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff5a1f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://lava.so/docs/api-reference/customers/get-customer\">\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/customers/get-customer.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://lava.so/#organization\",\"name\":\"Lava Documentation\",\"url\":\"https://lava.so\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lava-a04d7b3f/ZrRxM7p0Ydvvj-HA/logo/light.svg?fit=max\u0026auto=format\u0026n=ZrRxM7p0Ydvvj-HA\u0026q=85\u0026s=03458687cb3832e4d90e88623271f016\"}},{\"@type\":\"WebSite\",\"@id\":\"https://lava.so/docs#website\",\"name\":\"Lava Documentation\",\"url\":\"https://lava.so/docs\",\"publisher\":{\"@id\":\"https://lava.so/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://lava.so/docs/api-reference/customers/get-customer#webpage\",\"url\":\"https://lava.so/docs/api-reference/customers/get-customer\",\"name\":\"Get customer\",\"description\":\"Get a customer by ID\",\"dateModified\":\"2026-10-22T21:31:22.996Z\",\"isPartOf\":{\"@id\":\"https://lava.so/docs#website\"},\"breadcrumb\":{\"@id\":\"https://lava.so/docs/api-reference/customers/get-customer#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://lava.so/docs/api-reference/customers/get-customer#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Customers\",\"item\":\"https://lava.so/docs/api-reference/customers/list-customers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get customer\",\"item\":\"https://lava.so/docs/api-reference/customers/get-customer\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://lava.so/docs/api-reference/customers/get-customer#apireference\",\"headline\":\"Get customer\",\"name\":\"Get customer\",\"description\":\"Get a customer by ID\",\"url\":\"https://lava.so/docs/api-reference/customers/get-customer\",\"mainEntityOfPage\":{\"@id\":\"https://lava.so/docs/api-reference/customers/get-customer#webpage\"},\"dateModified\":\"2026-10-22T21:31:22.996Z\",\"publisher\":{\"@id\":\"https://lava.so/#organization\"},\"isPartOf\":{\"@id\":\"https://lava.so/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lava Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Lava Documentation","nav":{"global":null,"tabs":[{"tab":"Lava Desktop","pages":[{"title":"Lava Desktop","href":"/desktop/overview"}]},{"tab":"Lava MCP","pages":[{"title":"Lava MCP","href":"/mcp/quickstart"}]},{"tab":"Build with Lava Gateway","pages":[{"title":"Build with Lava Gateway","href":"/introduction"}]},{"tab":"Agents","pages":[{"title":"Agents","href":"/agents/authenticate"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"API Reference","icon":"code","href":"/api-reference/introduction"}]},{"group":"Authentication","pages":[{"title":"Exchange CLI auth code","deprecated":true,"version":null,"openapi":"/openapi.json post /auth/callback","href":"/api-reference/authentication/exchange-cli-auth-code"}]},{"group":"Core Endpoints","pages":[{"title":"Forward GET request","deprecated":null,"version":null,"openapi":"/openapi.json get /forward","href":"/api-reference/core-endpoints/forward-get-request"},{"title":"Forward POST request","deprecated":null,"version":null,"openapi":"/openapi.json post /forward","href":"/api-reference/core-endpoints/forward-post-request"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi.json get /models","href":"/api-reference/models/list-models"}]},{"group":"Services","pages":[{"title":"List services","deprecated":null,"version":null,"openapi":"/openapi.json get /services","href":"/api-reference/services/list-services"},{"title":"Search providers","deprecated":null,"version":null,"openapi":"/openapi.json get /services/providers","href":"/api-reference/services/search-providers"},{"title":"Get provider details","deprecated":null,"version":null,"openapi":"/openapi.json get /services/providers/{provider}","href":"/api-reference/services/get-provider-details"}]},{"group":"Requests","pages":[{"title":"List requests","deprecated":null,"version":null,"openapi":"/openapi.json get /requests","href":"/api-reference/requests/list-requests"},{"title":"Create request","deprecated":null,"version":null,"openapi":"/openapi.json post /requests","href":"/api-reference/requests/create-request"},{"title":"Get request","deprecated":null,"version":null,"openapi":"/openapi.json get /requests/{request_id}","href":"/api-reference/requests/get-request"}]},{"group":"Usage","pages":[{"title":"Get usage statistics","deprecated":null,"version":null,"openapi":"/openapi.json get /usage","href":"/api-reference/usage/get-usage-statistics"}]},{"group":"Checkout Sessions","pages":[{"title":"Create checkout session","deprecated":null,"version":null,"openapi":"/openapi.json post /checkout_sessions","href":"/api-reference/checkout-sessions/create-checkout-session"}]},{"group":"Customers","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/openapi.json get /customers","href":"/api-reference/customers/list-customers"},{"title":"Create customer","deprecated":null,"version":null,"openapi":"/openapi.json post /customers","href":"/api-reference/customers/create-customer"},{"title":"Get customer subscription","description":"Returns the active subscription for a customer, including plan details, current cycle credits, and any pending changes (cancellation or downgrade). Use this to show subscription status and remaining credits.","deprecated":null,"version":null,"openapi":"/openapi.json get /customers/{customer_id}/subscription","href":"/api-reference/customers/get-customer-subscription"},{"title":"Get customer","deprecated":null,"version":null,"openapi":"/openapi.json get /customers/{customer_id}","href":"/api-reference/customers/get-customer"},{"title":"Delete customer","description":"Delete a customer by ID","deprecated":null,"version":null,"openapi":"/openapi.json delete /customers/{customer_id}","href":"/api-reference/customers/delete-customer"},{"title":"Update customer","deprecated":null,"version":null,"openapi":"/openapi.json patch /customers/{customer_id}","href":"/api-reference/customers/update-customer"}]},{"group":"Plans","pages":[{"title":"List plans","deprecated":null,"version":null,"openapi":"/openapi.json get /plans","href":"/api-reference/plans/list-plans"},{"title":"Create plan","deprecated":null,"version":null,"openapi":"/openapi.json post /plans","href":"/api-reference/plans/create-plan"},{"title":"Get plan","deprecated":null,"version":null,"openapi":"/openapi.json get /plans/{id}","href":"/api-reference/plans/get-plan"},{"title":"Delete plan","deprecated":null,"version":null,"openapi":"/openapi.json delete /plans/{id}","href":"/api-reference/plans/delete-plan"},{"title":"Update plan","deprecated":null,"version":null,"openapi":"/openapi.json patch /plans/{id}","href":"/api-reference/plans/update-plan"}]},{"group":"Subscriptions","pages":[{"title":"List subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json get /subscriptions","href":"/api-reference/subscriptions/list-subscriptions"},{"title":"Create subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /subscriptions","href":"/api-reference/subscriptions/create-subscription"},{"title":"Cancel subscription","deprecated":null,"version":null,"openapi":"/openapi.json delete /subscriptions/{id}","href":"/api-reference/subscriptions/cancel-subscription"},{"title":"Update subscription","deprecated":null,"version":null,"openapi":"/openapi.json patch /subscriptions/{id}","href":"/api-reference/subscriptions/update-subscription"}]},{"group":"Meters","pages":[{"title":"List meters","deprecated":null,"version":null,"openapi":"/openapi.json get /meters","href":"/api-reference/meters/list-meters"},{"title":"Create meter","deprecated":null,"version":null,"openapi":"/openapi.json post /meters","href":"/api-reference/meters/create-meter"},{"title":"Get meter","deprecated":null,"version":null,"openapi":"/openapi.json get /meters/{id}","href":"/api-reference/meters/get-meter"},{"title":"Delete meter","deprecated":null,"version":null,"openapi":"/openapi.json delete /meters/{id}","href":"/api-reference/meters/delete-meter"},{"title":"Update meter","deprecated":null,"version":null,"openapi":"/openapi.json patch /meters/{id}","href":"/api-reference/meters/update-meter"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/openapi.json get /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"Get webhook","deprecated":null,"version":null,"openapi":"/openapi.json get /webhooks/{id}","href":"/api-reference/webhooks/get-webhook"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /webhooks/{id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Update webhook","deprecated":null,"version":null,"openapi":"/openapi.json patch /webhooks/{id}","href":"/api-reference/webhooks/update-webhook"}]},{"group":"Secret Keys","pages":[{"title":"List secret keys","deprecated":null,"version":null,"openapi":"/openapi.json get /secret_keys","href":"/api-reference/secret-keys/list-secret-keys"},{"title":"Create secret key","deprecated":null,"version":null,"openapi":"/openapi.json post /secret_keys","href":"/api-reference/secret-keys/create-secret-key"},{"title":"Revoke secret key","deprecated":null,"version":null,"openapi":"/openapi.json delete /secret_keys/{id}","href":"/api-reference/secret-keys/revoke-secret-key"}]},{"group":"Credit Bundles","pages":[{"title":"List credit bundles","deprecated":null,"version":null,"openapi":"/openapi.json get /credit_bundles","href":"/api-reference/credit-bundles/list-credit-bundles"},{"title":"Get credit bundle","deprecated":null,"version":null,"openapi":"/openapi.json get /credit_bundles/{id}","href":"/api-reference/credit-bundles/get-credit-bundle"}]},{"group":"Wallet","pages":[{"title":"Get wallet","deprecated":null,"version":null,"openapi":"/openapi.json get /wallet","href":"/api-reference/wallet/get-wallet"},{"title":"Add funds to wallet","deprecated":null,"version":null,"openapi":"/openapi.json post /wallet/fund","href":"/api-reference/wallet/add-funds-to-wallet"}]},{"group":"Payment Methods","pages":[{"title":"List payment methods","deprecated":null,"version":null,"openapi":"/openapi.json get /payment_methods","href":"/api-reference/payment-methods/list-payment-methods"}]},{"group":"Spend Keys","pages":[{"title":"List spend keys","deprecated":null,"version":null,"openapi":"/openapi.json get /spend_keys","href":"/api-reference/spend-keys/list-spend-keys"},{"title":"Create spend key","deprecated":null,"version":null,"openapi":"/openapi.json post /spend_keys","href":"/api-reference/spend-keys/create-spend-key"},{"title":"Get spend key","deprecated":null,"version":null,"openapi":"/openapi.json get /spend_keys/{id}","href":"/api-reference/spend-keys/get-spend-key"},{"title":"Update spend key","deprecated":null,"version":null,"openapi":"/openapi.json put /spend_keys/{id}","href":"/api-reference/spend-keys/update-spend-key"},{"title":"Revoke spend key","deprecated":null,"version":null,"openapi":"/openapi.json delete /spend_keys/{id}","href":"/api-reference/spend-keys/revoke-spend-key"},{"title":"Rotate spend key","deprecated":null,"version":null,"openapi":"/openapi.json post /spend_keys/{id}/rotate","href":"/api-reference/spend-keys/rotate-spend-key"}]},{"group":"Gateway Settings","pages":[{"title":"Get global fallback chain","deprecated":null,"version":null,"openapi":"/openapi.json get /account/fallback","href":"/api-reference/gateway-settings/get-global-fallback-chain"},{"title":"Set global fallback chain","deprecated":null,"version":null,"openapi":"/openapi.json patch /account/fallback","href":"/api-reference/gateway-settings/set-global-fallback-chain"}]},{"group":"News Data","pages":[{"title":"List news articles","deprecated":null,"version":null,"openapi":"/openapi.json get /data/news/articles","href":"/api-reference/news-data/list-news-articles"},{"title":"List news publications","deprecated":null,"version":null,"openapi":"/openapi.json get /data/news/publications","href":"/api-reference/news-data/list-news-publications"}]},{"group":"Search","pages":[{"title":"Aggregated search across all 9 providers","deprecated":null,"version":null,"openapi":"/openapi.json post /search/sources","href":"/api-reference/search/aggregated-search-across-all-9-providers"},{"title":"Synthesized answer with citations from the 9-provider fan-out","deprecated":null,"version":null,"openapi":"/openapi.json post /search/answer","href":"/api-reference/search/synthesized-answer-with-citations-from-the-9-provider-fan-out"}]},{"group":"Enrich","pages":[{"title":"Merged contact info for a person","deprecated":null,"version":null,"openapi":"/openapi.json post /enrich/contact","href":"/api-reference/enrich/merged-contact-info-for-a-person"},{"title":"Comprehensive profile dossier for a person","deprecated":null,"version":null,"openapi":"/openapi.json post /enrich/profile","href":"/api-reference/enrich/comprehensive-profile-dossier-for-a-person"}]}]}]},"title":"Get customer - Lava Documentation","buildId":"dpl_3DJU2xKhT5gDPFQL5Tqv7AFnkWsF","deploymentId":"dpl_3DJU2xKhT5gDPFQL5Tqv7AFnkWsF","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DsGgv5pK.js","utils-B0h6ZXi-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-IgrnFwPw.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C49-TBER.js","snippetPresets-BPHn-9OB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CGBwAHwX.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BjABHCCH.js","shallow-C0Uj5sOI.js","getApiPlaygroundDisplay-BnYiIeY4.js","CodeSnippet-BJWWrlBw.js","CodeSnippets-bxE5aDye.js","Page-BBU7roUf.js","getPastedJson-BAjriezQ.js","icon-BqcS52QC.js","MethodPill-BPGyN9me.js","DuplicateIcon-CCf2giLL.js","createIcon-CVH8aNt2.js","DynamicMarkdown-BklwmxA6.js","SectionHeading-DYCZQFxh.js","axios-vUo_bRtp.js","Markdown-D26rHnOC.js","clsx-DkiOUx4h.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DI8jfVGc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DwJy-csb.js"]}