{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nudj Platform Documentation","colors":{"primary":"#8082A6","light":"#AFA9D9","dark":"#BDB7E4"},"logo":{"light":"https://mintcdn.com/nudj/Fh-MK3NeO4rWK1Z6/logo/nudj-logo.png?fit=max\u0026auto=format\u0026n=Fh-MK3NeO4rWK1Z6\u0026q=85\u0026s=7340cd62c3a41730e5ce025fd75c842b","dark":"https://mintcdn.com/nudj/Fh-MK3NeO4rWK1Z6/logo/nudj-dark-logo.png?fit=max\u0026auto=format\u0026n=Fh-MK3NeO4rWK1Z6\u0026q=85\u0026s=8cabc0966dfccab00fad982bcf3b465f"},"favicon":"https://mintcdn.com/nudj/Fh-MK3NeO4rWK1Z6/favicon.ico?fit=max\u0026auto=format\u0026n=Fh-MK3NeO4rWK1Z6\u0026q=85\u0026s=7426330b653f33c458339d01295a6965","api":{"playground":{"display":"interactive"}},"appearance":{"default":"light"},"background":{"color":{"light":"#F5F3FB","dark":"#0F1119"}},"navbar":{"links":[{"href":"mailto:support@nudj.cx","label":"Support"}],"primary":{"type":"button","label":"Get API Tokens","href":"https://admin.nudj.cx/admin/settings/organisation?tab=developer"}},"footer":{"socials":{"x":"https://x.com/nudj","github":"https://github.com/nudj-digital","linkedin":"https://www.linkedin.com/company/nudj"}},"fonts":{"heading":{"family":"Playfair Display","weight":700},"body":{"family":"Outfit","weight":400}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nudj","hasAudioNarration":false,"actualSubdomain":"nudj","customDomains":["docs.nudj.cx"],"gitSource":{"type":"github","owner":"nudj-digital","repo":"monorepo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae2174a83326b7b15ea3131","collectionId":"0f9591e5-8c10-41aa-a451-0a3b520f8055","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae2174a83326b7b15ea3131"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae2174a83326b7b15ea3131","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Admin API","count":235},{"language":"default","tag":"Control Room","count":93},{"language":"default","tag":"Integration API","count":87},{"language":"default","tag":"Analytics API","count":54},{"language":"default","tag":"User Guide","count":41},{"language":"default","tag":"Ways to Engage","count":39},{"language":"default","tag":"Challenges","count":39},{"language":"default","tag":"Rewards","count":30},{"language":"default","tag":"Organization Settings","count":26},{"language":"default","tag":"Developer","count":25}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#content-area a.link{color:#5f6193;text-decoration-color:#5f6193}#content-area a.link:focus-visible,#content-area a.link:hover{color:#4a4c79;text-decoration-color:#4a4c79}.dark #content-area a.link{color:#bdb7e4;text-decoration-color:#bdb7e4}.dark #content-area a.link:focus-visible,.dark #content-area a.link:hover{color:#d4cfee;text-decoration-color:#d4cfee}"}],"page":{"pagePath":"api-reference/integration/post-variables-variableId","slug":"/api-reference/integration/post-variables-variableId","pageMetadata":{"title":"Create or update a variable value","openapi":"openapi/integration.json POST /variables/{variableId}","description":"Creates a new variable value or updates an existing one if it already exists for the given variable.","href":"/api-reference/integration/post-variables-variableId"},"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 variable value or updates an existing one if it already exists for the given variable.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create or update a variable value","openapi":"openapi/integration.json POST /variables/{variableId}","description":"Creates a new variable value or updates an existing one if it already exists for the given variable.","href":"/api-reference/integration/post-variables-variableId"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/nudj/a4881203b9b8dc75/generate-api-docs.js","/_mintlify/custom/nudj/90666c9eadd6f6ca/update-navigation.js","/_mintlify/custom/nudj/cb82a77682afa872/fetch-openapi.js","/_mintlify/custom/nudj/17b922120d4f8afe/fix-navigation.js","/_mintlify/custom/nudj/e3afd7dfb92e6b1b/normalize-openapi.js","/_mintlify/custom/nudj/3e9096727cf1ed8d/restore-general-docs.js","/_mintlify/custom/nudj/05ef9ce7c833cf9b/scripts/generate-all-releases.js","/_mintlify/custom/nudj/e04dda1835326c9c/scripts/sync-highlights-nav.js","/_mintlify/custom/nudj/0a7a1d9fd5d964ad/scripts/sync-releases-nav.js"],"openApiReferenceData":{"operation":{"operationId":"upsertVariableValue","summary":"Create or update a variable value","description":"Creates a new variable value or updates an existing one if it already exists for the given variable.","tags":["Variables"],"parameters":["af06310b-c2bc-4db6-a21b-268c584b11e7"],"requestBody":"7bfc35dd-ed7d-48d0-b099-70bd7bb023fb","responses":{"200":"ed528b30-2ed3-440e-9599-0542ce9f039b","400":"c9ed1a6a-e48d-4683-8dcb-afee843bb647","500":"fa7cddfe-f76a-455a-8c2f-1ad9e50c45ab"},"method":"post","type":"path","servers":["4995f776-f6d8-460d-96ea-10f01fd25717"],"security":["29d94abe-b3e9-4e71-be17-43970c97b502"],"path":"/variables/{variableId}","baseUrlOptions":["https://{subdomain}.nudj.cx/api/v2/integration"],"title":"Create or update a variable value","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"af06310b-c2bc-4db6-a21b-268c584b11e7":{"in":"path","name":"variableId","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"value":{"type":"string","isRequired":true,"uniqueKey":"value","typeLabel":"string"},"eventName":{"type":"string","enum":["achievement-completion","facebook-comment","facebook-follow","facebook-like","image-analysis-object-detection","image-analysis-receipt-detection","instagram-follow","instagram-like","instagram-comment","instagram-share","instagram-post","interaction-engage-with-content","interaction-external-link","interaction-image-upload","interaction-spot-object","platform-comment-on-post","platform-complete-achievement","platform-generative-action","platform-like-post","platform-play-game","platform-validate-event","question-multiple-choice","question-open-ended","question-rate-your-experience","question-secret-access-code","question-select-date","question-select-from-images","question-select-value-in-range","question-select-from-list","question-closed-ended","question-vote","spotify-follow","spotify-listen","spotify-save","tiktok-follow","tiktok-watch","tiktok-post","youtube-like","youtube-comment","youtube-subscribe","action-completion","skip-action","42-school","api-auth-link","api-token-link","apple","asgardeo","atlassian","auth0","authentik","azure-ad-b2c","azure-ad","azure-devops","battlenet","beyondidentity","box","boxyhq-saml","bungie","click-up","cognito","coinbase","descope","discord","dribbble","dropbox","duende-identity-server6","email","eveonline","facebook","faceit","foursquare","freshbooks","fusionauth","github","gitlab","google","hubspot","identity-server4","instagram","kakao","keycloak","line","linkedin","mailchimp","mailru","mastodon","mattermost","medium","naver","netlify","notion","okta","onelogin","organisation-oidc","osso","osu","passage","patreon","pinterest","pipedrive","reddit","salesforce","slack","spotify","strava","tiktok","todoist","trakt","twitch","twitter","united-effects","vk","wikimedia","wordpress","workos","yandex","youtube","zitadel","zoho","zoom","blog-comment","blog-like","blog-share","blog-view","challenge-started","challenge-completion","challenge-unlock","community-visit","parental-approval-requested","parental-approval-approved","parental-approval-rejected","custom","game-started","game-completed","leaderboard-finish","invite-admin-user","points-credit","points-spend","post-comment","post-like","post-view","reward-redemption","reward-allocation-purchase","reward-giveaway-winner","reward-claim","reward-distribution","manual-distribution","referral-link-used","shop-purchase","share-challenge-details","share-challenge-results","share-community","share-reward","share-post","share-profile","share-anything","streak-extended","profile-picture-added","bio-added","variable-captured","xp-gained","xp-total","xp-leaderboard-topper"],"uniqueKey":"eventName","typeLabel":"enum\u003cstring>"},"eventId":{"type":"string","uniqueKey":"eventId","typeLabel":"string"}},"required":["value"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"value":"\u003cstring>","eventId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ed528b30-2ed3-440e-9599-0542ce9f039b":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The id of the variable","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"organisationId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The organisation that the variable belongs to","isRequired":true,"uniqueKey":"organisationId","typeLabel":"string"},"type":{"type":"string","enum":["form-short-text","form-long-text","form-number","form-select","form-checkbox","form-email","form-name","form-address","form-date"],"description":"Determines how the variable should be rendered in the UI (e.g., text input, select dropdown, date picker, etc.)","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the variable","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"label":{"type":"string","description":"The label of the variable","isRequired":true,"uniqueKey":"label","typeLabel":"string"},"maxValueOccurrences":{"type":"number","minimum":1,"description":"The maximum number of times a unique value can be used across all instances of this variable","isRequired":true,"uniqueKey":"maxValueOccurrences","typeLabel":"number"},"isSingleOutputPerUser":{"type":"boolean","description":"Whether a user can only have one value for this variable","isRequired":true,"uniqueKey":"isSingleOutputPerUser","typeLabel":"boolean"},"isImmutable":{"type":"boolean","description":"Whether the value, once set by a user, cannot be changed","isRequired":true,"uniqueKey":"isImmutable","typeLabel":"boolean"},"useDefaultProfileValue":{"type":"boolean","description":"Whether to use the default profile value","isRequired":true,"uniqueKey":"useDefaultProfileValue","typeLabel":"boolean"},"placeholder":{"oneOf":[{"type":"string","description":"The placeholder text for the variable","uniqueKey":"placeholder.oneOf.0","typeLabel":"string"},{"type":"null","description":"The placeholder text for the variable","uniqueKey":"placeholder.oneOf.1","typeLabel":"null"}],"uniqueKey":"placeholder","typeLabel":"string | null"},"value":{"oneOf":[{"type":"string","description":"The value of the variable. For select variables, this refers to the key of the selected option","uniqueKey":"value.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of the variable. For select variables, this refers to the key of the selected option","uniqueKey":"value.oneOf.1","typeLabel":"null"}],"uniqueKey":"value","typeLabel":"string | null"},"valueCaptureDate":{"oneOf":[{"type":"string","description":"The date when the value was captured","uniqueKey":"valueCaptureDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date when the value was captured","uniqueKey":"valueCaptureDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"valueCaptureDate","typeLabel":"string | null"},"valueValidationDate":{"oneOf":[{"type":"string","description":"The date when the value was validated","uniqueKey":"valueValidationDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date when the value was validated","uniqueKey":"valueValidationDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"valueValidationDate","typeLabel":"string | null"},"prerequisiteVariableConfigIds":{"oneOf":[{"type":"array","items":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","uniqueKey":"prerequisiteVariableConfigIds.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The variable configs that must be completed before this one","uniqueKey":"prerequisiteVariableConfigIds.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"description":"The variable configs that must be completed before this one","uniqueKey":"prerequisiteVariableConfigIds.oneOf.1","typeLabel":"null"}],"uniqueKey":"prerequisiteVariableConfigIds","typeLabel":"string[] | null"},"options":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","isRequired":true,"uniqueKey":"options.oneOf.0.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"options.oneOf.0.items.[INDEX].value","typeLabel":"string"}},"required":["key","value"],"uniqueKey":"options.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"The possible options for this variable","uniqueKey":"options.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}},"required":["key","value"]},"description":"The possible options for this variable","uniqueKey":"options.oneOf.1","typeLabel":"null"}],"uniqueKey":"options","typeLabel":"object[] | null"}},"required":["id","organisationId","type","name","label","maxValueOccurrences","isSingleOutputPerUser","isImmutable","useDefaultProfileValue"],"title":"Variable","description":"A variable","uniqueKey":"","typeLabel":"Variable · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","organisationId":"\u003cstring>","type":"form-short-text","name":"\u003cstring>","label":"\u003cstring>","maxValueOccurrences":2,"isSingleOutputPerUser":true,"isImmutable":true,"useDefaultProfileValue":true,"placeholder":"\u003cstring>","value":"\u003cstring>","valueCaptureDate":"\u003cstring>","valueValidationDate":"\u003cstring>","prerequisiteVariableConfigIds":["\u003cstring>"],"options":[{"key":"\u003cstring>","value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"c9ed1a6a-e48d-4683-8dcb-afee843bb647":{"description":"Invalid input data","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Invalid input data","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"BAD_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"description":"The path to the field that caused the error","uniqueKey":"issues.items.[INDEX].path","typeLabel":"(string | integer)[]"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Error","description":"The error information","example":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]},"uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"fa7cddfe-f76a-455a-8c2f-1ad9e50c45ab":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"description":"The path to the field that caused the error","uniqueKey":"issues.items.[INDEX].path","typeLabel":"(string | integer)[]"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Error","description":"The error information","example":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]},"uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"29d94abe-b3e9-4e71-be17-43970c97b502":{"ApiToken":{"type":"apiKey","in":"header","name":"x-api-token","scopes":[]}}},"servers":{"4995f776-f6d8-460d-96ea-10f01fd25717":{"url":"https://{subdomain}.nudj.cx/api/v2/integration","description":"Organization API Server","variables":{"subdomain":{"description":"Your organization's subdomain (required)","default":"your-org"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-token","scopes":[]},"schema":{"title":"x-api-token","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiToken","name":"x-api-token"}],"title":"ApiToken"}]},"originalFileLocation":"openapi/integration.json"},"subdomain":"nudj","siteName":"Nudj Platform Documentation","title":"Create or update a variable value - Nudj Platform Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-24T12:15:51.298Z","originalFileLocation":"api-reference/integration/post-variables-variableId.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=\"light\"}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 variable value or updates an existing one if it already exists for the given variable.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nudj Platform Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_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/nudj/fATeH148tHvCQ7Cy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_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/nudj/fATeH148tHvCQ7Cy/_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/nudj/fATeH148tHvCQ7Cy/_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/nudj/fATeH148tHvCQ7Cy/_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/nudj/fATeH148tHvCQ7Cy/_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/nudj/fATeH148tHvCQ7Cy/_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/nudj/fATeH148tHvCQ7Cy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create or update a variable value - Nudj Platform Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new variable value or updates an existing one if it already exists for the given variable.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nudj Platform Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nudj.mintlify.app/_mintlify/api/og/v2?division=Variables\u0026amp;title=Create+or+update+a+variable+value\u0026amp;description=Creates+a+new+variable+value+or+updates+an+existing+one+if+it+already+exists+for+the+given+variable.\u0026amp;theme=b38afa39b71556cd91c41f96\u0026amp;signature=6918291ad28c9b4cc5e51aa716c09e344db16adf1715eff300bde263dbf15f82\">\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 or update a variable value - Nudj Platform Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new variable value or updates an existing one if it already exists for the given variable.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nudj.mintlify.app/_mintlify/api/og/v2?division=Variables\u0026amp;title=Create+or+update+a+variable+value\u0026amp;description=Creates+a+new+variable+value+or+updates+an+existing+one+if+it+already+exists+for+the+given+variable.\u0026amp;theme=b38afa39b71556cd91c41f96\u0026amp;signature=6918291ad28c9b4cc5e51aa716c09e344db16adf1715eff300bde263dbf15f82\">\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/nudj/fATeH148tHvCQ7Cy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nudj Platform Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8082A6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/integration/post-variables-variableId.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nudj.cx/#organization\",\"name\":\"Nudj Platform Documentation\",\"url\":\"https://docs.nudj.cx\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nudj/Fh-MK3NeO4rWK1Z6/logo/nudj-logo.png?fit=max\u0026auto=format\u0026n=Fh-MK3NeO4rWK1Z6\u0026q=85\u0026s=7340cd62c3a41730e5ce025fd75c842b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nudj.cx#website\",\"name\":\"Nudj Platform Documentation\",\"url\":\"https://docs.nudj.cx\",\"publisher\":{\"@id\":\"https://docs.nudj.cx/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId#webpage\",\"url\":\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId\",\"name\":\"Create or update a variable value\",\"description\":\"Creates a new variable value or updates an existing one if it already exists for the given variable.\",\"dateModified\":\"2026-03-24T12:15:51.298Z\",\"isPartOf\":{\"@id\":\"https://docs.nudj.cx#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Variables\",\"item\":\"https://docs.nudj.cx/api-reference/integration/get-variables\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create or update a variable value\",\"item\":\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId#apireference\",\"headline\":\"Create or update a variable value\",\"name\":\"Create or update a variable value\",\"description\":\"Creates a new variable value or updates an existing one if it already exists for the given variable.\",\"url\":\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nudj.cx/api-reference/integration/post-variables-variableId#webpage\"},\"dateModified\":\"2026-03-24T12:15:51.298Z\",\"publisher\":{\"@id\":\"https://docs.nudj.cx/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nudj.cx#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nudj Platform Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nudj Platform Documentation","nav":{"global":null,"tabs":[{"tab":"Start","pages":[{"title":"Start","href":"/introduction"}]},{"tab":"What's New","pages":[{"title":"What's New","href":"/whats-new"}]},{"tab":"User Guide","pages":[{"title":"User Guide","href":"/user-guide/introduction"}]},{"tab":"Control Room","pages":[{"title":"Control Room","href":"/admin-guide/introduction"}]},{"tab":"Enterprise","pages":[{"title":"Enterprise","href":"/enterprise/platform-overview"}]},{"tab":"Shopify","pages":[{"title":"Shopify","href":"/shopify"}]},{"tab":"Developer","pages":[{"title":"Developer","href":"/api-reference/introduction"}]},{"tab":"Integration API","groups":[{"group":"Achievements","pages":[{"title":"Get paginated achievements","openapi":"openapi/integration.json GET /achievements","href":"/api-reference/integration/get-achievements"},{"title":"Get achievement by ID","openapi":"openapi/integration.json GET /achievements/{achievementId}","href":"/api-reference/integration/get-achievements-achievementId"},{"title":"Claim achievement rewards","openapi":"openapi/integration.json POST /achievements/{achievementId}/claim","href":"/api-reference/integration/post-achievements-achievementId-claim"}]},{"group":"Action Participations","pages":[{"title":"Get paginated action participations","openapi":"openapi/integration.json GET /action-participations","href":"/api-reference/integration/get-action-participations"},{"title":"Get action participation by id","openapi":"openapi/integration.json GET /action-participations/{actionParticipationId}","href":"/api-reference/integration/get-action-participations-actionParticipationId"},{"title":"Create action participation","openapi":"openapi/integration.json POST /action-participations","href":"/api-reference/integration/post-action-participations"}]},{"group":"Actions","pages":[{"title":"Get paginated actions","openapi":"openapi/integration.json GET /actions","href":"/api-reference/integration/get-actions"},{"title":"Get action by ID","openapi":"openapi/integration.json GET /actions/{actionId}","href":"/api-reference/integration/get-actions-actionId"}]},{"group":"Auth Config","pages":[{"title":"Get auth configuration","openapi":"openapi/integration.json GET /auth-config","href":"/api-reference/integration/get-auth-config"}]},{"group":"Campaigns","pages":[{"title":"Get paginated campaigns","openapi":"openapi/integration.json GET /campaigns","href":"/api-reference/integration/get-campaigns"}]},{"group":"Challenge Groups","pages":[{"title":"Get paginated challenge groups","openapi":"openapi/integration.json GET /challenge-groups","href":"/api-reference/integration/get-challenge-groups"},{"title":"Get challenge group by ID","openapi":"openapi/integration.json GET /challenge-groups/{challengeGroupId}","href":"/api-reference/integration/get-challenge-groups-challengeGroupId"}]},{"group":"Challenges","pages":[{"title":"Get paginated challenges","openapi":"openapi/integration.json GET /challenges","href":"/api-reference/integration/get-challenges"},{"title":"Get challenge by ID","openapi":"openapi/integration.json GET /challenges/{challengeId}","href":"/api-reference/integration/get-challenges-challengeId"},{"title":"Complete challenge for user","openapi":"openapi/integration.json POST /challenges/{challengeId}/complete","href":"/api-reference/integration/post-challenges-challengeId-complete"},{"title":"Start challenge for user","openapi":"openapi/integration.json POST /challenges/{challengeId}/start","href":"/api-reference/integration/post-challenges-challengeId-start"},{"title":"Unlock a challenge by spending keys","openapi":"openapi/integration.json POST /challenges/{id}/unlock","href":"/api-reference/integration/post-challenges-id-unlock"}]},{"group":"Comments","pages":[{"title":"Add a new comment","openapi":"openapi/integration.json POST /comments","href":"/api-reference/integration/post-comments"},{"title":"Update a comment","openapi":"openapi/integration.json PUT /comments/{commentId}","href":"/api-reference/integration/put-comments-commentId"}]},{"group":"Communities","pages":[{"title":"Get paginated communities","openapi":"openapi/integration.json GET /communities","href":"/api-reference/integration/get-communities"},{"title":"Get community by ID or slug","openapi":"openapi/integration.json GET /communities/{identifier}","href":"/api-reference/integration/get-communities-identifier"}]},{"group":"Events","pages":[{"title":"Get paginated events","openapi":"openapi/integration.json GET /events","href":"/api-reference/integration/get-events"},{"title":"Claim an event token","openapi":"openapi/integration.json POST /events/claim","href":"/api-reference/integration/post-events-claim"}]},{"group":"Feature Flags","pages":[{"title":"Get all feature flags","openapi":"openapi/integration.json GET /feature-flags","href":"/api-reference/integration/get-feature-flags"}]},{"group":"Languages","pages":[{"title":"Get language configurations","openapi":"openapi/integration.json GET /languages","href":"/api-reference/integration/get-languages"}]},{"group":"Leaderboards","pages":[{"title":"Get aggregated leaderboard data","openapi":"openapi/integration.json GET /leaderboards/{configId}/data","href":"/api-reference/integration/get-leaderboards-configId-data"},{"title":"Get user's position in leaderboard","openapi":"openapi/integration.json GET /leaderboards/{configId}/position","href":"/api-reference/integration/get-leaderboards-configId-position"},{"title":"Get paginated leaderboard configurations","openapi":"openapi/integration.json GET /leaderboards/configs","href":"/api-reference/integration/get-leaderboards-configs"}]},{"group":"Legal Policies","pages":[{"title":"Get legal policies","openapi":"openapi/integration.json GET /legal-policies","href":"/api-reference/integration/get-legal-policies"}]},{"group":"Me","pages":[{"title":"Get my info","openapi":"openapi/integration.json GET /me","href":"/api-reference/integration/get-me"},{"title":"Get my paginated badges","openapi":"openapi/integration.json GET /me/badges","href":"/api-reference/integration/get-me-badges"},{"title":"Get my paginated reward entries","openapi":"openapi/integration.json GET /me/reward-entries","href":"/api-reference/integration/get-me-reward-entries"},{"title":"Get my reward entry by id","openapi":"openapi/integration.json GET /me/reward-entries/{rewardEntryId}","href":"/api-reference/integration/get-me-reward-entries-rewardEntryId"},{"title":"Get my paginated rewards","openapi":"openapi/integration.json GET /me/rewards","href":"/api-reference/integration/get-me-rewards"},{"title":"Get my reward asset by id","openapi":"openapi/integration.json GET /me/rewards/{rewardAssetId}","href":"/api-reference/integration/get-me-rewards-rewardAssetId"},{"title":"Get my streak progress","openapi":"openapi/integration.json GET /me/streaks","href":"/api-reference/integration/get-me-streaks"},{"title":"Update my info","openapi":"openapi/integration.json PATCH /me","href":"/api-reference/integration/patch-me"},{"title":"Accept community rules","openapi":"openapi/integration.json POST /me/communities/{communityId}/accept-rules","href":"/api-reference/integration/post-me-communities-communityId-accept-rules"},{"title":"Check my reward entry","openapi":"openapi/integration.json POST /me/reward-entries/{rewardEntryId}/check","href":"/api-reference/integration/post-me-reward-entries-rewardEntryId-check"},{"title":"Redeem my reward","openapi":"openapi/integration.json POST /me/rewards/{rewardAssetId}/redeem","href":"/api-reference/integration/post-me-rewards-rewardAssetId-redeem"}]},{"group":"Posts","pages":[{"title":"Unlike a post","openapi":"openapi/integration.json DELETE /posts/{postId}/like","href":"/api-reference/integration/delete-posts-postId-like"},{"title":"Get paginated posts","openapi":"openapi/integration.json GET /posts","href":"/api-reference/integration/get-posts"},{"title":"Get post by id","openapi":"openapi/integration.json GET /posts/{postId}","href":"/api-reference/integration/get-posts-postId"},{"title":"Get paginated comments by post id","openapi":"openapi/integration.json GET /posts/{postId}/comments","href":"/api-reference/integration/get-posts-postId-comments"},{"title":"Add a new comment on a post","openapi":"openapi/integration.json POST /posts/{postId}/comments","href":"/api-reference/integration/post-posts-postId-comments"},{"title":"Like a post","openapi":"openapi/integration.json POST /posts/{postId}/like","href":"/api-reference/integration/post-posts-postId-like"},{"title":"Update a comment on a post","openapi":"openapi/integration.json PUT /posts/{postId}/comments/{commentId}","href":"/api-reference/integration/put-posts-postId-comments-commentId"}]},{"group":"Rewards","pages":[{"title":"Get paginated rewards","openapi":"openapi/integration.json GET /rewards","href":"/api-reference/integration/get-rewards"},{"title":"Get reward by id","openapi":"openapi/integration.json GET /rewards/{rewardId}","href":"/api-reference/integration/get-rewards-rewardId"},{"title":"Purchase a reward","openapi":"openapi/integration.json POST /rewards/{rewardId}/purchase","href":"/api-reference/integration/post-rewards-rewardId-purchase"}]},{"group":"Tags","pages":[{"title":"Get paginated tags","openapi":"openapi/integration.json GET /tags","href":"/api-reference/integration/get-tags"}]},{"group":"Themes","pages":[{"title":"Get theme configuration","openapi":"openapi/integration.json GET /themes","href":"/api-reference/integration/get-themes"}]},{"group":"Third Party Config","pages":[{"title":"Get third party configuration","openapi":"openapi/integration.json GET /third-party-config","href":"/api-reference/integration/get-third-party-config"}]},{"group":"Variables","pages":[{"title":"Get paginated variables","openapi":"openapi/integration.json GET /variables","description":"Retrieve a paginated list of variables.","href":"/api-reference/integration/get-variables"},{"title":"Create or update a variable value","openapi":"openapi/integration.json POST /variables/{variableId}","href":"/api-reference/integration/post-variables-variableId"}]},{"group":"Achievement","pages":[{"title":"Get achievement by ID","description":"Retrieve an achievement by its ID.","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /achievements/{achievementId}","href":"/api-reference/achievement/get-achievement-by-id"},{"title":"Get paginated achievements","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /achievements","href":"/api-reference/achievement/get-paginated-achievements"},{"title":"Claim achievement rewards","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /achievements/{achievementId}/claim","href":"/api-reference/achievement/claim-achievement-rewards"}]},{"group":"ActionParticipation","pages":[{"title":"Get paginated action participations","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /action-participations","href":"/api-reference/actionparticipation/get-paginated-action-participations"},{"title":"Create action participation","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /action-participations","href":"/api-reference/actionparticipation/create-action-participation"},{"title":"Get action participation by id","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /action-participations/{actionParticipationId}","href":"/api-reference/actionparticipation/get-action-participation-by-id"}]},{"group":"Action","pages":[{"title":"Get action by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /actions/{actionId}","href":"/api-reference/action/get-action-by-id"},{"title":"Get paginated actions","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /actions","href":"/api-reference/action/get-paginated-actions"}]},{"group":"Auth Config","pages":[{"title":"Get auth configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /auth-config","href":"/api-reference/auth-config/get-auth-configuration"}]},{"group":"Campaign","pages":[{"title":"Get paginated campaigns","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /campaigns","href":"/api-reference/campaign/get-paginated-campaigns"}]},{"group":"Challenge Group","pages":[{"title":"Get challenge group by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /challenge-groups/{id}","href":"/api-reference/challenge-group/get-challenge-group-by-id"},{"title":"Get paginated challenge groups","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /challenge-groups","href":"/api-reference/challenge-group/get-paginated-challenge-groups"}]},{"group":"Challenge","pages":[{"title":"Get challenge by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /challenges/{challengeId}","href":"/api-reference/challenge/get-challenge-by-id"},{"title":"Get paginated challenges","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /challenges","href":"/api-reference/challenge/get-paginated-challenges"},{"title":"Unlock a challenge by spending keys","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /challenges/{id}/unlock","href":"/api-reference/challenge/unlock-a-challenge-by-spending-keys"},{"title":"Start challenge for user","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /challenges/{challengeId}/start","href":"/api-reference/challenge/start-challenge-for-user"},{"title":"Complete challenge for user","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /challenges/{challengeId}/complete","href":"/api-reference/challenge/complete-challenge-for-user"}]},{"group":"Comment","pages":[{"title":"Add a new comment","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /comments","href":"/api-reference/comment/add-a-new-comment"},{"title":"Update a comment","deprecated":null,"version":null,"openapi":"/openapi/integration.json put /comments/{commentId}","href":"/api-reference/comment/update-a-comment"},{"title":"Add a new comment on a post","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /posts/{postId}/comments","href":"/api-reference/comment/add-a-new-comment-on-a-post"},{"title":"Update a comment on a post","deprecated":null,"version":null,"openapi":"/openapi/integration.json put /posts/{postId}/comments/{commentId}","href":"/api-reference/comment/update-a-comment-on-a-post"}]},{"group":"Community","pages":[{"title":"Get community by ID or slug","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /communities/{identifier}","href":"/api-reference/community/get-community-by-id-or-slug"},{"title":"Get paginated communities","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /communities","href":"/api-reference/community/get-paginated-communities"}]},{"group":"Event","pages":[{"title":"Get paginated events","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /events","href":"/api-reference/event/get-paginated-events"},{"title":"Claim an event token","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /events/claim","href":"/api-reference/event/claim-an-event-token"}]},{"group":"Feature Flags","pages":[{"title":"Get all feature flags","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /feature-flags","href":"/api-reference/feature-flags/get-all-feature-flags"}]},{"group":"Language","pages":[{"title":"Get language configurations","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /languages","href":"/api-reference/language/get-language-configurations"}]},{"group":"Leaderboard","pages":[{"title":"Get paginated leaderboard configurations","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /leaderboards/configs","href":"/api-reference/leaderboard/get-paginated-leaderboard-configurations"},{"title":"Get aggregated leaderboard data","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /leaderboards/{configId}/data","href":"/api-reference/leaderboard/get-aggregated-leaderboard-data"},{"title":"Get user's position in leaderboard","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /leaderboards/{configId}/position","href":"/api-reference/leaderboard/get-users-position-in-leaderboard"}]},{"group":"Legal Policies","pages":[{"title":"Get legal policies","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /legal-policies","href":"/api-reference/legal-policies/get-legal-policies"}]},{"group":"User","pages":[{"title":"Accept community rules","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /me/communities/{communityId}/accept-rules","href":"/api-reference/user/accept-community-rules"},{"title":"Get my info","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /me","href":"/api-reference/user/get-my-info"},{"title":"Update my info","deprecated":null,"version":null,"openapi":"/openapi/integration.json patch /me","href":"/api-reference/user/update-my-info"}]},{"group":"RewardEntry","pages":[{"title":"Check my reward entry","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /me/reward-entries/{rewardEntryId}/check","href":"/api-reference/rewardentry/check-my-reward-entry"},{"title":"Get my paginated reward entries","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /me/reward-entries","href":"/api-reference/rewardentry/get-my-paginated-reward-entries"},{"title":"Get my reward entry by id","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /me/reward-entries/{rewardEntryId}","href":"/api-reference/rewardentry/get-my-reward-entry-by-id"}]},{"group":"Badge","pages":[{"title":"Get my paginated badges","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /me/badges","href":"/api-reference/badge/get-my-paginated-badges"}]},{"group":"Reward","pages":[{"title":"Get my paginated rewards","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /me/rewards","href":"/api-reference/reward/get-my-paginated-rewards"},{"title":"Get my reward asset by id","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /me/rewards/{rewardAssetId}","href":"/api-reference/reward/get-my-reward-asset-by-id"},{"title":"Redeem my reward","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /me/rewards/{rewardAssetId}/redeem","href":"/api-reference/reward/redeem-my-reward"},{"title":"Get reward by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /rewards/{rewardId}","href":"/api-reference/reward/get-reward-by-id"},{"title":"Get paginated rewards","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /rewards","href":"/api-reference/reward/get-paginated-rewards"},{"title":"Purchase a reward","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /rewards/{rewardId}/purchase","href":"/api-reference/reward/purchase-a-reward"}]},{"group":"Streak","pages":[{"title":"Get my streak progress","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /me/streaks","href":"/api-reference/streak/get-my-streak-progress"}]},{"group":"Post","pages":[{"title":"Get paginated comments by post id","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /posts/{postId}/comments","href":"/api-reference/post/get-paginated-comments-by-post-id"},{"title":"Get paginated posts","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /posts","href":"/api-reference/post/get-paginated-posts"},{"title":"Get post by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /posts/{postId}","href":"/api-reference/post/get-post-by-id"},{"title":"Like a post","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /posts/{postId}/like","href":"/api-reference/post/like-a-post"},{"title":"Unlike a post","deprecated":null,"version":null,"openapi":"/openapi/integration.json delete /posts/{postId}/like","href":"/api-reference/post/unlike-a-post"}]},{"group":"Tag","pages":[{"title":"Get paginated tags","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /tags","href":"/api-reference/tag/get-paginated-tags"}]},{"group":"Theme","pages":[{"title":"Get theme configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /themes","href":"/api-reference/theme/get-theme-configuration"}]},{"group":"Third Party Config","pages":[{"title":"Get third party configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /third-party-config","href":"/api-reference/third-party-config/get-third-party-configuration"}]},{"group":"Variables","pages":[{"title":"Get paginated variables","deprecated":null,"version":null,"openapi":"/openapi/integration.json get /variables","href":"/api-reference/variables/get-paginated-variables"},{"title":"Create or update a variable value","deprecated":null,"version":null,"openapi":"/openapi/integration.json post /variables/{variableId}","href":"/api-reference/variables/create-or-update-a-variable-value"}]}]},{"tab":"Admin API","pages":[{"title":"Admin API","href":"/api-reference/admin/get-achievements"}]},{"tab":"Analytics API","pages":[{"title":"Analytics API","href":"/api-reference/analytics/get-achievements-stats-criteria-completion"}]}]},"basePath":"","title":"Create or update a variable value - Nudj Platform Documentation","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}