Personal Access Token (PAT) passed in the Authorization header (e.g., Bearer <pat>) for authenticated API requests. PATs are generated via /auth/generate-pat after authenticating through the magic link flow.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"OneFirewall Documentation","colors":{"primary":"#0D9373","light":"#4475C5","dark":"#0C1427"},"favicon":"https://mintcdn.com/onefirewall/7guFu20M_sXWrG3T/favicon.png?fit=max\u0026auto=format\u0026n=7guFu20M_sXWrG3T\u0026q=85\u0026s=ec7b5d5a9ef605b4f89a6c961952575f","logo":{"light":"https://mintcdn.com/onefirewall/GBluirlWMPo2oQeM/logo/onefirewall-logo.png?fit=max\u0026auto=format\u0026n=GBluirlWMPo2oQeM\u0026q=85\u0026s=d78bae863124f3528cae4cec0b4c383a","dark":"https://app.onefirewall.com/assets/images/logo-negativ.png"},"api":{"openapi":["gateway-api.json","closedvpn/openapi.json"]},"navbar":{"links":[{"label":"Support","href":"https://onefirewall.com/contact.html?subject=Urgent:%20Immediate%20Assistance%20Required"}],"primary":{"type":"button","label":"Start Free Trial","href":"https://onefirewall.com/proof-of-value.html"}},"footer":{"socials":{"website":"https://onefirewall.com","github":"https://github.com/onefirewall","linkedin":"https://www.linkedin.com/company/onefirewall-alliance"}},"integrations":{"ga4":{"measurementId":"G-P017T6ZNCY"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Proof of Value","href":"https://onefirewall.com/proof-of-value.html","icon":"terminal"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onefirewall","hasAudioNarration":false,"actualSubdomain":"onefirewall","customDomains":["docs.onefirewall.com"],"gitSource":{"type":"github","owner":"onefirewall","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec74568029e5fb8e3e3efa","collectionId":"3a6f527a-b185-448c-9283-f5e9555a07e4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec74568029e5fb8e3e3efa"},"entitlements":{},"buildId":"6aec74568029e5fb8e3e3efa","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Documentation","count":92},{"language":"default","tag":"API - ClosedVPN","count":38},{"language":"default","tag":"API - OneFirewall","count":34},{"language":"default","tag":"Case Studies","count":29},{"language":"default","tag":"Essentials","count":23},{"language":"default","tag":"Releases","count":17},{"language":"default","tag":"WCF Agent","count":14},{"language":"default","tag":"Offensive Security","count":9},{"language":"default","tag":"AI Gateway","count":7},{"language":"default","tag":"Organizations","count":6}]},"assistantConfig":{},"basePath":"","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","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":"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":"turbopuffer-dual-write","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},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"closedvpn/endpoint/organizations/get-org","slug":"/closedvpn/endpoint/organizations/get-org","pageMetadata":{"title":"Get Organization","openapi":"GET /auth/get-org/{org_id}","description":"Retrieves details of a specific organization by ID if the user is a member.","href":"/closedvpn/endpoint/organizations/get-org"},"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: \"Retrieves details of a specific organization by ID if the user is a member.\"\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 Organization","openapi":"GET /auth/get-org/{org_id}","description":"Retrieves details of a specific organization by ID if the user is a member.","href":"/closedvpn/endpoint/organizations/get-org"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Organizations"],"operationId":"getOrganization","summary":"Retrieve a specific organization","description":"Retrieves details of a specific organization by ID if the user is a member.","security":["4ba4229f-840e-4cd7-a67c-1eea0e9a2577"],"parameters":["c2eadcd1-624f-4e92-bcab-a8222ccd3eef"],"responses":{"200":"3e33cc36-18a5-4468-a432-1589e00a5b4c","400":"3b83c128-5364-472d-953c-4e01d98f4453","401":"5951f272-feba-4bd4-a557-e69bc69de00f","403":"cb5c433e-7046-40a9-8705-265a2ca520f9","404":"ce1839cc-ff1b-4cde-af8b-a101bb7ddba6","500":"5d903d73-beb9-487f-8fc4-d749550b3d76"},"method":"get","type":"path","servers":["bc20a847-4913-41d6-9589-c098b681d39c"],"path":"/auth/get-org/{org_id}","baseUrlOptions":["https://closedvpn.io"],"title":"Retrieve a specific organization","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c2eadcd1-624f-4e92-bcab-a8222ccd3eef":{"name":"org_id","in":"path","required":true,"schema":{"type":"string","example":"60c72b2f5f1b2c001c8e4b1a","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"3e33cc36-18a5-4468-a432-1589e00a5b4c":{"description":"Organization retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"org":{"type":"object","properties":{"_id":{"type":"string","example":"60c72b2f5f1b2c001c8e4b1a","uniqueKey":"org._id","typeLabel":"string"},"name":{"type":"string","example":"My Org","uniqueKey":"org.name","typeLabel":"string"},"description":{"type":"string","example":"Default organization","uniqueKey":"org.description","typeLabel":"string"},"org_avatar":{"type":"string","example":"data:image/svg+xml;base64,...","description":"Base64-encoded SVG identicon, or a caller-supplied image URL","uniqueKey":"org.org_avatar","typeLabel":"string"},"active":{"type":"boolean","example":true,"uniqueKey":"org.active","typeLabel":"boolean"},"users":{"type":"array","items":{"type":"object","properties":{"user_id":{"oneOf":[{"type":"string","description":"ObjectId of the member's user record, or null if they have been added but have not yet signed in for the first time.\n","example":"60c72b2f5f1b2c001c8e4b1b","uniqueKey":"org.users.items.[INDEX].user_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ObjectId of the member's user record, or null if they have been added but have not yet signed in for the first time.\n","example":"60c72b2f5f1b2c001c8e4b1b","uniqueKey":"org.users.items.[INDEX].user_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"org.users.items.[INDEX].user_id","typeLabel":"string | null"},"email":{"type":"string","format":"email","example":"[email protected]","uniqueKey":"org.users.items.[INDEX].email","typeLabel":"string\u003cemail>"},"name":{"type":"string","example":"John Doe","uniqueKey":"org.users.items.[INDEX].name","typeLabel":"string"},"user_avatar":{"type":"string","example":"JD","description":"Initials or avatar representation","uniqueKey":"org.users.items.[INDEX].user_avatar","typeLabel":"string"},"role":{"type":"string","enum":["owner","member"],"example":"owner","uniqueKey":"org.users.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"active":{"type":"boolean","description":"False once the member has been removed or has left the organization","example":true,"uniqueKey":"org.users.items.[INDEX].active","typeLabel":"boolean"},"invitation":{"type":"object","properties":{"status":{"type":"string","enum":["completed"],"example":"completed","description":"Members are activated immediately; there is no accept or decline step","uniqueKey":"org.users.items.[INDEX].invitation.status","typeLabel":"enum\u003cstring>"},"createdAt":{"oneOf":[{"type":"integer","format":"int64","description":"Unix epoch milliseconds, or null if the member has not signed in yet","example":1735689600000,"uniqueKey":"org.users.items.[INDEX].invitation.createdAt.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"Unix epoch milliseconds, or null if the member has not signed in yet","example":1735689600000,"uniqueKey":"org.users.items.[INDEX].invitation.createdAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"org.users.items.[INDEX].invitation.createdAt","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"org.users.items.[INDEX].invitation","typeLabel":"object"},"hasCertificate":{"type":"boolean","description":"Whether a VPN certificate has been issued to this member. The certificate itself is never returned by organization endpoints.\n","example":true,"uniqueKey":"org.users.items.[INDEX].hasCertificate","typeLabel":"boolean"},"membership_periods":{"type":"array","description":"Join and leave timestamps across the member's history in this organization","items":{"type":"object","properties":{"joinedAt":{"oneOf":[{"type":"integer","format":"int64","example":1735689600000,"uniqueKey":"org.users.items.[INDEX].membership_periods.items.[INDEX].joinedAt.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","example":1735689600000,"uniqueKey":"org.users.items.[INDEX].membership_periods.items.[INDEX].joinedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"org.users.items.[INDEX].membership_periods.items.[INDEX].joinedAt","typeLabel":"integer\u003cint64> | null"},"leftAt":{"oneOf":[{"type":"integer","format":"int64","description":"Null while the membership is still open","example":null,"uniqueKey":"org.users.items.[INDEX].membership_periods.items.[INDEX].leftAt.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"Null while the membership is still open","example":null,"uniqueKey":"org.users.items.[INDEX].membership_periods.items.[INDEX].leftAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"org.users.items.[INDEX].membership_periods.items.[INDEX].leftAt","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"org.users.items.[INDEX].membership_periods.items.[INDEX]","typeLabel":"object"},"uniqueKey":"org.users.items.[INDEX].membership_periods","typeLabel":"object[]"},"createdAt":{"type":"integer","format":"int64","description":"Unix epoch milliseconds","example":1735689600000,"uniqueKey":"org.users.items.[INDEX].createdAt","typeLabel":"integer\u003cint64>"}},"uniqueKey":"org.users.items.[INDEX]","typeLabel":"object"},"uniqueKey":"org.users","typeLabel":"object[]"},"vpn_id":{"oneOf":[{"type":"string","description":"ObjectId of the VPN configuration assigned to this organization","example":"60c72b2f5f1b2c001c8e4b2a","uniqueKey":"org.vpn_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"ObjectId of the VPN configuration assigned to this organization","example":"60c72b2f5f1b2c001c8e4b2a","uniqueKey":"org.vpn_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"org.vpn_id","typeLabel":"string | null"},"vpn_name":{"type":"string","description":"Name of the assigned VPN, or \"No VPN Assigned\" if none is set","example":"Frankfurt Node","uniqueKey":"org.vpn_name","typeLabel":"string"},"used_licenses":{"type":"integer","description":"Number of certificates issued in this organization","example":3,"uniqueKey":"org.used_licenses","typeLabel":"integer"},"total_licenses":{"type":"integer","description":"Maximum number of certificates this organization may issue","example":10,"uniqueKey":"org.total_licenses","typeLabel":"integer"},"createdAt":{"type":"integer","format":"int64","description":"Creation time as Unix epoch milliseconds","example":1735689600000,"uniqueKey":"org.createdAt","typeLabel":"integer\u003cint64>"}},"uniqueKey":"org","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"org":{"_id":"60c72b2f5f1b2c001c8e4b1a","name":"My Org","description":"Default organization","org_avatar":"data:image/svg+xml;base64,...","active":true,"users":[{"user_id":"60c72b2f5f1b2c001c8e4b1b","email":"[email protected]","name":"John Doe","user_avatar":"JD","role":"owner","active":true,"invitation":{"status":"completed","createdAt":1735689600000},"hasCertificate":true,"membership_periods":[{"joinedAt":1735689600000,"leftAt":null}],"createdAt":1735689600000}],"vpn_id":"60c72b2f5f1b2c001c8e4b2a","vpn_name":"Frankfurt Node","used_licenses":3,"total_licenses":10,"createdAt":1735689600000}}}},"exampleType":"generated"}},"exampleType":"generated"},"3b83c128-5364-472d-953c-4e01d98f4453":{"description":"Missing organization ID","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Organization ID is required","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Organization ID is required"}}},"exampleType":"generated"}},"exampleType":"generated"},"5951f272-feba-4bd4-a557-e69bc69de00f":{"description":"Unauthorized (invalid or missing PAT)","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Unauthorized","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Unauthorized"}}},"exampleType":"generated"}},"exampleType":"generated"},"cb5c433e-7046-40a9-8705-265a2ca520f9":{"description":"Forbidden (user not part of the organization)","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"You do not have permission to view this organization","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"You do not have permission to view this organization"}}},"exampleType":"generated"}},"exampleType":"generated"},"ce1839cc-ff1b-4cde-af8b-a101bb7ddba6":{"description":"Organization or user not found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Organization not found","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Organization not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"5d903d73-beb9-487f-8fc4-d749550b3d76":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Error fetching organization","uniqueKey":"message","typeLabel":"string"},"error":{"type":"string","example":"Detailed error message","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Error fetching organization","error":"Detailed error message"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"4ba4229f-840e-4cd7-a67c-1eea0e9a2577":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"PAT","description":"Personal Access Token (PAT) passed in the Authorization header (e.g., `Bearer \u003cpat>`) for authenticated API requests. PATs are generated via `/auth/generate-pat` after authenticating through the magic link flow.\n","scopes":[]}}},"servers":{"bc20a847-4913-41d6-9589-c098b681d39c":{"url":"https://closedvpn.io","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"PAT","description":"Personal Access Token (PAT) passed in the Authorization header (e.g., `Bearer \u003cpat>`) for authenticated API requests. PATs are generated via `/auth/generate-pat` after authenticating through the magic link flow.\n","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Personal Access Token (PAT) passed in the Authorization header (e.g., `Bearer \u003cpat>`) for authenticated API requests. PATs are generated via `/auth/generate-pat` after authenticating through the magic link flow.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"closedvpn/openapi.json"},"subdomain":"onefirewall","siteName":"OneFirewall Documentation","title":"Get Organization - OneFirewall Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-06T20:17:36.335Z","originalFileLocation":"closedvpn/endpoint/organizations/get-org.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=\"Retrieves details of a specific organization by ID if the user is a member.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneFirewall Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_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/onefirewall/gIVqeDr01J3QMgeg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Organization - OneFirewall Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves details of a specific organization by ID if the user is a member.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneFirewall Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onefirewall.mintlify.site/_mintlify/api/og/v2?division=Organizations\u0026amp;title=Get+Organization\u0026amp;description=Retrieves+details+of+a+specific+organization+by+ID+if+the+user+is+a+member.\u0026amp;theme=d64f8676cbf42fa619f21957\u0026amp;signature=7e88509fadb2320b621627cc44446b0b99aa6c14117acf550eb51f855885de54\">\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 Organization - OneFirewall Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves details of a specific organization by ID if the user is a member.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onefirewall.mintlify.site/_mintlify/api/og/v2?division=Organizations\u0026amp;title=Get+Organization\u0026amp;description=Retrieves+details+of+a+specific+organization+by+ID+if+the+user+is+a+member.\u0026amp;theme=d64f8676cbf42fa619f21957\u0026amp;signature=7e88509fadb2320b621627cc44446b0b99aa6c14117acf550eb51f855885de54\">\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/onefirewall/gIVqeDr01J3QMgeg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneFirewall Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/closedvpn/endpoint/organizations/get-org.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.onefirewall.com/#organization\",\"name\":\"OneFirewall Documentation\",\"url\":\"https://docs.onefirewall.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/onefirewall/GBluirlWMPo2oQeM/logo/onefirewall-logo.png?fit=max\u0026auto=format\u0026n=GBluirlWMPo2oQeM\u0026q=85\u0026s=d78bae863124f3528cae4cec0b4c383a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.onefirewall.com#website\",\"name\":\"OneFirewall Documentation\",\"url\":\"https://docs.onefirewall.com\",\"publisher\":{\"@id\":\"https://docs.onefirewall.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org#webpage\",\"url\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org\",\"name\":\"Get Organization\",\"description\":\"Retrieves details of a specific organization by ID if the user is a member.\",\"dateModified\":\"2026-09-06T20:17:36.335Z\",\"isPartOf\":{\"@id\":\"https://docs.onefirewall.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Organizations\",\"item\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-orgs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Organization\",\"item\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org#apireference\",\"headline\":\"Get Organization\",\"name\":\"Get Organization\",\"description\":\"Retrieves details of a specific organization by ID if the user is a member.\",\"url\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org\",\"mainEntityOfPage\":{\"@id\":\"https://docs.onefirewall.com/closedvpn/endpoint/organizations/get-org#webpage\"},\"dateModified\":\"2026-09-06T20:17:36.335Z\",\"publisher\":{\"@id\":\"https://docs.onefirewall.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.onefirewall.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneFirewall Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OneFirewall Documentation","nav":{"global":{"anchors":[{"anchor":"Proof of Value","href":"https://onefirewall.com/proof-of-value.html","icon":"terminal"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API - OneFirewall","pages":[{"title":"API - OneFirewall","href":"/api-reference/introduction"}]},{"tab":"API - ClosedVPN","groups":[{"group":"ClosedVPN API","pages":[{"title":"Introduction","href":"/closedvpn/introduction"},{"title":"Authorization","href":"/closedvpn/authorization"},{"title":"Creating a VPN Certificate","href":"/closedvpn/create-vpn-cert"}]},{"group":"Authentication","pages":[{"title":"Send Magic Link","openapi":"POST /auth/send-magic-link","href":"/closedvpn/endpoint/authentication/send-magic-link"},{"title":"Verify Magic Link","openapi":"GET /auth/verify-magic-link","href":"/closedvpn/endpoint/authentication/verify-magic-link"},{"title":"Validate Token","openapi":"GET /auth/validate-token","href":"/closedvpn/endpoint/authentication/validate-token"},{"title":"Logout","openapi":"POST /auth/logout","href":"/closedvpn/endpoint/authentication/logout"}]},{"group":"Personal Access Tokens","pages":[{"title":"Generate PAT","openapi":"POST /auth/generate-pat","href":"/closedvpn/endpoint/personal-access-tokens/generate-pat"},{"title":"List PATs","openapi":"GET /auth/get-pats","href":"/closedvpn/endpoint/personal-access-tokens/get-pats"},{"title":"Revoke PAT","openapi":"POST /auth/delete-pat","href":"/closedvpn/endpoint/personal-access-tokens/delete-pat"}]},{"group":"Profile","pages":[{"title":"Update Profile","openapi":"PUT /auth/settings-profile","href":"/closedvpn/endpoint/profile/update-profile"}]},{"group":"Organizations","pages":[{"title":"List Organizations","openapi":"GET /auth/get-orgs","description":"Retrieves the list of active organizations the authenticated user is part of.","href":"/closedvpn/endpoint/organizations/get-orgs"},{"title":"Get Organization","openapi":"GET /auth/get-org/{org_id}","href":"/closedvpn/endpoint/organizations/get-org"},{"title":"Create Organization","openapi":"POST /auth/create-org","description":"Creates a new organization for the authenticated user, setting them as the owner and assigning the given VPN configuration to it.\n","href":"/closedvpn/endpoint/organizations/create-org"},{"title":"Update Organization","openapi":"POST /auth/update-org","href":"/closedvpn/endpoint/organizations/update-org"},{"title":"Select Organization","openapi":"POST /auth/select-org","href":"/closedvpn/endpoint/organizations/select-org"},{"title":"Delete Organization","openapi":"POST /auth/delete-org","href":"/closedvpn/endpoint/organizations/delete-org"}]},{"group":"Members","pages":[{"title":"Add Member","openapi":"POST /auth/add-user","href":"/closedvpn/endpoint/members/add-user"},{"title":"Update Member Role","openapi":"POST /auth/update-user-role","href":"/closedvpn/endpoint/members/update-user-role"},{"title":"Remove Member","openapi":"POST /auth/remove-user","href":"/closedvpn/endpoint/members/remove-user"},{"title":"Leave Organization","openapi":"POST /auth/leave-org","href":"/closedvpn/endpoint/members/leave-org"}]},{"group":"VPN Certificates","pages":[{"title":"Download Certificate","openapi":"GET /auth/download-certificate","href":"/closedvpn/endpoint/certificates/download-certificate"}]},{"group":"VPN Configurations","pages":[{"title":"List VPN Configurations","openapi":"GET /auth/vpn-configs","href":"/closedvpn/endpoint/vpn-configurations/list-vpn-configs"},{"title":"Get VPN Configuration","openapi":"GET /auth/vpn-config/{id}","href":"/closedvpn/endpoint/vpn-configurations/get-vpn-config"},{"title":"Create VPN Configuration","openapi":"POST /auth/create-vpn-config","href":"/closedvpn/endpoint/vpn-configurations/create-vpn-config"},{"title":"Update VPN Configuration","openapi":"PUT /auth/update-vpn-config/{id}","href":"/closedvpn/endpoint/vpn-configurations/update-vpn-config"},{"title":"Delete VPN Configuration","openapi":"DELETE /auth/delete-vpn-config/{id}","href":"/closedvpn/endpoint/vpn-configurations/delete-vpn-config"},{"title":"Execute VPN Command","openapi":"POST /auth/execute-vpn-command/{id}","href":"/closedvpn/endpoint/vpn-configurations/execute-vpn-command"}]},{"group":"VPN Exit Nodes","pages":[{"title":"List Exit Nodes","openapi":"GET /auth/vpn-exit-nodes","href":"/closedvpn/endpoint/vpn-exit-nodes/vpn-exit-nodes"},{"title":"List All VPNs","openapi":"GET /auth/vpns","href":"/closedvpn/endpoint/vpn-exit-nodes/list-vpns"}]},{"group":"Statistics","pages":[{"title":"VPN User Stats","openapi":"GET /auth/vpn-user-stats","href":"/closedvpn/endpoint/statistics/vpn-user-stats"},{"title":"VPN Traffic Report","openapi":"GET /auth/vpn-report-stats","href":"/closedvpn/endpoint/statistics/vpn-report-stats"},{"title":"Threat Prevention Stats","openapi":"GET /auth/threat-prevention-stats","href":"/closedvpn/endpoint/statistics/threat-prevention-stats"}]},{"group":"Notifications","pages":[{"title":"List Notifications","openapi":"GET /auth/get-notifications","href":"/closedvpn/endpoint/notifications/get-notifications"},{"title":"Count Notifications","openapi":"GET /auth/count-notifications","href":"/closedvpn/endpoint/notifications/count-notifications"},{"title":"Mark Notification Read","openapi":"POST /auth/mark-notification-read","href":"/closedvpn/endpoint/notifications/mark-notification-read"},{"title":"Mark All Notifications Read","openapi":"POST /auth/mark-all-notifications-read","href":"/closedvpn/endpoint/notifications/mark-all-notifications-read"}]},{"group":"Activity Logs","pages":[{"title":"Activity Logs","openapi":"GET /auth/activity-logs","href":"/closedvpn/endpoint/activity-logs/activity-logs"}]}]},{"tab":"Offensive Security","pages":[{"title":"Offensive Security","href":"/offensive-security/introduction"}]},{"tab":"AI Gateway","pages":[{"title":"AI Gateway","href":"/ai-gateway/introduction"}]}]},"basePath":"","title":"Get Organization - OneFirewall Documentation","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}