This is a JSON mapping of schema id to either the data source that this user group should be
associated with or id of the datasource you provided when creating it.
This is the user group token (userGroupToken or USER_GROUP_TOKEN) that will be used to identify
which user group is viewing the dashboard. You should save this on your end to use when rendering
an embedded dashboard.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Fix6","colors":{"primary":"#3f5ff6","light":"#8dc4fa","dark":"#e9bbc4"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/fix6-70/oRzaCdnu37kXSuRT/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=oRzaCdnu37kXSuRT\u0026q=85\u0026s=ffa7c67986f3cc64375565bf89d8de49","dark":"https://mintcdn.com/fix6-70/oRzaCdnu37kXSuRT/logo/logo-white.svg?fit=max\u0026auto=format\u0026n=oRzaCdnu37kXSuRT\u0026q=85\u0026s=afab200875a1adbb3e2687e4a7e46e2e","href":"https://fix6.io"},"background":{"decoration":null,"color":{"light":"#ffffff","dark":"#090014"}},"navbar":{"links":[{"label":"Support","href":"mailto:hello@fix6.io"}],"primary":null},"navigation":{"global":{"anchors":[{"anchor":"Documentation","href":"https://docs.fix6.io","icon":"book-open-cover"},{"anchor":"Blog","href":"https://blog.fix6.io","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fix6-70","hasAudioNarration":false,"actualSubdomain":"fix6-70","customDomains":["docs.fix6.io"],"gitSource":{"type":"github","owner":"fixcarbon","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a20c3a7a72b99776ad7bc10","collectionId":"a9f0f295-8f93-4285-afaf-f12c9617c8ff","schemaVersion":"v2"},"entitlements":{},"buildId":"6a20c3a7a72b99776ad7bc10:success","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"API Reference","count":22},{"language":"default","tag":"Datasets","count":7},{"language":"default","tag":"Projects","count":5},{"language":"default","tag":"Carbon","count":4},{"language":"default","tag":"Utilities","count":4},{"language":"default","tag":"Deforestation","count":3},{"language":"default","tag":"Other","count":3},{"language":"default","tag":"Climate risk","count":2},{"language":"default","tag":"Documentation","count":2},{"language":"default","tag":"Get Started","count":2}]},"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":"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":"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":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/get","slug":"/api-reference/endpoint/get","pageMetadata":{"title":"Get User","api":"GET https://api.mintlify.com/api/user","description":"This endpoint gets or creates a new user.","href":"/api-reference/endpoint/get"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"This endpoint gets or creates a new user.\"\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={p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`This is the name of the user group.`})}),`\n`,_jsx(ParamField,{body:`user_group_id`,type:`string`,id:`param-user-group-id`,children:_jsx(_components.p,{children:`This is the ID you use to identify this user group in your database.`})}),`\n`,_jsx(ParamField,{body:`mapping`,type:`object`,id:`param-mapping`,children:_jsx(_components.p,{children:`This is a JSON mapping of schema id to either the data source that this user group should be\nassociated with or id of the datasource you provided when creating it.`})}),`\n`,_jsx(ParamField,{body:`properties`,type:`object`,id:`param-properties`,children:_jsx(_components.p,{children:`This is a JSON object for properties assigned to this user group. These will be accessible through\nvariables in the dashboards and SQL editor`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`number`,id:`param-success`,children:_jsx(_components.p,{children:`Indicates whether the call was successful. 1 if successful, 0 if not.`})}),`\n`,_jsx(ResponseField,{name:`new_user_group`,type:`boolean`,id:`param-new-user-group`,children:_jsx(_components.p,{children:`Indicates whether a new user group was created.`})}),`\n`,_jsxs(ResponseField,{name:`user_group`,type:`object`,id:`param-user-group`,children:[_jsx(_components.p,{children:`The contents of the user group`}),_jsxs(Expandable,{title:`Toggle object`,children:[_jsx(ResponseField,{name:`team_id`,type:`number`,id:`param-team-id`,children:_jsx(_components.p,{children:`This is the internal ID for this user group. You don’t need to record this information, since\nyou will not need to use it.`})}),_jsx(ResponseField,{name:`token`,type:`string`,id:`param-token`,children:_jsx(_components.p,{children:`This is the user group token (userGroupToken or USER_GROUP_TOKEN) that will be used to identify\nwhich user group is viewing the dashboard. You should save this on your end to use when rendering\nan embedded dashboard.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`This is the name of the user group provided in the request body.`})}),_jsx(ResponseField,{name:`provided_id`,type:`string`,id:`param-provided-id`,children:_jsx(_components.p,{children:`This is the user_group_id provided in the request body.`})}),_jsx(ResponseField,{name:`properties`,type:`JSON or null`,id:`param-properties-1`,children:_jsx(_components.p,{children:`This is the properties object if it was provided in the request body`})})]})]})]})}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":"Get User","api":"GET https://api.mintlify.com/api/user","description":"This endpoint gets or creates a new user.","href":"/api-reference/endpoint/get"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`This is the name of the user group.`})}),`\n`,_jsx(ParamField,{body:`user_group_id`,type:`string`,id:`param-user-group-id`,children:_jsx(_components.p,{children:`This is the ID you use to identify this user group in your database.`})}),`\n`,_jsx(ParamField,{body:`mapping`,type:`object`,id:`param-mapping`,children:_jsx(_components.p,{children:`This is a JSON mapping of schema id to either the data source that this user group should be\nassociated with or id of the datasource you provided when creating it.`})}),`\n`,_jsx(ParamField,{body:`properties`,type:`object`,id:`param-properties`,children:_jsx(_components.p,{children:`This is a JSON object for properties assigned to this user group. These will be accessible through\nvariables in the dashboards and SQL editor`})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`number`,id:`param-success`,children:_jsx(_components.p,{children:`Indicates whether the call was successful. 1 if successful, 0 if not.`})}),`\n`,_jsx(ResponseField,{name:`new_user_group`,type:`boolean`,id:`param-new-user-group`,children:_jsx(_components.p,{children:`Indicates whether a new user group was created.`})}),`\n`,_jsxs(ResponseField,{name:`user_group`,type:`object`,id:`param-user-group`,children:[_jsx(_components.p,{children:`The contents of the user group`}),_jsxs(Expandable,{title:`Toggle object`,children:[_jsx(ResponseField,{name:`team_id`,type:`number`,id:`param-team-id`,children:_jsx(_components.p,{children:`This is the internal ID for this user group. You don’t need to record this information, since\nyou will not need to use it.`})}),_jsx(ResponseField,{name:`token`,type:`string`,id:`param-token`,children:_jsx(_components.p,{children:`This is the user group token (userGroupToken or USER_GROUP_TOKEN) that will be used to identify\nwhich user group is viewing the dashboard. You should save this on your end to use when rendering\nan embedded dashboard.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsx(_components.p,{children:`This is the name of the user group provided in the request body.`})}),_jsx(ResponseField,{name:`provided_id`,type:`string`,id:`param-provided-id`,children:_jsx(_components.p,{children:`This is the user_group_id provided in the request body.`})}),_jsx(ResponseField,{name:`properties`,type:`JSON or null`,id:`param-properties-1`,children:_jsx(_components.p,{children:`This is the properties object if it was provided in the request body`})})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Example Request`,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.mintlify.com/api/user'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--header `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Authorization: Token \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`--data-raw `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"user_group_id\": \"example_1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Example 1\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mapping\": {\"40\": \"213\", \"134\": \"386\"},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"properties\": {\"filterValue\": \"value\"}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"new_user_group\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"user_group\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"team_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cuser_group_token_to_auth_dashboard>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example 1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"provided_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example_1\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}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":"Get User","api":"GET https://api.mintlify.com/api/user","description":"This endpoint gets or creates a new user.","href":"/api-reference/endpoint/get"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Example Request","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --location\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> GET\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://api.mintlify.com/api/user'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--header \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'Authorization: Token \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">--data-raw \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"user_group_id\": \"example_1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Example 1\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"mapping\": {\"40\": \"213\", \"134\": \"386\"},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"properties\": {\"filterValue\": \"value\"}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"new_user_group\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"user_group\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"team_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"token\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u0026#x3C;user_group_token_to_auth_dashboard>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Example 1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"provided_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example_1\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get User","path":"/api/user","servers":[{"url":"https://api.mintlify.com"}],"method":"get","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"This is the name of the user group."}],"user_group_id":[{"type":"string","description":"This is the ID you use to identify this user group in your database."}],"mapping":[{"type":"object","properties":{},"description":"This is a JSON mapping of schema id to either the data source that this user group should be associated with or id of the datasource you provided when creating it."}],"properties":[{"type":"object","properties":{},"description":"This is a JSON object for properties assigned to this user group. These will be accessible through variables in the dashboards and SQL editor"}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","user_group_id":"\u003cstring>","mapping":{},"properties":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"number","description":"Indicates whether the call was successful. 1 if successful, 0 if not."}],"new_user_group":[{"type":"boolean","description":"Indicates whether a new user group was created."}],"user_group":[{"type":"object","properties":{"team_id":[{"type":"number","description":"This is the internal ID for this user group. You don’t need to record this information, since you will not need to use it."}],"token":[{"type":"string","description":"This is the user group token (userGroupToken or USER_GROUP_TOKEN) that will be used to identify which user group is viewing the dashboard. You should save this on your end to use when rendering an embedded dashboard."}],"name":[{"type":"string","description":"This is the name of the user group provided in the request body."}],"provided_id":[{"type":"string","description":"This is the user_group_id provided in the request body."}],"properties":[{"type":"object","properties":{},"description":"This is the properties object if it was provided in the request body"}]},"description":"The contents of the user group"}]}}],"examples":{"example":{"value":{"success":123,"new_user_group":true,"user_group":{"team_id":123,"token":"\u003cstring>","name":"\u003cstring>","provided_id":"\u003cstring>","properties":{}}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"fix6-70","siteName":"Fix6","title":"Get User - Fix6","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:40:57.714Z","originalFileLocation":"api-reference/endpoint/get.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=\"This endpoint gets or creates a new user.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fix6\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fix6-70/qgmaVZ_wS9lPneWI/_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/fix6-70/qgmaVZ_wS9lPneWI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fix6-70/qgmaVZ_wS9lPneWI/_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/fix6-70/qgmaVZ_wS9lPneWI/_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/fix6-70/qgmaVZ_wS9lPneWI/_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/fix6-70/qgmaVZ_wS9lPneWI/_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/fix6-70/qgmaVZ_wS9lPneWI/_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/fix6-70/qgmaVZ_wS9lPneWI/_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/fix6-70/qgmaVZ_wS9lPneWI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get User - Fix6\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint gets or creates a new user.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fix6\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fix6.io/api-reference/endpoint/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fix6-70.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Get+User\u0026amp;description=This+endpoint+gets+or+creates+a+new+user.\u0026amp;theme=6013249da6d5a8f3d7678890\u0026amp;signature=4c7ff422f160a75388921dcf1d8df7a370e25582e195acc522d91ce26993d707\">\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 User - Fix6\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint gets or creates a new user.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fix6-70.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Get+User\u0026amp;description=This+endpoint+gets+or+creates+a+new+user.\u0026amp;theme=6013249da6d5a8f3d7678890\u0026amp;signature=4c7ff422f160a75388921dcf1d8df7a370e25582e195acc522d91ce26993d707\">\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/fix6-70/qgmaVZ_wS9lPneWI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fix6\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3f5ff6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fix6.io/api-reference/endpoint/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fix6\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Fix6","nav":{"global":{"anchors":[{"anchor":"Documentation","href":"https://docs.fix6.io","icon":"book-open-cover"},{"anchor":"Blog","href":"https://blog.fix6.io","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Welcome 👋","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"}]}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Projects","pages":[{"openapi":"get /projects","title":"List Projects","href":"/api-reference/projects/list-projects"},{"openapi":"post /projects","title":"Create Project","href":"/api-reference/projects/create-project"},{"openapi":"get /projects/{project_id}","title":"Project Details","href":"/api-reference/projects/project-details"},{"openapi":"delete /projects/{project_id}","title":"Delete Project","href":"/api-reference/projects/delete-project"},{"openapi":"get /projects/{project_id}/available_data","title":"Available Project Data","href":"/api-reference/projects/available-project-data"}]},{"group":"Climate risk","pages":[{"openapi":"get /projects/{project_id}/climate","title":"Get Climate Data","href":"/api-reference/get-climate-data"},{"openapi":"get /projects/{project_id}/climate_risk","title":"Get Summary Metrics","href":"/api-reference/get-summary-metrics"}]},{"group":"Deforestation","pages":[{"openapi":"get /projects/{project_id}/deforestation/indicator_image","title":"Deforestation Indicator Image","href":"/api-reference/deforestation-indicator-image"},{"openapi":"get /projects/{project_id}/deforestation/summary","title":"Deforestation Summary","href":"/api-reference/deforestation-summary"},{"openapi":"get /deforestation/summary","title":"Deforestation Summary All Projects","href":"/api-reference/deforestation-summary-all-projects"}]},{"group":"Carbon","pages":[{"openapi":"get /projects/{project_id}/ghg/baseline_sequestration","title":"Baseline Sequestration","href":"/api-reference/baseline-sequestration"},{"openapi":"get /projects/{project_id}/ghg/performance_benchmark","title":"Performance Benchmark","href":"/api-reference/performance-benchmark"},{"openapi":"get /projects/{project_id}/ghg/ghg_emissions","title":"Ghg Emissions","href":"/api-reference/ghg-emissions"},{"openapi":"get /projects/{project_id}/ghg/carbon_additionality","title":"Carbon Additionality","href":"/api-reference/carbon-additionality"}]},{"group":"Other","pages":[{"openapi":"get /projects/{project_id}/weather","title":"Get Weather Data","href":"/api-reference/get-weather-data"},{"openapi":"get /projects/{project_id}/satellite/index","title":"Get Remote Sensing Indices","href":"/api-reference/get-remote-sensing-indices"},{"openapi":"get /projects/{project_id}/soil","title":"Soil Parameters","href":"/api-reference/soil-parameters"}]},{"group":"Utilities","pages":[{"openapi":"get /api_status","title":"Healthcheck","href":"/api-reference/utilities/healthcheck"},{"openapi":"post /geojson_area","title":"Geojson Area","href":"/api-reference/geojson-area"},{"openapi":"get /projects/{project_id}/project_mask","title":"Get the project mask","href":"/api-reference/get-the-project-mask"},{"openapi":"get /projects/{project_id}/wetlands_mask","title":"Get the wetlands mask","href":"/api-reference/get-the-wetlands-mask"}]}]},{"tab":"Datasets","groups":[{"group":"Datasets","pages":[{"title":"Datasets overview","href":"/datasets/overview"},{"title":"Agricultural climate indicators","href":"/datasets/ag-climate-risk"},{"title":"Global administrative boundaries","href":"/datasets/admin-boundaries"}]},{"group":"Accessing data","pages":[{"title":"Bulk Data Delivery","href":"/datasets/access-bulk-data-delivery"}]}]}]},"title":"Get User - Fix6","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js"]}