Creates an invitation and emails the invitee. One live invitation per email per team: if a pending one exists, revoke it first — re-inviting is revoke + create (there is no resend endpoint). Invitation emails expire after 7 days. Creation is capped per team per 24 hours; the cap counts created invitations, and 429 responses carry Retry-After. An admin-level role (GET /roles, admin_grant_only) can be invited only by the owner (403 ROLE_REQUIRES_OWNER), the same rule as a role change and as the console.
Permission required:member:invite
When the role assigned is admin-level: tenant_admin, or a custom role holding any admin-only team action: team owner only
Headers
string
Optional. Retrying with the same value replays the first result instead of sending a second email.
Request Body
string
required
Invitee email address. One live invitation per address per team.
string
required
Role the invitee will hold on acceptance: tenant_admin, tenant_member, or a custom role key of this team. The owner role cannot be invited.
Errors answer with success: false, a message and an error_code. See Error Codes for every code.
Status
Meaning
400
A parameter or the body is invalid
401
The API key is missing, invalid, disabled or expired
403
The key is not allowed to do this
409
The request conflicts with the current state, e.g. a duplicate or a limit reached
422
The body or a parameter failed validation
429
Too many requests. Wait for the time in Retry-After
500
Server-side error
503
Temporarily unavailable. Retry later
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MemoryLake AI","colors":{"primary":"#E75C2A","light":"#F2A361","dark":"#EF8640"},"logo":{"light":"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/light.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=9766e4cbaa7d674460d63cee7a88c501","dark":"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/dark.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=a41577a71bafe8a081881ff6b98cb305"},"favicon":"https://mintcdn.com/datacloud-924043c1/pEDy58oBG5CxVCQs/favicon.svg?fit=max\u0026auto=format\u0026n=pEDy58oBG5CxVCQs\u0026q=85\u0026s=d47c4a1ae8b1aac3422e43e0d1bc022b","navbar":{"primary":{"type":"button","label":"Console","href":"https://app.memorylake.ai"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"overview"},{"language":"zh","href":"zh/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"datacloud-924043c1","hasAudioNarration":false,"actualSubdomain":"datacloud-924043c1","customDomains":["docs.memorylake.ai"],"gitSource":{"type":"github","owner":"memorylake-ai","repo":"memorylake-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10c6db9ffae5051c40749b"},"entitlements":{},"buildId":"6b0cea3c688a432224fb186f","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"en","tag":"API reference","count":243},{"language":"zh","tag":"API 参考","count":243},{"language":"en","tag":"MemoryLake API","count":236},{"language":"zh","tag":"MemoryLake API","count":236},{"language":"en","tag":"Guides","count":51},{"language":"zh","tag":"指南","count":51},{"language":"en","tag":"Access Control","count":29},{"language":"en","tag":"Projects","count":29},{"language":"zh","tag":"访问控制","count":29},{"language":"zh","tag":"项目","count":29},{"language":"en","tag":"Agents","count":28},{"language":"zh","tag":"Agent","count":28},{"language":"en","tag":"Actors","count":22},{"language":"zh","tag":"Actor","count":22},{"language":"en","tag":"Deprecated","count":21},{"language":"zh","tag":"已弃用","count":21},{"language":"en","tag":"Billing","count":18},{"language":"en","tag":"Workspaces","count":18},{"language":"zh","tag":"计费","count":18},{"language":"zh","tag":"工作空间","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","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":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"hidden-docs.css","content":"html:not([data-show-hidden-docs]) [data-group-tag=\"Preview\"]:not([data-active]),html:not([data-show-hidden-docs]) [data-group-tag=\"预览\"]:not([data-active]),html:not([data-show-hidden-docs]) div:has(>.sidebar-group-header [data-nav-tag=\"Preview\"]):not(:has([data-active])),html:not([data-show-hidden-docs]) div:has(>.sidebar-group-header [data-nav-tag=\"预览\"]):not(:has([data-active])){display:none}"}]}
{"page":{"pagePath":"features/memorylake/api-reference/invitations/create-invitation","slug":"/features/memorylake/api-reference/invitations/create-invitation","pageMetadata":{"title":"Create Invitation","description":"Creates an invitation and emails the invitee","href":"/features/memorylake/api-reference/invitations/create-invitation"},"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: \"Creates an invitation and emails the invitee\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST /openapi/memorylake/admin/v1/invitations`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Creates an invitation and emails the invitee. One live invitation per email per team: if a pending one exists, revoke it first — re-inviting is revoke + create (there is no resend endpoint). Invitation emails expire after 7 days. Creation is capped per team per 24 hours; the cap counts created invitations, and 429 responses carry Retry-After. An admin-level role (GET /roles, admin_grant_only) can be invited only by the owner (403 ROLE_REQUIRES_OWNER), the same rule as a role change and as the console.`}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Permission required:`}),` `,_jsx(_components.code,{children:`member:invite`})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`When the role assigned is admin-level: tenant_admin, or a custom role holding any admin-only team action: team owner only`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Optional. Retrying with the same value replays the first result instead of sending a second email.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`Invitee email address. One live invitation per address per team.`})}),`\n`,_jsx(ParamField,{body:`role`,type:`string`,required:true,id:`param-role`,children:_jsx(_components.p,{children:`Role the invitee will hold on acceptance: tenant_admin, tenant_member, or a custom role key of this team. The owner role cannot be invited.`})}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Invitation object`,children:[_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:`First invitation time, Unix seconds`}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`,children:`Invitee email address (normalised to lowercase)`}),_jsx(ResponseField,{name:`expires_at`,type:`integer`,id:`param-expires-at`,children:`Expiry time of the current invitation email, Unix seconds`}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Stable identifier of this invitation`}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role-1`,children:`Role the invitee will hold on acceptance: tenant_admin | tenant_member | \u003ccustom role>`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[`Invitation state. One of: `,_jsx(_components.code,{children:`pending`}),`, `,_jsx(_components.code,{children:`accepted`}),`, `,_jsx(_components.code,{children:`rejected`}),`, `,_jsx(_components.code,{children:`expired`}),`, `,_jsx(_components.code,{children:`revoked`}),`.`]}),_jsx(ResponseField,{name:`accepted_at`,type:`integer`,id:`param-accepted-at`,children:`Acceptance time, Unix seconds. Present only when accepted.`}),_jsx(ResponseField,{name:`accepted_principal_id`,type:`string`,id:`param-accepted-principal-id`,children:`principal_id of the member this invitation produced. Present only when accepted.`}),_jsx(ResponseField,{name:`last_invited_at`,type:`integer`,id:`param-last-invited-at`,children:`Most recent invitation email time, Unix seconds. Omitted on rows that predate this field.`})]})}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors answer with `,_jsx(_components.code,{children:`success: false`}),`, a `,_jsx(_components.code,{children:`message`}),` and an `,_jsx(_components.code,{children:`error_code`}),`. See `,_jsx(_components.a,{href:`/features/memorylake/api-reference/errors`,children:`Error Codes`}),` for every code.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`A parameter or the body is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The API key is missing, invalid, disabled or expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key is not allowed to do this`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The request conflicts with the current state, e.g. a duplicate or a limit reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The body or a parameter failed validation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for the time in `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Server-side error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Temporarily unavailable. Retry later`})]})]})]})]})}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":"Create Invitation","description":"Creates an invitation and emails the invitee","href":"/features/memorylake/api-reference/invitations/create-invitation"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST /openapi/memorylake/admin/v1/invitations`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Creates an invitation and emails the invitee. One live invitation per email per team: if a pending one exists, revoke it first — re-inviting is revoke + create (there is no resend endpoint). Invitation emails expire after 7 days. Creation is capped per team per 24 hours; the cap counts created invitations, and 429 responses carry Retry-After. An admin-level role (GET /roles, admin_grant_only) can be invited only by the owner (403 ROLE_REQUIRES_OWNER), the same rule as a role change and as the console.`}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Permission required:`}),` `,_jsx(_components.code,{children:`member:invite`})]}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`When the role assigned is admin-level: tenant_admin, or a custom role holding any admin-only team action: team owner only`}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Optional. Retrying with the same value replays the first result instead of sending a second email.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`Invitee email address. One live invitation per address per team.`})}),`\n`,_jsx(ParamField,{body:`role`,type:`string`,required:true,id:`param-role`,children:_jsx(_components.p,{children:`Role the invitee will hold on acceptance: tenant_admin, tenant_member, or a custom role key of this team. The owner role cannot be invited.`})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`8`,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:`8`,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:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://app.memorylake.ai/openapi/memorylake/admin/v1/invitations'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer sk_xxxxxx'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Idempotency-Key: 7c1d2e3f-0a9b-4c8d-b7e6-f5a4d3c2b1a0'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_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:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_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:` \"email\": \"alice@example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"role\": \"tenant_member\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Invitation object`,children:[_jsx(ResponseField,{name:`created_at`,type:`integer`,id:`param-created-at`,children:`First invitation time, Unix seconds`}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`,children:`Invitee email address (normalised to lowercase)`}),_jsx(ResponseField,{name:`expires_at`,type:`integer`,id:`param-expires-at`,children:`Expiry time of the current invitation email, Unix seconds`}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:`Stable identifier of this invitation`}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role-1`,children:`Role the invitee will hold on acceptance: tenant_admin | tenant_member | \u003ccustom role>`}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[`Invitation state. One of: `,_jsx(_components.code,{children:`pending`}),`, `,_jsx(_components.code,{children:`accepted`}),`, `,_jsx(_components.code,{children:`rejected`}),`, `,_jsx(_components.code,{children:`expired`}),`, `,_jsx(_components.code,{children:`revoked`}),`.`]}),_jsx(ResponseField,{name:`accepted_at`,type:`integer`,id:`param-accepted-at`,children:`Acceptance time, Unix seconds. Present only when accepted.`}),_jsx(ResponseField,{name:`accepted_principal_id`,type:`string`,id:`param-accepted-principal-id`,children:`principal_id of the member this invitation produced. Present only when accepted.`}),_jsx(ResponseField,{name:`last_invited_at`,type:`integer`,id:`param-last-invited-at`,children:`Most recent invitation email time, Unix seconds. Omitted on rows that predate this field.`})]})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success (201)`,numberOfLines:`15`,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:`15`,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\":`#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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Operation completed successfully\"`}),_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:` \"data\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1760000000`}),_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"alice@example.com\"`}),_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:` \"expires_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1760000000`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c079f4f4e529b9d687b3cce00eeb9644\"`}),_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:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tenant_member\"`}),_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:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_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:` \"accepted_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1760000000`}),_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:` \"accepted_principal_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5a4863beca31b3b37f780badf1652511\"`}),_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:` \"last_invited_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1760000000`})]}),`\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`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors answer with `,_jsx(_components.code,{children:`success: false`}),`, a `,_jsx(_components.code,{children:`message`}),` and an `,_jsx(_components.code,{children:`error_code`}),`. See `,_jsx(_components.a,{href:`/features/memorylake/api-reference/errors`,children:`Error Codes`}),` for every code.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`A parameter or the body is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The API key is missing, invalid, disabled or expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key is not allowed to do this`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The request conflicts with the current state, e.g. a duplicate or a limit reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The body or a parameter failed validation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for the time in `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Server-side error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Temporarily unavailable. Retry later`})]})]})]})]})}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":"Create Invitation","description":"Creates an invitation and emails the invitee","href":"/features/memorylake/api-reference/invitations/create-invitation"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Errors","slug":"errors","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","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=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://app.memorylake.ai/openapi/memorylake/admin/v1/invitations'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer sk_xxxxxx'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Idempotency-Key: 7c1d2e3f-0a9b-4c8d-b7e6-f5a4d3c2b1a0'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\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:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"email\": \"alice@example.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"role\": \"tenant_member\"\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":"Success (201)","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=\"15\">\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:#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\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Operation completed successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1760000000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"alice@example.com\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expires_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1760000000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"c079f4f4e529b9d687b3cce00eeb9644\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"role\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tenant_member\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"pending\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"accepted_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1760000000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"accepted_principal_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"5a4863beca31b3b37f780badf1652511\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_invited_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1760000000\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":[]}}},"jsLinks":["/_mintlify/custom/datacloud-924043c1/1c558f432fed73aa/hidden-docs.js"],"subdomain":"datacloud-924043c1","siteName":"MemoryLake AI","title":"Create Invitation - MemoryLake AI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/features/memorylake/api-reference/invitations/create-invitation","matchLevel":0},"zh":{"href":"/zh/features/memorylake/api-reference/invitations/create-invitation","matchLevel":1}}},"lastModified":"2026-11-06T06:50:00.279Z","originalFileLocation":"features/memorylake/api-reference/invitations/create-invitation.mdx","locale":"en"},"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=\"Creates an invitation and emails the invitee\">\u003cmeta data-mint-head name=\"application-name\" content=\"MemoryLake AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_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/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Invitation - MemoryLake AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates an invitation and emails the invitee\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MemoryLake AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://datacloud-924043c1.mintlify.site/_mintlify/api/og/v2?division=Invitations\u0026amp;title=Create+Invitation\u0026amp;description=Creates+an+invitation+and+emails+the+invitee\u0026amp;theme=5e044ebec589c4295124e63e\u0026amp;signature=38bd4620b233990788730d559c4ec81718a44209db1cb6ea451a3502586a1489\">\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=\"Create Invitation - MemoryLake AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates an invitation and emails the invitee\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://datacloud-924043c1.mintlify.site/_mintlify/api/og/v2?division=Invitations\u0026amp;title=Create+Invitation\u0026amp;description=Creates+an+invitation+and+emails+the+invitee\u0026amp;theme=5e044ebec589c4295124e63e\u0026amp;signature=38bd4620b233990788730d559c4ec81718a44209db1cb6ea451a3502586a1489\">\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/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MemoryLake AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E75C2A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/features/memorylake/api-reference/invitations/create-invitation.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.memorylake.ai/zh/features/memorylake/api-reference/invitations/create-invitation\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.memorylake.ai/#organization\",\"name\":\"MemoryLake AI\",\"url\":\"https://docs.memorylake.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/light.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=9766e4cbaa7d674460d63cee7a88c501\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.memorylake.ai#website\",\"name\":\"MemoryLake AI\",\"url\":\"https://docs.memorylake.ai\",\"publisher\":{\"@id\":\"https://docs.memorylake.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation#webpage\",\"url\":\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation\",\"name\":\"Create Invitation\",\"description\":\"Creates an invitation and emails the invitee\",\"dateModified\":\"2026-11-06T06:50:00.279Z\",\"isPartOf\":{\"@id\":\"https://docs.memorylake.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"MemoryLake API\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invitations\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/list-invitations\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Invitation\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation#article\",\"headline\":\"Create Invitation\",\"name\":\"Create Invitation\",\"description\":\"Creates an invitation and emails the invitee\",\"url\":\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/invitations/create-invitation#webpage\"},\"dateModified\":\"2026-11-06T06:50:00.279Z\",\"publisher\":{\"@id\":\"https://docs.memorylake.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.memorylake.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MemoryLake AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MemoryLake AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/features/memorylake/api-reference/invitations/create-invitation.md","siteName":"MemoryLake AI","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/overview"}]},{"tab":"API reference","groups":[{"group":"API documentation","pages":[]},{"group":"MemoryLake API","pages":[{"title":"MemoryLake API Reference","href":"/features/memorylake/api-reference/overview"},{"title":"API Authentication","href":"/features/memorylake/api-reference/authentication"},{"group":"Core Memory Operations","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/core-memory/overview"},{"title":"Import Documents","href":"/features/memorylake/api-reference/v3-documents/import-documents"},{"title":"Append Conversation Message","href":"/features/memorylake/api-reference/conversations/create-message"},{"title":"Search Memories","href":"/features/memorylake/api-reference/search/search-memories"}]},{"group":"Library","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/library/overview"},{"title":"Get Item","href":"/features/memorylake/api-reference/library/get-item"},{"title":"List Items","href":"/features/memorylake/api-reference/library/list-items"},{"title":"Download Item","href":"/features/memorylake/api-reference/library/download-item"},{"title":"Create Upload","href":"/features/memorylake/api-reference/library/create-upload"},{"title":"Create Item","href":"/features/memorylake/api-reference/library/create-item"},{"title":"Delete Item","href":"/features/memorylake/api-reference/library/delete-item"},{"title":"Batch Delete Items","href":"/features/memorylake/api-reference/library/batch-delete-items"},{"title":"Set Item Xattrs","href":"/features/memorylake/api-reference/library/set-item-xattrs"},{"title":"Delete Item Xattrs","href":"/features/memorylake/api-reference/library/delete-item-xattrs"}]},{"group":"Workspaces","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/workspaces/overview"},{"title":"List Workspaces","href":"/features/memorylake/api-reference/workspaces/list-workspaces"},{"title":"Create Workspace","href":"/features/memorylake/api-reference/workspaces/create-workspace"},{"title":"Get Workspace","href":"/features/memorylake/api-reference/workspaces/get-workspace"},{"title":"Update Workspace","href":"/features/memorylake/api-reference/workspaces/update-workspace"},{"title":"Delete Workspace","href":"/features/memorylake/api-reference/workspaces/delete-workspace"},{"title":"List Workspace Facts","href":"/features/memorylake/api-reference/facts/list-workspace-facts"},{"group":"Conversations","pages":[{"title":"List Conversations","href":"/features/memorylake/api-reference/conversations/list-conversations"},{"title":"Create Conversation","href":"/features/memorylake/api-reference/conversations/create-conversation"},{"title":"Get Conversation","href":"/features/memorylake/api-reference/conversations/get-conversation"},{"title":"Delete Conversation","href":"/features/memorylake/api-reference/conversations/delete-conversation"},{"title":"List Messages","href":"/features/memorylake/api-reference/conversations/list-messages"},{"title":"Batch Get Messages","href":"/features/memorylake/api-reference/conversations/batch-get-messages"}]},{"group":"IM Integrations","pages":[{"title":"List IM Integrations","href":"/features/memorylake/api-reference/integrations/list-integrations"},{"title":"Create IM Integration","href":"/features/memorylake/api-reference/integrations/create-integration"},{"title":"Get IM Integration","href":"/features/memorylake/api-reference/integrations/get-integration"},{"title":"Update IM Integration","href":"/features/memorylake/api-reference/integrations/update-integration"},{"title":"Delete IM Integration","href":"/features/memorylake/api-reference/integrations/delete-integration"}]}]},{"group":"Actors","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/actors/overview"},{"title":"List Actors","href":"/features/memorylake/api-reference/actors/list-actors"},{"title":"Create Actor","href":"/features/memorylake/api-reference/actors/create-actor"},{"title":"Get Actor","href":"/features/memorylake/api-reference/actors/get-actor"},{"title":"Update Actor","href":"/features/memorylake/api-reference/actors/update-actor"},{"title":"Delete Actor","href":"/features/memorylake/api-reference/actors/delete-actor"},{"title":"List Workspace Actors","href":"/features/memorylake/api-reference/actors/list-workspace-actors"},{"title":"Bind Actor to Workspace","href":"/features/memorylake/api-reference/actors/bind-actor"},{"title":"Unbind Actor from Workspace","href":"/features/memorylake/api-reference/actors/unbind-actor"},{"group":"Actor Facts","pages":[{"title":"List Actor Facts","href":"/features/memorylake/api-reference/facts/list-actor-facts"},{"title":"Add Actor Facts","href":"/features/memorylake/api-reference/facts/add-actor-facts"},{"title":"Get Actor Fact","href":"/features/memorylake/api-reference/facts/get-actor-fact"},{"title":"Get Actor Fact Change History","href":"/features/memorylake/api-reference/facts/get-actor-fact-trace"},{"title":"Update Actor Fact","href":"/features/memorylake/api-reference/facts/update-actor-fact"},{"title":"Forget Actor Fact","href":"/features/memorylake/api-reference/facts/forget-actor-fact"},{"title":"Batch Forget Actor Facts","href":"/features/memorylake/api-reference/facts/batch-forget-actor-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Actor Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-actor-conflicts"},{"title":"Get Actor Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-actor-conflict"},{"title":"Resolve Actor Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-actor-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Actor Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-actor-memory-settings"},{"title":"Update Actor Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-actor-memory-settings"},{"title":"Draft Actor Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-actor-fact-instruction"}]}]},{"group":"Agents","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/agents/overview"},{"title":"A2A Integration","href":"/features/memorylake/api-reference/a2a/overview"},{"title":"List Open Data Collections","href":"/features/memorylake/api-reference/a2a/list-open-data-collections"},{"title":"List Agents","href":"/features/memorylake/api-reference/agents/list-agents"},{"title":"Create Agent","href":"/features/memorylake/api-reference/agents/create-agent"},{"title":"Get Agent","href":"/features/memorylake/api-reference/agents/get-agent"},{"title":"Update Agent","href":"/features/memorylake/api-reference/agents/update-agent"},{"title":"Delete Agent","href":"/features/memorylake/api-reference/agents/delete-agent"},{"title":"Fork Agent","href":"/features/memorylake/api-reference/agents/fork-agent"},{"group":"Versions","pages":[{"title":"List Agent Versions","href":"/features/memorylake/api-reference/agents/list-agent-versions"},{"title":"Create Agent Version","href":"/features/memorylake/api-reference/agents/create-agent-version"},{"title":"Get Agent Version","href":"/features/memorylake/api-reference/agents/get-agent-version"}]},{"title":"List Workspace Agents","href":"/features/memorylake/api-reference/agents/list-workspace-agents"},{"title":"Bind Agent to Workspace","href":"/features/memorylake/api-reference/agents/bind-agent"},{"title":"Unbind Agent from Workspace","href":"/features/memorylake/api-reference/agents/unbind-agent"},{"group":"Agent Facts","pages":[{"title":"List Agent Facts","href":"/features/memorylake/api-reference/facts/list-agent-facts"},{"title":"Add Agent Facts","href":"/features/memorylake/api-reference/facts/add-agent-facts"},{"title":"Get Agent Fact","href":"/features/memorylake/api-reference/facts/get-agent-fact"},{"title":"Get Agent Fact Change History","href":"/features/memorylake/api-reference/facts/get-agent-fact-trace"},{"title":"Update Agent Fact","href":"/features/memorylake/api-reference/facts/update-agent-fact"},{"title":"Forget Agent Fact","href":"/features/memorylake/api-reference/facts/forget-agent-fact"},{"title":"Batch Forget Agent Facts","href":"/features/memorylake/api-reference/facts/batch-forget-agent-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Agent Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-agent-conflicts"},{"title":"Get Agent Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-agent-conflict"},{"title":"Resolve Agent Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-agent-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Agent Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-agent-memory-settings"},{"title":"Update Agent Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-agent-memory-settings"},{"title":"Draft Agent Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-agent-fact-instruction"}]}]},{"group":"Skills","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/skills/overview"},{"title":"Request Package Upload","href":"/features/memorylake/api-reference/skills/create-package-upload"},{"title":"List Skills","href":"/features/memorylake/api-reference/skills/list-skills"},{"title":"Create Skill","href":"/features/memorylake/api-reference/skills/create-skill"},{"title":"Get Skill","href":"/features/memorylake/api-reference/skills/get-skill"},{"title":"Update Skill","href":"/features/memorylake/api-reference/skills/update-skill"},{"title":"Delete Skill","href":"/features/memorylake/api-reference/skills/delete-skill"},{"group":"Versions","pages":[{"title":"List Skill Versions","href":"/features/memorylake/api-reference/skills/list-skill-versions"},{"title":"Publish Skill Version","href":"/features/memorylake/api-reference/skills/create-skill-version"},{"title":"Get Skill Version","href":"/features/memorylake/api-reference/skills/get-skill-version"}]}]},{"group":"Boundaries","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/boundaries/overview"},{"title":"List Boundaries","href":"/features/memorylake/api-reference/boundaries/list-boundaries"},{"title":"Create Boundary","href":"/features/memorylake/api-reference/boundaries/create-boundary"},{"title":"Get Boundary","href":"/features/memorylake/api-reference/boundaries/get-boundary"},{"title":"Update Boundary","href":"/features/memorylake/api-reference/boundaries/update-boundary"},{"title":"Delete Boundary","href":"/features/memorylake/api-reference/boundaries/delete-boundary"}]},{"group":"Projects","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/v3-projects/overview"},{"title":"List Projects","href":"/features/memorylake/api-reference/v3-projects/list-projects"},{"title":"Create Project","href":"/features/memorylake/api-reference/v3-projects/create-project"},{"title":"Get Project","href":"/features/memorylake/api-reference/v3-projects/get-project"},{"title":"Update Project","href":"/features/memorylake/api-reference/v3-projects/update-project"},{"title":"Delete Project","href":"/features/memorylake/api-reference/v3-projects/delete-project"},{"group":"Documents","pages":[{"title":"List Documents","href":"/features/memorylake/api-reference/v3-documents/list-documents"},{"title":"Get Document","href":"/features/memorylake/api-reference/v3-documents/get-document"},{"title":"Download Document","href":"/features/memorylake/api-reference/v3-documents/download-document"},{"title":"Delete Documents","href":"/features/memorylake/api-reference/v3-documents/delete-documents"}]},{"group":"Project Facts","pages":[{"title":"List Facts","href":"/features/memorylake/api-reference/facts/list-facts"},{"title":"Add Facts","href":"/features/memorylake/api-reference/facts/add-facts"},{"title":"Get Fact","href":"/features/memorylake/api-reference/facts/get-fact"},{"title":"Get Fact Change History","href":"/features/memorylake/api-reference/facts/get-fact-trace"},{"title":"Update Fact","href":"/features/memorylake/api-reference/facts/update-fact"},{"title":"Forget Fact","href":"/features/memorylake/api-reference/facts/forget-fact"},{"title":"Batch Forget Facts","href":"/features/memorylake/api-reference/facts/batch-forget-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-conflicts"},{"title":"Get Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-conflict"},{"title":"Resolve Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Project Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-project-memory-settings"},{"title":"Update Project Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-project-memory-settings"},{"title":"Draft Project Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-project-fact-instruction"}]}]},{"group":"Databases","tag":"Preview","pages":[{"title":"Databases API Overview","href":"/features/memorylake/api-reference/database/overview"},{"group":"Connections","pages":[{"title":"List Database Connections","href":"/features/memorylake/api-reference/database/connections/list-database-connections"},{"title":"Test Database Connectivity","href":"/features/memorylake/api-reference/database/connections/test-database-connectivity"},{"title":"Create Database Connection","href":"/features/memorylake/api-reference/database/connections/create-database-connection"},{"title":"Get Database Connection","href":"/features/memorylake/api-reference/database/connections/get-database-connection"},{"title":"Update Database Connection","href":"/features/memorylake/api-reference/database/connections/update-database-connection"},{"title":"Delete Database Connection","href":"/features/memorylake/api-reference/database/connections/delete-database-connection"},{"title":"List Connection Schemas","href":"/features/memorylake/api-reference/database/connections/list-connection-schemas"}]},{"group":"Datasources","pages":[{"title":"List Datasources","href":"/features/memorylake/api-reference/database/datasources/list-datasources"},{"title":"Create Datasource","href":"/features/memorylake/api-reference/database/datasources/create-datasource"},{"title":"Get Datasource","href":"/features/memorylake/api-reference/database/datasources/get-datasource"},{"title":"Update Datasource","href":"/features/memorylake/api-reference/database/datasources/update-datasource"},{"title":"Delete Datasource","href":"/features/memorylake/api-reference/database/datasources/delete-datasource"},{"title":"Build Datasource Index","href":"/features/memorylake/api-reference/database/datasources/build-datasource-index"},{"title":"List Tables","href":"/features/memorylake/api-reference/database/datasources/list-tables"},{"title":"List Columns","href":"/features/memorylake/api-reference/database/datasources/list-columns"},{"title":"Edit Schema Metadata","href":"/features/memorylake/api-reference/database/datasources/edit-schema-metadata"}]},{"group":"Analysis Models","pages":[{"title":"List Analysis Model Templates","href":"/features/memorylake/api-reference/database/analysis-models/list-analysis-model-templates"},{"title":"List Analysis Models","href":"/features/memorylake/api-reference/database/analysis-models/list-analysis-models"},{"title":"Create Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/create-analysis-model"},{"title":"Get Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/get-analysis-model"},{"title":"Update Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/update-analysis-model"},{"title":"Delete Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/delete-analysis-model"},{"title":"List Knowledge Entries","href":"/features/memorylake/api-reference/database/analysis-models/list-knowledge-entries"},{"title":"Add Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/add-knowledge-entry"},{"title":"Get Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/get-knowledge-entry"},{"title":"Edit Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/edit-knowledge-entry"},{"title":"Disable or Restore Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/disable-knowledge-entry"},{"title":"Delete Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/delete-knowledge-entry"}]},{"group":"Database Memories","pages":[{"title":"List Database Memories","href":"/features/memorylake/api-reference/database/database-memories/list-database-memories"},{"title":"Create Database Memory","href":"/features/memorylake/api-reference/database/database-memories/create-database-memory"},{"title":"Get Database Memory","href":"/features/memorylake/api-reference/database/database-memories/get-database-memory"},{"title":"Update Database Memory","href":"/features/memorylake/api-reference/database/database-memories/update-database-memory"},{"title":"Delete Database Memory","href":"/features/memorylake/api-reference/database/database-memories/delete-database-memory"},{"title":"Reload Database Memory","href":"/features/memorylake/api-reference/database/database-memories/reload-database-memory"},{"title":"Generate Database Memory Instruction","href":"/features/memorylake/api-reference/database/database-memories/generate-database-memory-instruction"}]},{"group":"Database Access","pages":[{"title":"Get Database Resource Access","href":"/features/memorylake/api-reference/access-control/get-database-resource-access"},{"title":"List Database Permission Level Options","href":"/features/memorylake/api-reference/access-control/list-database-permission-level-options"},{"title":"Set Database Permission Level","href":"/features/memorylake/api-reference/access-control/set-database-permission-level"},{"title":"Grant Database Access","href":"/features/memorylake/api-reference/access-control/grant-database-scope"},{"title":"Revoke Database Access","href":"/features/memorylake/api-reference/access-control/revoke-database-scope"}]}]},{"group":"Team","pages":[{"title":"Get Team","href":"/features/memorylake/api-reference/team/get-team"},{"title":"Rename Team","href":"/features/memorylake/api-reference/team/update-team"},{"title":"Create Team","href":"/features/memorylake/api-reference/team/create-team"},{"title":"Transfer Ownership","href":"/features/memorylake/api-reference/team/transfer-ownership"},{"title":"Delete Team","href":"/features/memorylake/api-reference/team/delete-team"}]},{"group":"Members","pages":[{"title":"List Members","href":"/features/memorylake/api-reference/members/list-members"},{"title":"Get Member","href":"/features/memorylake/api-reference/members/get-member"},{"title":"Create Virtual Member","href":"/features/memorylake/api-reference/members/create-member"},{"title":"Update Member","href":"/features/memorylake/api-reference/members/update-member"},{"title":"Remove Member","href":"/features/memorylake/api-reference/members/remove-member"},{"title":"List Roles","href":"/features/memorylake/api-reference/members/list-roles"},{"title":"Get Member Access Scope","href":"/features/memorylake/api-reference/members/get-member-access-scope"},{"title":"Set Member Access Scope","href":"/features/memorylake/api-reference/members/set-member-access-scope"},{"title":"Get Member Effective Permissions","href":"/features/memorylake/api-reference/members/get-member-effective-permissions"}]},{"group":"Invitations","pages":[{"title":"List Invitations","description":"Lists the team's invitations, newest first, optionally filtered by state and by email address (repeat email= to check several addresses at once)","href":"/features/memorylake/api-reference/invitations/list-invitations"},{"title":"Create Invitation","href":"/features/memorylake/api-reference/invitations/create-invitation"},{"title":"Get Invitation","description":"Returns one invitation, in the same shape as the list","href":"/features/memorylake/api-reference/invitations/get-invitation"},{"title":"Revoke Invitation","href":"/features/memorylake/api-reference/invitations/revoke-invitation"}]},{"group":"API Keys","pages":[{"title":"List API Keys","href":"/features/memorylake/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","href":"/features/memorylake/api-reference/api-keys/create-api-key"},{"title":"Get API Key","href":"/features/memorylake/api-reference/api-keys/get-api-key"},{"title":"Update API Key","href":"/features/memorylake/api-reference/api-keys/update-api-key"},{"title":"Rotate API Key","href":"/features/memorylake/api-reference/api-keys/rotate-api-key"},{"title":"Revoke API Key","href":"/features/memorylake/api-reference/api-keys/revoke-api-key"}]},{"group":"Authorized Apps","pages":[{"title":"List My Authorized Apps","href":"/features/memorylake/api-reference/authorized-apps/list-my-authorized-apps"},{"title":"Revoke Authorized App","href":"/features/memorylake/api-reference/authorized-apps/revoke-my-authorized-app"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","href":"/features/memorylake/api-reference/webhooks/list-webhooks"},{"title":"Add Webhook","href":"/features/memorylake/api-reference/webhooks/create-webhook"},{"title":"Get Webhook","href":"/features/memorylake/api-reference/webhooks/get-webhook"},{"title":"Update Webhook","href":"/features/memorylake/api-reference/webhooks/update-webhook"},{"title":"Delete Webhook","href":"/features/memorylake/api-reference/webhooks/delete-webhook"},{"title":"Enable Webhook","href":"/features/memorylake/api-reference/webhooks/enable-webhook"},{"title":"Disable Webhook","href":"/features/memorylake/api-reference/webhooks/disable-webhook"},{"title":"Rotate Signing Secret","href":"/features/memorylake/api-reference/webhooks/rotate-webhook-secret"},{"title":"Send Test Event","href":"/features/memorylake/api-reference/webhooks/send-webhook-test-event"},{"title":"List Event Types","href":"/features/memorylake/api-reference/webhooks/list-webhook-event-types"},{"title":"List Deliveries","href":"/features/memorylake/api-reference/webhooks/list-webhook-deliveries"},{"title":"Get Delivery","href":"/features/memorylake/api-reference/webhooks/get-webhook-delivery"},{"title":"Resend Delivery","href":"/features/memorylake/api-reference/webhooks/resend-webhook-delivery"}]},{"group":"Access Control","pages":[{"title":"Access Control","href":"/features/memorylake/api-reference/access-control/overview"},{"title":"Get Permission Catalog","href":"/features/memorylake/api-reference/access-control/get-permission-catalog"},{"title":"List My Permissions","href":"/features/memorylake/api-reference/access-control/list-my-permissions"},{"group":"Roles","pages":[{"title":"Get Role","href":"/features/memorylake/api-reference/access-control/get-role"},{"title":"Create Custom Role","href":"/features/memorylake/api-reference/access-control/create-role"},{"title":"Update Custom Role","href":"/features/memorylake/api-reference/access-control/update-role"},{"title":"Delete Custom Role","href":"/features/memorylake/api-reference/access-control/delete-role"},{"title":"Get Role Access Scope","href":"/features/memorylake/api-reference/access-control/get-role-access-scope"},{"title":"Set Role Access Scope","href":"/features/memorylake/api-reference/access-control/set-role-access-scope"}]},{"group":"Permission Rules","pages":[{"title":"List Permission Rules","href":"/features/memorylake/api-reference/access-control/list-permission-rules"},{"title":"Create Permission Rules","href":"/features/memorylake/api-reference/access-control/create-permission-rules"},{"title":"Delete Permission Rule","href":"/features/memorylake/api-reference/access-control/delete-permission-rule"}]},{"group":"Access Groups","pages":[{"title":"List Access Groups","href":"/features/memorylake/api-reference/access-control/list-access-groups"},{"title":"Create Access Group","href":"/features/memorylake/api-reference/access-control/create-access-group"},{"title":"Get Access Group","href":"/features/memorylake/api-reference/access-control/get-access-group"},{"title":"Update Access Group","href":"/features/memorylake/api-reference/access-control/update-access-group"},{"title":"Delete Access Group","href":"/features/memorylake/api-reference/access-control/delete-access-group"},{"title":"List Access Group Members","href":"/features/memorylake/api-reference/access-control/list-access-group-members"},{"title":"Add Access Group Members","href":"/features/memorylake/api-reference/access-control/add-access-group-members"},{"title":"Remove Access Group Member","href":"/features/memorylake/api-reference/access-control/remove-access-group-member"},{"title":"Set Access Group Permissions","href":"/features/memorylake/api-reference/access-control/set-access-group-permissions"},{"title":"Get Access Group Access Scope","href":"/features/memorylake/api-reference/access-control/get-access-group-access-scope"},{"title":"Set Access Group Access Scope","href":"/features/memorylake/api-reference/access-control/set-access-group-access-scope"},{"title":"Get Access Group Effective Permissions","href":"/features/memorylake/api-reference/access-control/get-access-group-effective-permissions"}]},{"group":"Resource Access","pages":[{"title":"Get Resource Access","href":"/features/memorylake/api-reference/access-control/get-resource-access"},{"title":"List Permission Level Options","href":"/features/memorylake/api-reference/access-control/list-permission-level-options"},{"title":"Set Permission Level","href":"/features/memorylake/api-reference/access-control/set-permission-level"},{"title":"Grant Access","href":"/features/memorylake/api-reference/access-control/grant-scope"},{"title":"Revoke Access","href":"/features/memorylake/api-reference/access-control/revoke-scope"}]}]},{"group":"Usage \u0026 Audit Logs","pages":[{"title":"Get Usage","href":"/features/memorylake/api-reference/usage/get-usage"},{"title":"Get Usage Summary","href":"/features/memorylake/api-reference/usage/get-usage-summary"},{"title":"List Usage Records","href":"/features/memorylake/api-reference/usage/list-usage-records"},{"title":"List Audit Logs","href":"/features/memorylake/api-reference/usage/list-audit-logs"}]},{"group":"Billing","pages":[{"group":"Subscription","pages":[{"title":"Get Subscription","href":"/features/memorylake/api-reference/billing/get-subscription"},{"title":"Preview Plan Change","href":"/features/memorylake/api-reference/billing/preview-plan-change"}]},{"group":"Credits","pages":[{"title":"Get Credit Balance","href":"/features/memorylake/api-reference/billing/get-credit-balance"},{"title":"List Credit Transactions","href":"/features/memorylake/api-reference/billing/list-credit-transactions"},{"title":"Get Low-Balance Alert","href":"/features/memorylake/api-reference/billing/get-balance-alert"},{"title":"Set Low-Balance Alert","href":"/features/memorylake/api-reference/billing/set-balance-alert"},{"title":"Reset Low-Balance Alert","href":"/features/memorylake/api-reference/billing/reset-balance-alert"},{"title":"List Low-Balance Alert Events","href":"/features/memorylake/api-reference/billing/list-balance-alert-events"},{"title":"Get Auto Top-Up","href":"/features/memorylake/api-reference/billing/get-auto-topup"},{"title":"List Auto Top-Up Attempts","href":"/features/memorylake/api-reference/billing/list-auto-topup-attempts"}]},{"group":"Orders","pages":[{"title":"List Orders","href":"/features/memorylake/api-reference/billing/list-orders"},{"title":"Get Order","href":"/features/memorylake/api-reference/billing/get-order"}]},{"group":"Payment Methods","pages":[{"title":"List Payment Methods","href":"/features/memorylake/api-reference/billing/list-payment-methods"}]},{"group":"Invoices","pages":[{"title":"List Invoices","href":"/features/memorylake/api-reference/billing/list-invoices"},{"title":"Get Invoice","href":"/features/memorylake/api-reference/billing/get-invoice"},{"title":"Download Invoice PDF","href":"/features/memorylake/api-reference/billing/download-invoice-pdf"},{"title":"Get Billing Details","href":"/features/memorylake/api-reference/billing/get-billing-details"},{"title":"Set Billing Details","href":"/features/memorylake/api-reference/billing/set-billing-details"}]}]},{"group":"Deprecated","pages":[{"group":"Projects","pages":[{"title":"List Projects","href":"/features/memorylake/api-reference/projects/list-projects"},{"title":"Create Project","href":"/features/memorylake/api-reference/projects/create-project"},{"title":"Get Project","href":"/features/memorylake/api-reference/projects/get-project"},{"title":"Update Project","href":"/features/memorylake/api-reference/projects/update-project"},{"title":"Delete Project","href":"/features/memorylake/api-reference/projects/delete-project"},{"title":"Search Memories \u0026 Documents in Project","href":"/features/memorylake/api-reference/projects/search-project"}]},{"group":"Documents","pages":[{"title":"List Documents","href":"/features/memorylake/api-reference/memories/list-documents"},{"title":"Get Document","href":"/features/memorylake/api-reference/memories/get-document"},{"title":"Add Documents","href":"/features/memorylake/api-reference/memories/add-document"},{"title":"Remove Documents","href":"/features/memorylake/api-reference/memories/remove-documents"},{"title":"Search Documents","href":"/features/memorylake/api-reference/memories/search-documents"},{"title":"Download Document","href":"/features/memorylake/api-reference/memories/download-document"}]},{"group":"Memories","pages":[{"title":"Add Memory","href":"/features/memorylake/api-reference/memories/add-memory"},{"title":"List Memories","href":"/features/memorylake/api-reference/memories/list-memories"},{"title":"Get Memory","href":"/features/memorylake/api-reference/memories/get-memory"},{"title":"Get Memory Trace","href":"/features/memorylake/api-reference/memories/get-memory-trace"},{"title":"Search Memories","href":"/features/memorylake/api-reference/memories/search-memories"},{"title":"Forget Memory","href":"/features/memorylake/api-reference/memories/forget-memory"},{"title":"List Memory Conflicts","href":"/features/memorylake/api-reference/memories/list-memory-conflicts"},{"title":"Get Memory Conflict","href":"/features/memorylake/api-reference/memories/get-memory-conflict"},{"title":"Resolve Memory Conflict","href":"/features/memorylake/api-reference/memories/resolve-memory-conflict"}]}]},{"title":"Error Codes \u0026 Handling","href":"/features/memorylake/api-reference/errors"},{"title":"Rate Limiting \u0026 Quotas","href":"/features/memorylake/api-reference/rate-limits"}]},{"group":"Memory Router API","pages":[{"title":"Memory Router API","href":"/features/memory-router/api-reference/overview"},{"title":"Chat Completions","href":"/features/memory-router/api-reference/chat-completions"},{"title":"Responses","href":"/features/memory-router/api-reference/responses"},{"title":"Embeddings","href":"/features/memory-router/api-reference/embeddings"},{"title":"Images","href":"/features/memory-router/api-reference/images"},{"title":"Messages","href":"/features/memory-router/api-reference/messages"},{"title":"List Models","href":"/features/memory-router/api-reference/list-models"}]}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/features/memorylake/api-reference/invitations/create-invitation"}]}]},"basePath":"","title":"Create Invitation - MemoryLake AI","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["2b790eda92"],"chunks":["ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","utils-DINdUa17.js","utils-cjri0g4r.js","isEqual-Du6c450V.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","snippetPresets-CbOVSLWB.js","style-to-object-BY3JEAdk.js","use-playground-group-access-98JyaSW7.js","cloneDeep-BldndzCM.js","v4-DIgz8zy6.js"]}