{ "code": null, "message": "No data was provided"}
{ "errors": { "full_name": [ "is invalid", "is too long (maximum is 200 characters)" ], "email": [ "should look like an email address" ], "login": [ "has already been taken" ], "password": [ "is too short (minimum is 8 characters)" ], "facebook_id": [ "should be hexadecimal or decimal number" ], "external_user_id": [ "must be less than 4 bytes" ], "phone": [ "is not a number" ] }}
{ "code": null, "message": "No data was provided"}
{ "errors": { "full_name": [ "is invalid", "is too long (maximum is 200 characters)" ], "email": [ "should look like an email address" ], "login": [ "has already been taken" ], "password": [ "is too short (minimum is 8 characters)" ], "facebook_id": [ "should be hexadecimal or decimal number" ], "external_user_id": [ "must be less than 4 bytes" ], "phone": [ "is not a number" ] }}
Trailing whitespaces in string data (except for the password) will be trimmed.
The request can contain all, some or none of the optional parameters. Login, email, Facebook ID, and the external user ID should not be taken previously.If you want to create a user with some content (for example, with an avatar) you have to create a blob first. The blob is the entity that is a file in a system. To learn how to create a blob, review this section.You can assign tags to the user. The same tags can be used for any number of users.
Body Parameters
object
required
Show properties
string
required
User login. Must be unique. Only one required: login or email.
string
required
User e-mail. Must be unique. Only one required: login or email.
string
required
User password.
integer
ID of the file/blob. Generated automatically by the server after file/blob creation (for example, user photo).
integer
ID of the user in the external system (.). Must be unique.
string
ID of the user’s Facebook account. Must be unique.
string
User’s full name.
string
User’s phone.
string
User’s website.
string
User’s additional info.
string
User tags.
boolean
deprecated
Marketing info.
boolean
deprecated
Marketing info.
boolean
deprecated
GDPR info.
string
deprecated
GDPR info.
Headers
string
required
A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.
string
default:"ApiKey {your_api_key}"
required
API key from Dashboard. Expected format: ApiKey {your_api_key}. Must be used either QB-Token or Authorization.
{ "code": null, "message": "No data was provided"}
{ "errors": { "full_name": [ "is invalid", "is too long (maximum is 200 characters)" ], "email": [ "should look like an email address" ], "login": [ "has already been taken" ], "password": [ "is too short (minimum is 8 characters)" ], "facebook_id": [ "should be hexadecimal or decimal number" ], "external_user_id": [ "must be less than 4 bytes" ], "phone": [ "is not a number" ] }}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"QuickBlox","colors":{"primary":"#3978fc","light":"#3978fc","dark":"#3978fc"},"logo":{"light":"https://mintcdn.com/quickblox/ZK0J4-dDJuuhpUQu/logo/light.svg?fit=max\u0026auto=format\u0026n=ZK0J4-dDJuuhpUQu\u0026q=85\u0026s=2ca77d61090cf3e9a7512358a3ad30b1","dark":"https://mintcdn.com/quickblox/ZK0J4-dDJuuhpUQu/logo/dark.svg?fit=max\u0026auto=format\u0026n=ZK0J4-dDJuuhpUQu\u0026q=85\u0026s=a8aaf148bf91f6898d03d0d3184114a9"},"favicon":"https://mintcdn.com/quickblox/blsYQNp-sI61UYaV/favicon.png?fit=max\u0026auto=format\u0026n=blsYQNp-sI61UYaV\u0026q=85\u0026s=62ec978bc2dc633ef042e7636c089254","navbar":{"links":[{"href":"https://quickblox.github.io/q-consultation/","label":"Q-Consultation"},{"href":"https://help.quickblox.com/","label":"Support"},{"href":"https://quickblox.com/","label":"quickblox.com"}],"primary":{"type":"button","label":"Dashboard","href":"https://admin.quickblox.com/"}},"footer":{"socials":{"x":"https://x.com/QuickBlox","facebook":"https://www.facebook.com/quickblox","linkedin":"https://www.linkedin.com/company/quickblox","instagram":"https://www.instagram.com/quickblox_official_","medium":"https://medium.com/quickblox-engineering","github":"https://github.com/QuickBlox","discord":"https://bit.ly/quickblox-dev-community"}},"integrations":{"ga4":{"measurementId":"G-CJ7RE2GB2V"}},"contextual":{"options":["chatgpt","claude","copy"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"SDK Downloads","icon":"webhook","href":"https://github.com/QuickBlox"},{"anchor":"Community","icon":"discord","href":"https://discord.com/invite/ZWZ3WpYZ9q"},{"anchor":"Blog","icon":"newspaper","href":"https://quickblox.com/blog/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"quickblox","hasAudioNarration":false,"actualSubdomain":"quickblox","customDomains":["docs.quickblox.com"],"gitSource":{"type":"github","owner":"quickblox","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"issues":true,"edits":false,"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6a8dc27ca93e48aebcc61c6f","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Server API","count":105},{"language":"default","tag":"REST API","count":105},{"language":"default","tag":"SDKs","count":98},{"language":"default","tag":"Chat","count":57},{"language":"default","tag":"Android","count":26},{"language":"default","tag":"iOS","count":25},{"language":"default","tag":"UIKits","count":23},{"language":"default","tag":"Custom Objects","count":22},{"language":"default","tag":"AI Agent","count":21},{"language":"default","tag":"Flutter","count":20}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".icon-group{display:flex;gap:10px;flex-wrap:wrap}.custom-icon{width:24px;height:24px}.inline-link{display:inline-flex;align-items:center;color:#007bff;margin-top:10px;text-decoration:none;transition:color 0.3s ease, text-decoration 0.3s ease}.inline-link:hover{color:#030f1c}.centered-image{display:block;margin-left:auto;margin-right:auto;width:500px;height:auto}.centered-video{display:block;margin-left:auto;margin-right:auto;max-width:100%}.inline-link Icon{margin-right:5px}.icon-group .icon{width:20px;height:20px;display:inline-block;vertical-align:middle}.icon-group a{display:inline-block}.icon-group img,.icon-group svg{width:20px;height:20px;cursor:pointer;pointer-events:none}.card{box-shadow:0 4px 6px rgba(0, 0, 0, 0.1);transition:transform 0.3s ease, box-shadow 0.3s ease;background-color:#fff;border-radius:8px;padding:16px}.card:hover{transform:translateY(-5px);box-shadow:0 8px 16px rgba(0, 0, 0, 0.4)}.button{display:inline-block;padding:10px 20px;text-align:center;background-color:#007bff;color:white;border-radius:5px;text-decoration:none;white-space:nowrap}.button:hover{background-color:#0056b3}.warning{background-color:red!important}"}],"page":{"pagePath":"reference/create-user","slug":"/reference/create-user","pageMetadata":{"title":"Create User","api":"POST https://api.quickblox.com/users.json","contentType":"application/json","description":"Creates a new user.","playground":"simple","href":"/reference/create-user"},"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 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={a:`a`,code:`code`,del:`del`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Expandable,Heading,Info,ParamField,ResponseField,Step,Steps,Tooltip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`4`,id:`recipes`,children:`Recipes`}),`\n`,_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`Create user with API key`,id:`create-user-with-api-key`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`1. Use 'Authorization' header to pass API key`,children:_jsx(CodeBlock,{filename:``,highlight:`[3]`,numberOfLines:`12`,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:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:`-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-d '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"user\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"login\": \"johndoe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"password\":\"quickblox\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"full_name\": \"John Doe\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.quickblox.com/users.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Step,{title:_jsxs(_Fragment,{children:[`2. Use a `,_jsx(_components.code,{children:`user`}),` parameter to create a new user`]}),children:_jsx(CodeBlock,{filename:``,highlight:`[5]`,numberOfLines:`12`,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:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-d '{`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:` \"user\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"login\": \"johndoe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"password\":\"quickblox\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"full_name\": \"John Doe\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.quickblox.com/users.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Step,{title:`3. Set values for the fields`,children:_jsx(CodeBlock,{filename:``,highlight:`[6,7,8]`,numberOfLines:`12`,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:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-d '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"user\": {`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:` \"login\": \"johndoe\",`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:` \"password\":\"quickblox\",`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:` \"full_name\": \"John Doe\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.quickblox.com/users.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Step,{title:`4. As a result, the API returns a created user`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-d '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"user\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"login\": \"johndoe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"password\":\"quickblox\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"full_name\": \"John Doe\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.quickblox.com/users.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]})})}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Trailing whitespaces in string data (except for the password) will be trimmed.`})}),`\n`,_jsx(_components.p,{children:`The request can contain all, some or none of the optional parameters. Login, email, Facebook ID, and the external user ID should not be taken previously.`}),`\n`,_jsxs(_components.p,{children:[`If you want to create a user with some content (for example, with an avatar) you have to create a blob first. The blob is the entity that is a file in a system. To learn how to create a blob, review `,_jsx(_components.a,{href:`/reference/create-file`,children:`this section`}),`.`]}),`\n`,_jsx(_components.p,{children:`You can assign tags to the user. The same tags can be used for any number of users.`}),`\n`,_jsx(Heading,{level:`4`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`user`,type:`object`,required:true,id:`param-user`,children:_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`login`,type:`string`,required:true,id:`param-login`,children:[` User login. Must be `,_jsx(_components.strong,{children:`unique`}),`. Only `,_jsx(_components.strong,{children:`one`}),` required: `,_jsx(_components.code,{children:`login`}),` or `,_jsx(_components.code,{children:`email`}),`. `]}),_jsxs(ParamField,{body:`email`,type:`string`,required:true,id:`param-email`,children:[` User e-mail. Must be `,_jsx(_components.strong,{children:`unique`}),`. Only `,_jsx(_components.strong,{children:`one`}),` required: `,_jsx(_components.code,{children:`login`}),` or `,_jsx(_components.code,{children:`email`}),`. `]}),_jsx(ParamField,{body:`password`,type:`string`,required:true,id:`param-password`,children:` User password. `}),_jsx(ParamField,{body:`blob_id`,type:`integer`,id:`param-blob-id`,children:` ID of the file/blob. Generated automatically by the server after file/blob creation (for example, user photo). `}),_jsxs(ParamField,{body:`external_user_id`,type:`integer`,id:`param-external-user-id`,children:[` ID of the user in the external system (`,_jsx(Tooltip,{tip:`External User ID- a unique identifier of the user in the integrated external system; used for cross- referencing. For example, a user has an internal user ID within the QuickBlox system and external ID, provided by the integrated external (client) system. When an API call with reference to the user has to be submitted, the user can be referenced by either internal or external identifiers.`,children:`External User ID`}),`.). Must be `,_jsx(_components.strong,{children:`unique`}),`. `]}),_jsxs(ParamField,{body:`facebook_id`,type:`string`,id:`param-facebook-id`,children:[` ID of the user’s Facebook account. Must be `,_jsx(_components.strong,{children:`unique`}),`. `]}),_jsx(ParamField,{body:`full_name`,type:`string`,id:`param-full-name`,children:` User’s full name. `}),_jsx(ParamField,{body:`phone`,type:`string`,id:`param-phone`,children:` User’s phone. `}),_jsx(ParamField,{body:`website`,type:`string`,id:`param-website`,children:` User’s website. `}),_jsx(ParamField,{body:`custom_data`,type:`string`,id:`param-custom-data`,children:` User’s additional info. `}),_jsx(ParamField,{body:`tag_list`,type:`string`,id:`param-tag-list`,children:` User tags. `}),_jsxs(ParamField,{body:`allow_sales_activities`,type:`boolean`,deprecated:true,id:`param-allow-sales-activities`,children:[` `,_jsx(_components.del,{children:`Marketing info.`}),` `]}),_jsxs(ParamField,{body:`allow_statistics_analysis`,type:`boolean`,deprecated:true,id:`param-allow-statistics-analysis`,children:[` `,_jsx(_components.del,{children:`Marketing info.`}),` `]}),_jsxs(ParamField,{body:`age_over16`,type:`boolean`,deprecated:true,id:`param-age-over16`,children:[` `,_jsx(_components.del,{children:`GDPR info.`}),` `]}),_jsxs(ParamField,{body:`parents_contacts`,type:`string`,deprecated:true,id:`param-parents-contacts`,children:[` `,_jsx(_components.del,{children:`GDPR info.`})]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`headers`,children:`Headers`}),`\n`,_jsxs(ParamField,{header:`QB-Token`,type:`string`,required:true,id:`param-qb-token`,children:[` A user or application session token. See `,_jsx(_components.a,{href:`/reference/authentication`,children:`Authentication`}),` page to learn more about session tokens. Must be used either QB-Token or Authorization. `]}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,default:`ApiKey {your_api_key}`,id:`param-authorization`,children:[` API key from Dashboard. Expected format: `,_jsx(_components.code,{children:`ApiKey {your_api_key}`}),`. Must be used either QB-Token or Authorization.`]}),`\n`,_jsx(Heading,{level:`4`,id:`responses`,children:`Responses`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`201`,id:`201`,children:[_jsx(_components.p,{children:`A successful response`}),_jsx(ResponseField,{name:`user`,type:`object`,id:`param-user-1`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,id:`param-id`}),_jsx(ResponseField,{name:`full_name`,type:`string`,id:`param-full-name-1`}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`}),_jsx(ResponseField,{name:`login`,type:`string`,id:`param-login-1`}),_jsx(ResponseField,{name:`phone`,type:`string`,id:`param-phone-1`}),_jsx(ResponseField,{name:`website`,type:`string`,id:`param-website-1`}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`}),_jsx(ResponseField,{name:`updated_at`,type:`string`,id:`param-updated-at`}),_jsx(ResponseField,{name:`last_request_at`,type:`string`,id:`param-last-request-at`}),_jsx(ResponseField,{name:`external_user_id`,type:`integer`,id:`param-external-user-id-1`}),_jsx(ResponseField,{name:`facebook_id`,type:`string`,id:`param-facebook-id-1`}),_jsx(ResponseField,{name:`blob_id`,type:`string`,id:`param-blob-id-1`}),_jsx(ResponseField,{name:`custom_data`,type:`string`,id:`param-custom-data-1`}),_jsx(ResponseField,{name:`age_over16`,type:`boolean`,id:`param-age-over16-1`}),_jsx(ResponseField,{name:`allow_statistics_analysis`,type:`boolean`,id:`param-allow-statistics-analysis-1`}),_jsx(ResponseField,{name:`allow_sales_activities`,type:`boolean`,id:`param-allow-sales-activities-1`}),_jsx(ResponseField,{name:`parents_contacts`,type:`string`,id:`param-parents-contacts-1`}),_jsx(ResponseField,{name:`user_tags`,type:`string`,id:`param-user-tags`})]})})]}),_jsxs(Accordion,{title:`400`,id:`400`,children:[_jsx(_components.p,{children:`An error response`}),_jsx(ResponseField,{name:`code`,type:`string`,id:`param-code`}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`})]}),_jsxs(Accordion,{title:`422`,id:`422`,children:[_jsx(_components.p,{children:`An error response`}),_jsx(ResponseField,{name:`errors`,type:`object`,id:`param-errors`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`full_name`,type:`array of strings`,id:`param-full-name-2`,children:` Errors related to full name `}),_jsx(ResponseField,{name:`email`,type:`array of strings`,id:`param-email-2`,children:` Errors related to email `}),_jsx(ResponseField,{name:`login`,type:`array of strings`,id:`param-login-2`,children:` Errors related to login `}),_jsx(ResponseField,{name:`password`,type:`array of strings`,id:`param-password-1`,children:` Errors related to password `}),_jsx(ResponseField,{name:`facebook_id`,type:`array of strings`,id:`param-facebook-id-2`,children:` Errors related to Facebook ID `}),_jsx(ResponseField,{name:`external_user_id`,type:`array of strings`,id:`param-external-user-id-2`,children:` Errors related to external user ID `}),_jsx(ResponseField,{name:`phone`,type:`array of strings`,id:`param-phone-2`,children:` Errors related to phone number `})]})})]})]})]})}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 User","api":"POST https://api.quickblox.com/users.json","contentType":"application/json","description":"Creates a new user.","playground":"simple","href":"/reference/create-user"}}},"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`,del:`del`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Expandable,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField,Step,Steps,Tooltip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`4`,id:`recipes`,children:`Recipes`}),`\n`,_jsx(AccordionGroup,{children:_jsx(Accordion,{title:`Create user with API key`,id:`create-user-with-api-key`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`1. Use 'Authorization' header to pass API key`,children:_jsx(CodeBlock,{filename:``,highlight:`[3]`,numberOfLines:`12`,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:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:`-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-d '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"user\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"login\": \"johndoe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"password\":\"quickblox\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"full_name\": \"John Doe\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.quickblox.com/users.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Step,{title:_jsxs(_Fragment,{children:[`2. Use a `,_jsx(_components.code,{children:`user`}),` parameter to create a new user`]}),children:_jsx(CodeBlock,{filename:``,highlight:`[5]`,numberOfLines:`12`,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:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-d '{`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:` \"user\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"login\": \"johndoe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"password\":\"quickblox\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"full_name\": \"John Doe\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.quickblox.com/users.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Step,{title:`3. Set values for the fields`,children:_jsx(CodeBlock,{filename:``,highlight:`[6,7,8]`,numberOfLines:`12`,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:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-d '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"user\": {`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:` \"login\": \"johndoe\",`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:` \"password\":\"quickblox\",`})}),`\n`,_jsx(_components.span,{className:`line line-highlight`,children:_jsx(_components.span,{children:` \"full_name\": \"John Doe\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.quickblox.com/users.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Step,{title:`4. As a result, the API returns a created user`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`12`,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:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Content-Type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-H 'Authorization: ApiKey 28irlNAGasWDSupO9Vw0BBMZfuHrAUYKpmroS9yBORI' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`-d '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"user\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"login\": \"johndoe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"password\":\"quickblox\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"full_name\": \"John Doe\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.quickblox.com/users.json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]})})}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Trailing whitespaces in string data (except for the password) will be trimmed.`})}),`\n`,_jsx(_components.p,{children:`The request can contain all, some or none of the optional parameters. Login, email, Facebook ID, and the external user ID should not be taken previously.`}),`\n`,_jsxs(_components.p,{children:[`If you want to create a user with some content (for example, with an avatar) you have to create a blob first. The blob is the entity that is a file in a system. To learn how to create a blob, review `,_jsx(_components.a,{href:`/reference/create-file`,children:`this section`}),`.`]}),`\n`,_jsx(_components.p,{children:`You can assign tags to the user. The same tags can be used for any number of users.`}),`\n`,_jsx(Heading,{level:`4`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsx(ParamField,{body:`user`,type:`object`,required:true,id:`param-user`,children:_jsxs(Expandable,{title:`properties`,children:[_jsxs(ParamField,{body:`login`,type:`string`,required:true,id:`param-login`,children:[` User login. Must be `,_jsx(_components.strong,{children:`unique`}),`. Only `,_jsx(_components.strong,{children:`one`}),` required: `,_jsx(_components.code,{children:`login`}),` or `,_jsx(_components.code,{children:`email`}),`. `]}),_jsxs(ParamField,{body:`email`,type:`string`,required:true,id:`param-email`,children:[` User e-mail. Must be `,_jsx(_components.strong,{children:`unique`}),`. Only `,_jsx(_components.strong,{children:`one`}),` required: `,_jsx(_components.code,{children:`login`}),` or `,_jsx(_components.code,{children:`email`}),`. `]}),_jsx(ParamField,{body:`password`,type:`string`,required:true,id:`param-password`,children:` User password. `}),_jsx(ParamField,{body:`blob_id`,type:`integer`,id:`param-blob-id`,children:` ID of the file/blob. Generated automatically by the server after file/blob creation (for example, user photo). `}),_jsxs(ParamField,{body:`external_user_id`,type:`integer`,id:`param-external-user-id`,children:[` ID of the user in the external system (`,_jsx(Tooltip,{tip:`External User ID- a unique identifier of the user in the integrated external system; used for cross- referencing. For example, a user has an internal user ID within the QuickBlox system and external ID, provided by the integrated external (client) system. When an API call with reference to the user has to be submitted, the user can be referenced by either internal or external identifiers.`,children:`External User ID`}),`.). Must be `,_jsx(_components.strong,{children:`unique`}),`. `]}),_jsxs(ParamField,{body:`facebook_id`,type:`string`,id:`param-facebook-id`,children:[` ID of the user’s Facebook account. Must be `,_jsx(_components.strong,{children:`unique`}),`. `]}),_jsx(ParamField,{body:`full_name`,type:`string`,id:`param-full-name`,children:` User’s full name. `}),_jsx(ParamField,{body:`phone`,type:`string`,id:`param-phone`,children:` User’s phone. `}),_jsx(ParamField,{body:`website`,type:`string`,id:`param-website`,children:` User’s website. `}),_jsx(ParamField,{body:`custom_data`,type:`string`,id:`param-custom-data`,children:` User’s additional info. `}),_jsx(ParamField,{body:`tag_list`,type:`string`,id:`param-tag-list`,children:` User tags. `}),_jsxs(ParamField,{body:`allow_sales_activities`,type:`boolean`,deprecated:true,id:`param-allow-sales-activities`,children:[` `,_jsx(_components.del,{children:`Marketing info.`}),` `]}),_jsxs(ParamField,{body:`allow_statistics_analysis`,type:`boolean`,deprecated:true,id:`param-allow-statistics-analysis`,children:[` `,_jsx(_components.del,{children:`Marketing info.`}),` `]}),_jsxs(ParamField,{body:`age_over16`,type:`boolean`,deprecated:true,id:`param-age-over16`,children:[` `,_jsx(_components.del,{children:`GDPR info.`}),` `]}),_jsxs(ParamField,{body:`parents_contacts`,type:`string`,deprecated:true,id:`param-parents-contacts`,children:[` `,_jsx(_components.del,{children:`GDPR info.`})]})]})}),`\n`,_jsx(Heading,{level:`4`,id:`headers`,children:`Headers`}),`\n`,_jsxs(ParamField,{header:`QB-Token`,type:`string`,required:true,id:`param-qb-token`,children:[` A user or application session token. See `,_jsx(_components.a,{href:`/reference/authentication`,children:`Authentication`}),` page to learn more about session tokens. Must be used either QB-Token or Authorization. `]}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,default:`ApiKey {your_api_key}`,id:`param-authorization`,children:[` API key from Dashboard. Expected format: `,_jsx(_components.code,{children:`ApiKey {your_api_key}`}),`. Must be used either QB-Token or Authorization.`]}),`\n`,_jsx(Heading,{level:`4`,id:`responses`,children:`Responses`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`201`,id:`201`,children:[_jsx(_components.p,{children:`A successful response`}),_jsx(ResponseField,{name:`user`,type:`object`,id:`param-user-1`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`id`,type:`integer`,id:`param-id`}),_jsx(ResponseField,{name:`full_name`,type:`string`,id:`param-full-name-1`}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`}),_jsx(ResponseField,{name:`login`,type:`string`,id:`param-login-1`}),_jsx(ResponseField,{name:`phone`,type:`string`,id:`param-phone-1`}),_jsx(ResponseField,{name:`website`,type:`string`,id:`param-website-1`}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`}),_jsx(ResponseField,{name:`updated_at`,type:`string`,id:`param-updated-at`}),_jsx(ResponseField,{name:`last_request_at`,type:`string`,id:`param-last-request-at`}),_jsx(ResponseField,{name:`external_user_id`,type:`integer`,id:`param-external-user-id-1`}),_jsx(ResponseField,{name:`facebook_id`,type:`string`,id:`param-facebook-id-1`}),_jsx(ResponseField,{name:`blob_id`,type:`string`,id:`param-blob-id-1`}),_jsx(ResponseField,{name:`custom_data`,type:`string`,id:`param-custom-data-1`}),_jsx(ResponseField,{name:`age_over16`,type:`boolean`,id:`param-age-over16-1`}),_jsx(ResponseField,{name:`allow_statistics_analysis`,type:`boolean`,id:`param-allow-statistics-analysis-1`}),_jsx(ResponseField,{name:`allow_sales_activities`,type:`boolean`,id:`param-allow-sales-activities-1`}),_jsx(ResponseField,{name:`parents_contacts`,type:`string`,id:`param-parents-contacts-1`}),_jsx(ResponseField,{name:`user_tags`,type:`string`,id:`param-user-tags`})]})})]}),_jsxs(Accordion,{title:`400`,id:`400`,children:[_jsx(_components.p,{children:`An error response`}),_jsx(ResponseField,{name:`code`,type:`string`,id:`param-code`}),_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`})]}),_jsxs(Accordion,{title:`422`,id:`422`,children:[_jsx(_components.p,{children:`An error response`}),_jsx(ResponseField,{name:`errors`,type:`object`,id:`param-errors`,children:_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`full_name`,type:`array of strings`,id:`param-full-name-2`,children:` Errors related to full name `}),_jsx(ResponseField,{name:`email`,type:`array of strings`,id:`param-email-2`,children:` Errors related to email `}),_jsx(ResponseField,{name:`login`,type:`array of strings`,id:`param-login-2`,children:` Errors related to login `}),_jsx(ResponseField,{name:`password`,type:`array of strings`,id:`param-password-1`,children:` Errors related to password `}),_jsx(ResponseField,{name:`facebook_id`,type:`array of strings`,id:`param-facebook-id-2`,children:` Errors related to Facebook ID `}),_jsx(ResponseField,{name:`external_user_id`,type:`array of strings`,id:`param-external-user-id-2`,children:` Errors related to external user ID `}),_jsx(ResponseField,{name:`phone`,type:`array of strings`,id:`param-phone-2`,children:` Errors related to phone number `})]})})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`18`,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:`18`,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:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`-H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"QB-Token: cf5709d6013fdb7a6787fbeb8340afed8aec4c69\"`}),_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:`-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:` \"user\":{ `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"login\":\"Peter\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"password\":\"!Peter009\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\":\"peter@gmail.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"external_user_id\":1236672,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"facebook_id\":\"8887366\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"full_name\":\"Peter Smith\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"phone\":\"+73123555\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"website\":\"https://mysite.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tag_list\":\"marketing,seo\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"custom_data\":\"lead of marketing team\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`https://api.quickblox.com/users.json`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201`,numberOfLines:`22`,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:`22`,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:` \"user\"`}),_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:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`96752798`}),_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:` \"full_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Peter Smith\"`}),_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:`\"peter@gmail.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:` \"login\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Peter\"`}),_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:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"+73123555\"`}),_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:` \"website\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://mysite.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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2019-08-27T20:19:08Z\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2019-08-27T20:19:08Z\"`}),_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_request_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"external_user_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1236672`}),_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:` \"facebook_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8887366\"`}),_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:` \"blob_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"custom_data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lead of marketing team\"`}),_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:` \"age_over16\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"allow_statistics_analysis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"allow_sales_activities\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"parents_contacts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},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:` \"user_tags\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"marketing,seo\"`})]}),`\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`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`4`,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:`4`,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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:`\"No data was provided\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`422`,numberOfLines:`26`,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:`26`,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:` \"errors\"`}),_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:` \"full_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is invalid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is too long (maximum is 200 characters)\"`})}),`\n`,_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:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"should look like an email address\"`})}),`\n`,_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:` \"login\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"has already been taken\"`})}),`\n`,_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:` \"password\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is too short (minimum is 8 characters)\"`})}),`\n`,_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:` \"facebook_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"should be hexadecimal or decimal number\"`})}),`\n`,_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:` \"external_user_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"must be less than 4 bytes\"`})}),`\n`,_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:` \"phone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is not a number\"`})}),`\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`,_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":"Create User","api":"POST https://api.quickblox.com/users.json","contentType":"application/json","description":"Creates a new user.","playground":"simple","href":"/reference/create-user"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Recipes","slug":"recipes","depth":4,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":4,"children":[]},{"title":"Headers","slug":"headers","depth":4,"children":[]},{"title":"Responses","slug":"responses","depth":4,"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=\"18\">\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:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-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:#1F2328;--shiki-dark:#D4D4D4\">-H \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"QB-Token: cf5709d6013fdb7a6787fbeb8340afed8aec4c69\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">-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\"> \"user\":{ \u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"login\":\"Peter\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"password\":\"!Peter009\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"email\":\"peter@gmail.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"external_user_id\":1236672,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"facebook_id\":\"8887366\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"full_name\":\"Peter Smith\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"phone\":\"+73123555\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"website\":\"https://mysite.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"tag_list\":\"marketing,seo\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"custom_data\":\"lead of marketing team\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">https://api.quickblox.com/users.json\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"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=\"22\">\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\"> \"user\"\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:#0550AE;--shiki-dark:#B5CEA8\">96752798\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"full_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Peter Smith\"\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\">\"peter@gmail.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\"> \"login\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Peter\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"phone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"+73123555\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"website\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://mysite.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\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2019-08-27T20:19:08Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2019-08-27T20:19:08Z\"\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_request_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"external_user_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1236672\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"facebook_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8887366\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"blob_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"custom_data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"lead of marketing team\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"age_over16\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"allow_statistics_analysis\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"allow_sales_activities\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"parents_contacts\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\"\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_tags\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"marketing,seo\"\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>"},{"filename":"400","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=\"4\">\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\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\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\">\"No data was provided\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"422","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=\"26\">\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\"> \"errors\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"full_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"is invalid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"is too long (maximum is 200 characters)\"\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:#116329;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"should look like an email address\"\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:#116329;--shiki-dark:#9CDCFE\"> \"login\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"has already been taken\"\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:#116329;--shiki-dark:#9CDCFE\"> \"password\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"is too short (minimum is 8 characters)\"\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:#116329;--shiki-dark:#9CDCFE\"> \"facebook_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"should be hexadecimal or decimal number\"\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:#116329;--shiki-dark:#9CDCFE\"> \"external_user_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"must be less than 4 bytes\"\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:#116329;--shiki-dark:#9CDCFE\"> \"phone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"is not a number\"\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\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create User","path":"/users.json","servers":[{"url":"https://api.quickblox.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"QB-Token":{"schema":[{"type":"string","description":"A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.","required":true}]},"Authorization":{"schema":[{"type":"string","description":"API key from Dashboard. Expected format: `ApiKey {your_api_key}` . Must be used either QB-Token or Authorization.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"user":[{"type":"object","properties":{"login":[{"type":"string","description":"User login. Must be unique . Only one required: `login` or `email` .","required":true}],"email":[{"type":"string","description":"User e-mail. Must be unique . Only one required: `login` or `email` .","required":true}],"password":[{"type":"string","description":"User password.","required":true}],"blob_id":[{"type":"integer","description":"ID of the file/blob. Generated automatically by the server after file/blob creation (for example, user photo)."}],"external_user_id":[{"type":"integer","description":"ID of the user in the external system ( .). Must be unique ."}],"facebook_id":[{"type":"string","description":"ID of the user’s Facebook account. Must be unique ."}],"full_name":[{"type":"string","description":"User’s full name."}],"phone":[{"type":"string","description":"User’s phone."}],"website":[{"type":"string","description":"User’s website."}],"custom_data":[{"type":"string","description":"User’s additional info."}],"tag_list":[{"type":"string","description":"User tags."}],"allow_sales_activities":[{"type":"boolean","description":"Marketing info.","deprecated":true}],"allow_statistics_analysis":[{"type":"boolean","description":"Marketing info.","deprecated":true}],"age_over16":[{"type":"boolean","description":"GDPR info.","deprecated":true}],"parents_contacts":[{"type":"string","description":"GDPR info.","deprecated":true}]},"required":true}]}}],"examples":{"example":{"value":{"user":{"login":"\u003cstring>","email":"\u003cstring>","password":"\u003cstring>","blob_id":123,"external_user_id":123,"facebook_id":"\u003cstring>","full_name":"\u003cstring>","phone":"\u003cstring>","website":"\u003cstring>","custom_data":"\u003cstring>","tag_list":"\u003cstring>","allow_sales_activities":true,"allow_statistics_analysis":true,"age_over16":true,"parents_contacts":"\u003cstring>"}}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"quickblox","siteName":"QuickBlox","title":"Create User - QuickBlox","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-10-09T15:39:36.013Z","originalFileLocation":"reference/create-user.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=\"Creates a new user.\">\u003cmeta data-mint-head name=\"application-name\" content=\"QuickBlox\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/quickblox/xsijdUMkGjrzOYFW/_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/quickblox/xsijdUMkGjrzOYFW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/quickblox/xsijdUMkGjrzOYFW/_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/quickblox/xsijdUMkGjrzOYFW/_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/quickblox/xsijdUMkGjrzOYFW/_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/quickblox/xsijdUMkGjrzOYFW/_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/quickblox/xsijdUMkGjrzOYFW/_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/quickblox/xsijdUMkGjrzOYFW/_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/quickblox/xsijdUMkGjrzOYFW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create User - QuickBlox\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new user.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"QuickBlox\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.quickblox.com/reference/create-user\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://quickblox.mintlify.site/_mintlify/api/og/v2?division=Users\u0026amp;title=Create+User\u0026amp;description=Creates+a+new+user.\u0026amp;theme=984ccd188456a4525871d10f\u0026amp;signature=2983200d1868f019c11b4cb9c03dd4c5b8e06be8ac42bd6137e6d16bb7db1a93\">\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 User - QuickBlox\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new user.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://quickblox.mintlify.site/_mintlify/api/og/v2?division=Users\u0026amp;title=Create+User\u0026amp;description=Creates+a+new+user.\u0026amp;theme=984ccd188456a4525871d10f\u0026amp;signature=2983200d1868f019c11b4cb9c03dd4c5b8e06be8ac42bd6137e6d16bb7db1a93\">\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/quickblox/xsijdUMkGjrzOYFW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"QuickBlox\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3978fc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.quickblox.com/reference/create-user\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/create-user.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.quickblox.com/#organization\",\"name\":\"QuickBlox\",\"url\":\"https://docs.quickblox.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/quickblox/ZK0J4-dDJuuhpUQu/logo/light.svg?fit=max\u0026auto=format\u0026n=ZK0J4-dDJuuhpUQu\u0026q=85\u0026s=2ca77d61090cf3e9a7512358a3ad30b1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.quickblox.com#website\",\"name\":\"QuickBlox\",\"url\":\"https://docs.quickblox.com\",\"publisher\":{\"@id\":\"https://docs.quickblox.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.quickblox.com/reference/create-user#webpage\",\"url\":\"https://docs.quickblox.com/reference/create-user\",\"name\":\"Create User\",\"description\":\"Creates a new user.\",\"dateModified\":\"2025-10-09T15:39:36.013Z\",\"isPartOf\":{\"@id\":\"https://docs.quickblox.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.quickblox.com/reference/create-user#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.quickblox.com/reference/create-user#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://docs.quickblox.com/reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Users\",\"item\":\"https://docs.quickblox.com/reference/users\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create User\",\"item\":\"https://docs.quickblox.com/reference/create-user\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.quickblox.com/reference/create-user#apireference\",\"headline\":\"Create User\",\"name\":\"Create User\",\"description\":\"Creates a new user.\",\"url\":\"https://docs.quickblox.com/reference/create-user\",\"mainEntityOfPage\":{\"@id\":\"https://docs.quickblox.com/reference/create-user#webpage\"},\"dateModified\":\"2025-10-09T15:39:36.013Z\",\"publisher\":{\"@id\":\"https://docs.quickblox.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.quickblox.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"QuickBlox\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"QuickBlox\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/create-user.md","siteName":"QuickBlox","nav":{"global":{"anchors":[{"anchor":"SDK Downloads","icon":"webhook","href":"https://github.com/QuickBlox"},{"anchor":"Community","icon":"discord","href":"https://discord.com/invite/ZWZ3WpYZ9q"},{"anchor":"Blog","icon":"newspaper","href":"https://quickblox.com/blog/"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/quickstart"}]},{"tab":"Server API","groups":[{"group":"REST API","pages":[{"title":"Overview","icon":"circle-info","href":"/reference/overview"},{"title":"Limits","mode":"wide","icon":"traffic-light-stop","href":"/reference/limits"},{"title":"Errors","mode":"wide","icon":"triangle-exclamation","href":"/reference/errors"},{"title":"Get Account Settings","api":"GET https://api.quickblox.com/account_settings.json","playground":"simple","href":"/reference/get-account-settings"},{"group":"Authentication","icon":"lock","pages":[{"title":"Authentication","sidebarTitle":"Overview","icon":"circle-info","href":"/reference/authentication"},{"title":"Session Model","mode":"wide","icon":"key","href":"/reference/session-model"},{"title":"Create Session","api":"POST https://api.quickblox.com/session.json","playground":"simple","href":"/reference/create-session"},{"title":"Get Session","api":"GET https://api.quickblox.com/session.json","playground":"simple","href":"/reference/get-session"},{"title":"Log In","api":"POST https://api.quickblox.com/login.json","playground":"simple","href":"/reference/log-in"},{"title":"Log Out","api":"DELETE https://api.quickblox.com/login.json","playground":"simple","href":"/reference/log-out"},{"title":"Delete Session","api":"DELETE https://api.quickblox.com/session.json","playground":"simple","href":"/reference/delete-session"}]},{"group":"Users","icon":"user","pages":[{"title":"Users","mode":"wide","sidebarTitle":"Overview","icon":"circle-info","href":"/reference/users"},{"title":"User Model","mode":"wide","icon":"user","description":null,"href":"/reference/user-model"},{"title":"Create User","api":"POST https://api.quickblox.com/users.json","playground":"simple","href":"/reference/create-user"},{"title":"Create Token with API key","api":"POST https://api.quickblox.com/users/{user_id}/tokens","description":"Creates user session for a user using an API key","playground":"simple","href":"/reference/create-token-with-api-key"},{"title":"Delete Token with API key","api":"DELETE https://api.quickblox.com/users/{user_id}/tokens/{token}","playground":"simple","href":"/reference/delete-token-with-api-key"},{"title":"Flush Tokens with API key","api":"DELETE https://api.quickblox.com/users/{user_id}/tokens","playground":"simple","href":"/reference/flush-tokens-with-api-key"},{"title":"List Users","api":"GET https://api.quickblox.com/users.json","playground":"simple","href":"/reference/list-users"},{"title":"List Users by Full Name","api":"GET https://api.quickblox.com/users/by_full_name.json","playground":"simple","href":"/reference/list-users-by-full-name"},{"title":"List Users by Tags","api":"GET https://api.quickblox.com/users/by_tags.json","playground":"simple","href":"/reference/list-users-by-tags"},{"title":"Get User by ID","api":"GET https://api.quickblox.com/users/{user_id}.json","playground":"simple","href":"/reference/get-user-by-id"},{"title":"Get User by Login","api":"GET https://api.quickblox.com/users/by_login.json","playground":"simple","href":"/reference/get-user-by-login"},{"title":"Get User by Facebook ID","api":"GET https://api.quickblox.com/users/by_facebook_id.json","playground":"simple","href":"/reference/get-user-by-facebook"},{"title":"Get User by Email","api":"GET https://api.quickblox.com/users/by_email.json","playground":"simple","href":"/reference/get-user-by-email"},{"title":"Get User by External User ID","api":"GET https://api.quickblox.com/users/external/{external_user_id}.json","playground":"simple","href":"/reference/get-user-by-external-user-id"},{"title":"Update User","api":"PUT https://api.quickblox.com/users/{user_id}.json","playground":"simple","href":"/reference/update-user"},{"title":"Delete User by ID","api":"DELETE https://api.quickblox.com/users/{user_id}.json","playground":"simple","href":"/reference/delete-user"},{"title":"Delete User by External ID","api":"DELETE https://api.quickblox.com/users/external/{external_user_id}.json","playground":"simple","href":"/reference/delete-user-by-external-id"},{"title":"Reset User Password","api":"GET https://api.quickblox.com/users/password/reset.json","playground":"simple","href":"/reference/reset-user-password"}]},{"group":"Chat","icon":"messages","pages":[{"title":"Chat","mode":"wide","sidebarTitle":"Overview","icon":"circle-info","href":"/reference/chat"},{"title":"Dialog Model","mode":"wide","icon":"messages","href":"/reference/dialog-model"},{"title":"Create Dialog","api":"POST https://api.quickblox.com/chat/Dialog.json","playground":"simple","href":"/reference/create-dialog"},{"title":"List Dialogs","api":"GET https://api.quickblox.com/chat/Dialog.json","playground":"simple","href":"/reference/list-dialogs"},{"title":"Get Dialog by ID","api":"GET https://api.quickblox.com/chat/Dialog/{chat_dialog_id}.json","playground":"simple","href":"/reference/get-dialog-by-id"},{"title":"Update Dialog","api":"PUT https://api.quickblox.com/chat/Dialog/{chat_dialog_id}.json","playground":"simple","href":"/reference/update-dialog"},{"title":"Delete Dialog","api":"DELETE https://api.quickblox.com/chat/Dialog/{chat_dialog_id},{chat_dialog_id}.json","playground":"simple","href":"/reference/delete-dialog"},{"title":"Get Notification Settings","api":"GET https://api.quickblox.com/chat/Dialog/{chat_dialog_id}/notifications.json","playground":"simple","href":"/reference/get-notification-settings"},{"title":"Update Notification Settings","api":"PUT https://api.quickblox.com/chat/Dialog/{chat_dialog_id}/notifications.json","playground":"simple","href":"/reference/update-notification-settings"},{"title":"Message Model","mode":"wide","icon":"message","href":"/reference/messages"},{"title":"Create Message","api":"POST https://api.quickblox.com/chat/Message.json","playground":"simple","href":"/reference/create-message"},{"title":"List Messages","api":"GET https://api.quickblox.com/chat/Message.json","playground":"simple","href":"/reference/list-messages"},{"title":"Get Message by ID","api":"GET https://api.quickblox.com/chat/Message/{chat_message_id}","playground":"simple","href":"/reference/get-message-by-id"},{"title":"Update Message","api":"PUT https://api.quickblox.com/chat/Message/{chat_message_id}.json","playground":"simple","href":"/reference/update-message"},{"title":"Mark All Messages as Delivered","api":"PATCH https://api.quickblox.com/chat/Message/delivered.json","playground":"simple","href":"/reference/mark-all-messages-as-delivered"},{"title":"Mark All Messages as Read","api":"PATCH https://api.quickblox.com/chat/Message/read.json","playground":"simple","href":"/reference/mark-all-messages-as-read"},{"title":"Delete Message","api":"DELETE https://api.quickblox.com/chat/Message/{chat_message_id},{chat_message_id}.json","playground":"simple","href":"/reference/delete-message"},{"title":"Get Unread Messages Count","api":"GET https://api.quickblox.com/chat/Message/unread.json","playground":"simple","href":"/reference/get-unread-message-count"},{"title":"Reaction Model","mode":"wide","icon":"thumbs-up","href":"/reference/reaction-model"},{"title":"Add Reaction","api":"POST https://api.quickblox.com/chat/Message/{chat_message_id}/reactions","playground":"simple","href":"/reference/add-reaction"},{"title":"List Reactions","api":"GET https://api.quickblox.com/chat/Message/{chat_message_id}/reactions","playground":"simple","href":"/reference/list-reactions"},{"title":"Remove Reaction","api":"DELETE https://api.quickblox.com/chat/Message/{chat_message_id}/reactions","playground":"simple","href":"/reference/remove-reaction"}]},{"group":"Content","icon":"file","pages":[{"title":"Content","mode":"wide","sidebarTitle":"Overview","icon":"circle-info","href":"/reference/content"},{"title":"Blob Model","mode":"wide","icon":"folder-open","href":"/reference/blob-model"},{"title":"Create File","api":"POST https://api.quickblox.com/blobs.json","playground":"simple","href":"/reference/create-file"},{"title":"List Files","api":"GET https://api.quickblox.com/blobs.json","playground":"simple","href":"/reference/list-files"},{"title":"Upload File","api":"POST https://api.quickblox.com/blobs/{blob_id}/upload.json","playground":"simple","href":"/reference/upload-file"},{"title":"Mark File Uploaded","api":"PUT https://api.quickblox.com/blobs/{blob_id}/complete.json","playground":"simple","href":"/reference/mark-file-uploaded"},{"title":"Get File by ID","api":"GET https://api.quickblox.com/blobs/{blob_id}.json","playground":"simple","href":"/reference/get-file-by-id"},{"title":"Download File by UID","api":"GET https://api.quickblox.com/blobs/{blob_uid}/download.json","playground":"simple","href":"/reference/download-file-by-uid"},{"title":"Update File","api":"PUT https://api.quickblox.com/blobs/{blob_id}.json","playground":"simple","href":"/reference/update-file"},{"title":"Delete File","api":"DELETE https://api.quickblox.com/blobs/{blob_id}.json","playground":"simple","href":"/reference/delete-file"}]},{"group":"Push Notifications","icon":"bell","pages":[{"title":"Push Notifications","mode":"wide","sidebarTitle":"Overview","icon":"circle-info","href":"/reference/push-notifications"},{"title":"Subscription Model","mode":"wide","icon":"recycle","href":"/reference/subscription-model"},{"title":"Create Subscription","api":"POST https://api.quickblox.com/subscriptions.json","playground":"simple","href":"/reference/create-subscription"},{"title":"List Subscriptions","api":"GET https://api.quickblox.com/subscriptions.json","playground":"simple","href":"/reference/list-subscriptions"},{"title":"Delete Subscription","api":"DELETE https://api.quickblox.com/subscriptions/{subscription_id}.json","playground":"simple","href":"/reference/delete-subscription"},{"title":"Event Model","mode":"wide","icon":"calendar-days","href":"/reference/events"},{"title":"Create Event","api":"POST https://api.quickblox.com/events.json","playground":"simple","href":"/reference/create-event"},{"title":"List Events","api":"GET https://api.quickblox.com/events.json","playground":"simple","href":"/reference/list-events"},{"title":"Get Event by ID","api":"GET https://api.quickblox.com/events/{event_id}.json","playground":"simple","href":"/reference/get-event-by-id"},{"title":"Update Event","api":"PUT https://api.quickblox.com/events/{event_id}.json","playground":"simple","href":"/reference/update-event"},{"title":"Delete Event","api":"DELETE https://api.quickblox.com/events/{event_id}.json","playground":"simple","href":"/reference/delete-event"},{"title":"Push Notification Formats","icon":"bell","href":"/reference/push-notification-formats"}]},{"group":"Custom Objects","icon":"database","pages":[{"title":"Custom Objects","mode":"wide","sidebarTitle":"Overview","icon":"circle-info","href":"/reference/custom-objects"},{"title":"Dashboard","mode":"wide","icon":"gauge","href":"/reference/dashboard"},{"title":"Relations","mode":"wide","icon":"heart","href":"/reference/relations"},{"title":"Permissions","icon":"triangle-instrument","href":"/reference/permissions"},{"title":"Class Model","mode":"wide","icon":"rectangle-code","href":"/reference/class-model"},{"title":"Create Class","api":"POST https://api.quickblox.com/class.json","playground":"simple","href":"/reference/create-class"},{"title":"Record Model","mode":"wide","icon":"rectangle-code","href":"/reference/record-model"},{"title":"Create Record","api":"POST https://api.quickblox.com/data/{class_name}.json","playground":"simple","href":"/reference/create-record"},{"title":"Create Child Record","api":"POST https://api.quickblox.com/data/{class_name}/{parent_id}/{child_name}","playground":"simple","href":"/reference/create-child-record"},{"title":"Create Multi Records","api":"POST https://api.quickblox.com/data/{class_name}/multi.json","playground":"simple","href":"/reference/create-multi-records"},{"title":"List Records","api":"GET https://api.quickblox.com/data/{class_name}.json","playground":"simple","href":"/reference/list-records"},{"title":"List Records by IDs","api":"GET https://api.quickblox.com/data/{class_name}/{custom_object_record_id},{custom_object_record_id}.json","playground":"simple","href":"/reference/list-records-by-ids"},{"title":"Update Record","api":"PUT https://api.quickblox.com/data/{class_name}/{custom_object_record_id}.json","playground":"simple","href":"/reference/update-record"},{"title":"Update Records by Criteria","api":"PUT https://api.quickblox.com/data/{class_name}/by_criteria.json","playground":"simple","href":"/reference/update-records-by-criteria"},{"title":"Update Multi Records","api":"PUT https://api.quickblox.com/data/{class_name}/multi.json","playground":"simple","href":"/reference/update-multi-records"},{"title":"Delete Records","api":"DELETE https://api.quickblox.com/data/{class_name}/{custom_object_record_id},{custom_object_record_id}.json","playground":"simple","href":"/reference/delete-records"},{"title":"Delete Records by Criteria","api":"DELETE https://api.quickblox.com/data/{class_name}/by_criteria.json","playground":"simple","href":"/reference/delete-records-by-criteria"},{"title":"File Model","mode":"wide","icon":"file-code","href":"/reference/file-model"},{"title":"Upload/Update File","api":"POST https://api.quickblox.com/data/{class_name}/{custom_object_record_id}/file.json","playground":"simple","href":"/reference/upload-update-file"},{"title":"Download File","api":"GET https://api.quickblox.com/data/{class_name}/{custom_object_record_id}/file.json","playground":"simple","href":"/reference/download-file"},{"title":"Delete File","api":"DELETE https://api.quickblox.com/data/{class_name}/{custom_object_record_id}/file.json","playground":"simple","href":"/reference/custom-objects-delete-file"},{"title":"Tips and Tricks","icon":"lightbulb","href":"/reference/tips-and-tricks"}]},{"group":"Address Book","icon":"address-book","pages":[{"title":"Address Book","sidebarTitle":"Overview","mode":"wide","icon":"circle-info","href":"/reference/address-book"},{"title":"Contact Model","mode":"wide","icon":"address-book","href":"/reference/contact-model"},{"title":"Upload Address Book","api":"POST https://api.quickblox.com/address_book.json","playground":"simple","href":"/reference/upload-address-book"},{"title":"Get Address Book","api":"GET https://api.quickblox.com/address_book.json","playground":"simple","href":"/reference/get-address-book"},{"title":"List Registered Users","api":"GET https://api.quickblox.com/address_book/registered_users.json","playground":"simple","href":"/reference/get-registered-contacts-users"}]},{"group":"AI","icon":"microchip-ai","pages":[{"title":"AI","mode":"wide","sidebarTitle":"Overview","icon":"circle-info","href":"/reference/ai"},{"title":"AI Answer Assist","api":"POST https://api.quickblox.com/ai/ai_extensions/ai_answer_assist","playground":"simple","href":"/reference/ai-extensions-ai-answer-assist"},{"title":"AI Translate","api":"POST https://api.quickblox.com/ai/ai_extensions/ai_translate","playground":"simple","href":"/reference/ai-extensions-ai-translate"},{"title":"AI Summarize","api":"POST https://api.quickblox.com/ai/ai_extensions/ai_summarize","playground":"simple","href":"/reference/ai-extensions-ai-summarize"},{"title":"HIPAA AI Gateway","api":"POST https://api.quickblox.com/ai/ai_extensions/ai_gateway","playground":"simple","href":"/reference/ai-extensions-ai-gateway"}]}]}]},{"tab":"UIKits","pages":[{"title":"UIKits","href":"/ui-kits/overview"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/sdk-overview"}]},{"tab":"Code Samples","pages":[{"title":"Code Samples","href":"/code-samples/overview"}]},{"tab":"AI Agent","pages":[{"title":"AI Agent","href":"/ai-agent/overview"}]}]},"basePath":"","title":"Create User - QuickBlox","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js"]}