Creates a test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a goal to create one or goal_id to reuse one. With start: true the test begins immediately; otherwise it is saved as a draft.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"RevDesk","colors":{"primary":"#111827","light":"#d6d6d6","dark":"#737373"},"favicon":"https://mintcdn.com/celllabs/Kgd_6AE6Yt3h6_h8/favicon.png?fit=max\u0026auto=format\u0026n=Kgd_6AE6Yt3h6_h8\u0026q=85\u0026s=923ef44db09c5e1da299b73a3b84e3ba","api":{},"navbar":{"links":[{"href":"mailto:support@revdesk.com","label":"Contact Support"}],"primary":{"type":"button","label":"Get Started","href":"https://www.revdesk.com"}},"footer":{"socials":{"x":"https://x.com/revdeskHQ","linkedin":"https://linkedin.com/company/revdeskhq"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"celllabs","hasAudioNarration":false,"actualSubdomain":"celllabs","customDomains":["docs.revdesk.com"],"gitSource":{"type":"github","owner":"cell-labs-inc","repo":"revdesk-history","deployBranch":"prod","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"collectionId":"b12afe9d-0ce0-46cc-9732-7a00975e17ab","liveDeploymentHistoryId":"6ac00bc924a72304634eb5bf","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac00bc924a72304634eb5bf"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac00bc924a72304634eb5bf","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API Reference","count":130},{"language":"default","tag":"User Guide","count":55},{"language":"default","tag":"Caller Trust","count":34},{"language":"default","tag":"Integrations","count":22},{"language":"default","tag":"Enterprise Registration","count":14},{"language":"default","tag":"Number Health","count":13},{"language":"default","tag":"Optimize","count":12},{"language":"default","tag":"Reputation","count":11},{"language":"default","tag":"Operate RevDesk","count":10},{"language":"default","tag":"Getting Started","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":"sidebar-group:has(sidebar-group-header .sidebar-group-tag),sidebar-group:has(sidebar-group-header .tag),sidebar-group:has(sidebar-group-header [data-tag]){opacity:.45}"}],"page":{"pagePath":"api-reference/optimize/create-a-website-test","slug":"/api-reference/optimize/create-a-website-test","pageMetadata":{"title":"Create a website test","description":"Creates a test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a `goal` to create one or `goal_id` to reuse one. With `start: true` the test begins immediately; otherwise it is saved as a draft.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/optimize/tests","href":"/api-reference/optimize/create-a-website-test","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a \", _jsx(_components.code, {\n children: \"goal\"\n }), \" to create one or \", _jsx(_components.code, {\n children: \"goal_id\"\n }), \" to reuse one. With \", _jsx(_components.code, {\n children: \"start: true\"\n }), \" the test begins immediately; otherwise it is saved as a draft.\"]\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 a website test","description":"Creates a test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a `goal` to create one or `goal_id` to reuse one. With `start: true` the test begins immediately; otherwise it is saved as a draft.","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/optimize/tests","href":"/api-reference/optimize/create-a-website-test","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/celllabs/b5059a729a63042d/scripts/autofill-auth.js"],"openApiReferenceData":{"operation":{"operationId":"v1_optimize_tests_post","tags":["Optimize"],"summary":"Create a website test","description":"Creates a test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a `goal` to create one or `goal_id` to reuse one. With `start: true` the test begins immediately; otherwise it is saved as a draft.","parameters":["db1d9a4c-56c9-4c85-8bd4-f043ed4c69af"],"requestBody":"6e159d46-e9c3-45b8-87d5-b8092e135565","responses":{"201":"510f06e0-53fe-411c-b36d-ac6b77a141ae","400":"8adedafd-e13f-49dd-8957-e64a9df7eded","401":"2af9e8cc-587c-4958-b867-10698b4ce69f","403":"a6945f2d-ac8e-4817-a424-e936119dd48e","404":"2bfe7769-da3e-4fc5-bc15-78e8c574e086","409":"45811fc4-72dd-4ee0-acd9-1f0de2679e6b","429":"ec2326cd-089c-4fdc-9aac-ef7dc0daf686"},"x-scopes":["optimize:write"],"x-required-scopes":["optimize:write"],"x-rate-limit":{"requestsPerMinute":600},"method":"post","type":"path","servers":["d9eaf254-aceb-4a30-a0e2-5239cb6ef2a8"],"security":["918f80f5-4f6c-4fe1-adfe-0874008e2b4b"],"path":"/v1/optimize/tests","baseUrlOptions":["https://api.revdesk.com"],"title":"Create a website test","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"db1d9a4c-56c9-4c85-8bd4-f043ed4c69af":{"name":"Idempotency-Key","in":"header","required":false,"description":"UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.","schema":{"type":"string","isRequired":false,"description":"UUID — when present, deduplicates repeat submissions. See /api-reference/idempotency.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120,"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"page_url":{"type":"string","minLength":1,"maxLength":2048,"isRequired":true,"uniqueKey":"page_url","typeLabel":"string"},"variants":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60,"isRequired":true,"uniqueKey":"variants.items.[INDEX].name","typeLabel":"string"},"ops":{"maxItems":40,"type":"array","items":{"oneOf":[{"type":"object","required":["selector","op","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.0.selector","typeLabel":"string"},"op":{"type":"string","const":"setText","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.0.op","typeLabel":"string"},"value":{"type":"string","maxLength":5000,"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.0.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.0.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["selector","op","name","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.1.selector","typeLabel":"string"},"op":{"type":"string","const":"setAttribute","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.1.op","typeLabel":"string"},"name":{"type":"string","pattern":"^(?!on)(?!src$)(?!srcdoc$)(?!style$)(?!href$)[a-z][a-z0-9-]*$","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.1.name","typeLabel":"string"},"value":{"type":"string","maxLength":2000,"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.1.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.1.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["selector","op","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.2.selector","typeLabel":"string"},"op":{"type":"string","const":"addClass","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.2.op","typeLabel":"string"},"value":{"type":"string","maxLength":200,"pattern":"^[\\w-]+(\\s+[\\w-]+)*$","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.2.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.2.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["selector","op","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.3.selector","typeLabel":"string"},"op":{"type":"string","const":"removeClass","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.3.op","typeLabel":"string"},"value":{"type":"string","maxLength":200,"pattern":"^[\\w-]+(\\s+[\\w-]+)*$","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.3.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.3.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","required":["selector","op","styles"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.4.selector","typeLabel":"string"},"op":{"type":"string","const":"setStyle","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.4.op","typeLabel":"string"},"styles":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-z-]+$"},"additionalProperties":{"type":"string","maxLength":500,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.4.styles.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.4.styles","typeLabel":"object"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.4.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","required":["selector","op"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.5.selector","typeLabel":"string"},"op":{"type":"string","const":"hide","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.5.op","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.5.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","required":["selector","op","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.6.selector","typeLabel":"string"},"op":{"type":"string","const":"replaceHref","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.6.op","typeLabel":"string"},"value":{"type":"string","maxLength":2000,"pattern":"^(https?:\\/\\/|tel:|mailto:|sms:|\\/(?!\\/)|#|\\?)","isRequired":true,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.6.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.6.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX].oneOf.6","typeLabel":"object"}],"uniqueKey":"variants.items.[INDEX].ops.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"variants.items.[INDEX].ops","typeLabel":"object[]"},"hypothesis":{"type":"string","maxLength":400,"uniqueKey":"variants.items.[INDEX].hypothesis","typeLabel":"string"},"weight":{"type":"number","minimum":0,"maximum":10,"uniqueKey":"variants.items.[INDEX].weight","typeLabel":"number"}},"required":["name","ops"],"additionalProperties":false,"uniqueKey":"variants.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"variants","typeLabel":"object[]"},"property_id":{"type":"string","minLength":1,"uniqueKey":"property_id","typeLabel":"string"},"url_match_type":{"type":"string","enum":["exact","prefix","regex"],"uniqueKey":"url_match_type","typeLabel":"enum\u003cstring>"},"goal":{"type":"object","properties":{"type":{"type":"string","enum":["form_submit","tel_click","cta_click","url_visit","selector_click"],"isRequired":true,"uniqueKey":"goal.type","typeLabel":"enum\u003cstring>"},"selector":{"type":"string","minLength":1,"maxLength":500,"uniqueKey":"goal.selector","typeLabel":"string"},"url_match_type":{"type":"string","enum":["exact","prefix","regex"],"uniqueKey":"goal.url_match_type","typeLabel":"enum\u003cstring>"},"url_pattern":{"type":"string","minLength":1,"maxLength":500,"uniqueKey":"goal.url_pattern","typeLabel":"string"}},"required":["type"],"additionalProperties":false,"uniqueKey":"goal","typeLabel":"object"},"goal_id":{"type":"string","minLength":1,"uniqueKey":"goal_id","typeLabel":"string"},"hypothesis":{"type":"string","maxLength":400,"uniqueKey":"hypothesis","typeLabel":"string"},"traffic_split":{"type":"number","minimum":0.05,"maximum":1,"uniqueKey":"traffic_split","typeLabel":"number"},"start":{"type":"boolean","uniqueKey":"start","typeLabel":"boolean"}},"required":["name","page_url","variants"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","page_url":"\u003cstring>","variants":[{"name":"\u003cstring>","ops":[{"selector":"\u003cstring>","op":"setText","value":"\u003cstring>","nth":4503599627370495}],"hypothesis":"\u003cstring>","weight":5}],"property_id":"\u003cstring>","goal_id":"\u003cstring>","hypothesis":"\u003cstring>","traffic_split":0.525,"start":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"510f06e0-53fe-411c-b36d-ac6b77a141ae":{"description":"Success","headers":{"RateLimit":{"description":"Current quota remaining and seconds until reset, using the IETF RateLimit structured-field syntax.","schema":{"type":"string","example":"\"default\";r=599;t=60"}},"RateLimit-Policy":{"description":"Named quota policy and one-minute window.","schema":{"type":"string","example":"\"default\";q=600;w=60"}},"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp in milliseconds when the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"hypothesis":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.hypothesis.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.hypothesis.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.hypothesis","typeLabel":"string | null"},"status":{"type":"string","enum":["draft","running","paused","completed","shipped","archived"],"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"kind":{"type":"string","enum":["variation","split_url"],"isRequired":true,"uniqueKey":"data.kind","typeLabel":"enum\u003cstring>"},"page_url":{"type":"string","isRequired":true,"uniqueKey":"data.page_url","typeLabel":"string"},"url_match_type":{"type":"string","enum":["exact","prefix","regex"],"isRequired":true,"uniqueKey":"data.url_match_type","typeLabel":"enum\u003cstring>"},"goal":{"oneOf":[{"type":"object","required":["id","type","selector","url_pattern"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.goal.oneOf.0.id","typeLabel":"string"},"type":{"type":"string","enum":["form_submit","tel_click","cta_click","url_visit","selector_click"],"isRequired":true,"uniqueKey":"data.goal.oneOf.0.type","typeLabel":"enum\u003cstring>"},"selector":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.goal.oneOf.0.selector.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.goal.oneOf.0.selector.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.goal.oneOf.0.selector","typeLabel":"string | null"},"url_pattern":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.goal.oneOf.0.url_pattern.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.goal.oneOf.0.url_pattern.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.goal.oneOf.0.url_pattern","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"data.goal.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.goal.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.goal","typeLabel":"object | null"},"traffic_split":{"type":"number","isRequired":true,"uniqueKey":"data.traffic_split","typeLabel":"number"},"variants":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].name","typeLabel":"string"},"is_control":{"type":"boolean","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].is_control","typeLabel":"boolean"},"weight":{"type":"number","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].weight","typeLabel":"number"},"ops":{"maxItems":40,"type":"array","items":{"oneOf":[{"type":"object","required":["selector","op","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.0.selector","typeLabel":"string"},"op":{"type":"string","const":"setText","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.0.op","typeLabel":"string"},"value":{"type":"string","maxLength":5000,"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.0.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.0.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["selector","op","name","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.1.selector","typeLabel":"string"},"op":{"type":"string","const":"setAttribute","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.1.op","typeLabel":"string"},"name":{"type":"string","pattern":"^(?!on)(?!src$)(?!srcdoc$)(?!style$)(?!href$)[a-z][a-z0-9-]*$","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.1.name","typeLabel":"string"},"value":{"type":"string","maxLength":2000,"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.1.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.1.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["selector","op","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.2.selector","typeLabel":"string"},"op":{"type":"string","const":"addClass","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.2.op","typeLabel":"string"},"value":{"type":"string","maxLength":200,"pattern":"^[\\w-]+(\\s+[\\w-]+)*$","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.2.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.2.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","required":["selector","op","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.3.selector","typeLabel":"string"},"op":{"type":"string","const":"removeClass","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.3.op","typeLabel":"string"},"value":{"type":"string","maxLength":200,"pattern":"^[\\w-]+(\\s+[\\w-]+)*$","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.3.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.3.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","required":["selector","op","styles"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.4.selector","typeLabel":"string"},"op":{"type":"string","const":"setStyle","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.4.op","typeLabel":"string"},"styles":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-z-]+$"},"additionalProperties":{"type":"string","maxLength":500,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.4.styles.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.4.styles","typeLabel":"object"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.4.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","required":["selector","op"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.5.selector","typeLabel":"string"},"op":{"type":"string","const":"hide","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.5.op","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.5.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","required":["selector","op","value"],"properties":{"selector":{"type":"string","minLength":1,"maxLength":500,"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.6.selector","typeLabel":"string"},"op":{"type":"string","const":"replaceHref","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.6.op","typeLabel":"string"},"value":{"type":"string","maxLength":2000,"pattern":"^(https?:\\/\\/|tel:|mailto:|sms:|\\/(?!\\/)|#|\\?)","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.6.value","typeLabel":"string"},"nth":{"type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.6.nth","typeLabel":"integer"}},"additionalProperties":false,"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX].oneOf.6","typeLabel":"object"}],"uniqueKey":"data.variants.items.[INDEX].ops.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].ops","typeLabel":"object[]"},"redirect_url":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].redirect_url.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.variants.items.[INDEX].redirect_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.variants.items.[INDEX].redirect_url","typeLabel":"string | null"}},"required":["id","name","is_control","weight","ops","redirect_url"],"additionalProperties":false,"uniqueKey":"data.variants.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.variants","typeLabel":"object[]"},"started_at":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.started_at.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.started_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.started_at","typeLabel":"string | null"},"completed_at":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.completed_at.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.completed_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.completed_at","typeLabel":"string | null"},"shipped_at":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.shipped_at.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.shipped_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.shipped_at","typeLabel":"string | null"},"winner_variant_id":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.winner_variant_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.winner_variant_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.winner_variant_id","typeLabel":"string | null"},"created_at":{"type":"string","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string"}},"required":["id","name","hypothesis","status","kind","page_url","url_match_type","goal","traffic_split","variants","started_at","completed_at","shipped_at","winner_variant_id","created_at"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"\u003cstring>","name":"\u003cstring>","hypothesis":"\u003cstring>","status":"draft","kind":"variation","page_url":"\u003cstring>","url_match_type":"exact","goal":{"id":"\u003cstring>","type":"form_submit","selector":"\u003cstring>","url_pattern":"\u003cstring>"},"traffic_split":123,"variants":[{"id":"\u003cstring>","name":"\u003cstring>","is_control":true,"weight":123,"ops":[{"selector":"\u003cstring>","op":"setText","value":"\u003cstring>","nth":4503599627370495}],"redirect_url":"\u003cstring>"}],"started_at":"\u003cstring>","completed_at":"\u003cstring>","shipped_at":"\u003cstring>","winner_variant_id":"\u003cstring>","created_at":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8adedafd-e13f-49dd-8957-e64a9df7eded":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"resolution_hint":{"type":"string","uniqueKey":"error.resolution_hint","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"uniqueKey":"error.fields","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","resolution_hint":"\u003cstring>","fields":{},"doc_url":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2af9e8cc-587c-4958-b867-10698b4ce69f":{"description":"Unauthorized","headers":{"WWW-Authenticate":{"description":"Bearer challenge with RFC 9728 protected-resource metadata and, on scope failures, the required scope.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"resolution_hint":{"type":"string","uniqueKey":"error.resolution_hint","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"uniqueKey":"error.fields","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","resolution_hint":"\u003cstring>","fields":{},"doc_url":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"a6945f2d-ac8e-4817-a424-e936119dd48e":{"description":"Forbidden","headers":{"WWW-Authenticate":{"description":"Bearer challenge with RFC 9728 protected-resource metadata and, on scope failures, the required scope.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"resolution_hint":{"type":"string","uniqueKey":"error.resolution_hint","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"uniqueKey":"error.fields","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","resolution_hint":"\u003cstring>","fields":{},"doc_url":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2bfe7769-da3e-4fc5-bc15-78e8c574e086":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"resolution_hint":{"type":"string","uniqueKey":"error.resolution_hint","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"uniqueKey":"error.fields","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","resolution_hint":"\u003cstring>","fields":{},"doc_url":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"45811fc4-72dd-4ee0-acd9-1f0de2679e6b":{"description":"Conflict (incl. idempotency conflicts)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"resolution_hint":{"type":"string","uniqueKey":"error.resolution_hint","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"uniqueKey":"error.fields","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","resolution_hint":"\u003cstring>","fields":{},"doc_url":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"ec2326cd-089c-4fdc-9aac-ef7dc0daf686":{"description":"Rate limited","headers":{"RateLimit":{"description":"Current quota remaining and seconds until reset, using the IETF RateLimit structured-field syntax.","schema":{"type":"string","example":"\"default\";r=599;t=60"}},"RateLimit-Policy":{"description":"Named quota policy and one-minute window.","schema":{"type":"string","example":"\"default\";q=600;w=60"}},"X-RateLimit-Limit":{"description":"Maximum requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp in milliseconds when the current window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying a rate-limited request.","schema":{"type":"integer","minimum":0}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"resolution_hint":{"type":"string","uniqueKey":"error.resolution_hint","typeLabel":"string"},"fields":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"error.fields.additionalProperties","typeLabel":"string"},"uniqueKey":"error.fields","typeLabel":"object"},"doc_url":{"type":"string","format":"uri","uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","resolution_hint":"\u003cstring>","fields":{},"doc_url":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"918f80f5-4f6c-4fe1-adfe-0874008e2b4b":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"RevDesk API key","description":"Organization-scoped RevDesk API key. Each operation declares its required permissions in x-required-scopes.","x-scopes-supported":["account:read","agents:read","agents:write","bookings:read","brand:read","brand:write","caller_trust:read","caller_trust:write","calls:read","calls:write","contacts:read","contacts:write","jobs:read","jobs:write","notifications:write","phone_numbers:read","phone_numbers:write","optimize:read","optimize:write","sms:read","sms:write","sub_entities:read","sub_entities:write","tokens:mint","transcripts:read","usage:read","voice:read","voice:webrtc","voice:write","webhooks:read","webhooks:write"],"scopes":[]}}},"servers":{"d9eaf254-aceb-4a30-a0e2-5239cb6ef2a8":{"url":"https://api.revdesk.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"RevDesk API key","description":"Organization-scoped RevDesk API key. Each operation declares its required permissions in x-required-scopes.","x-scopes-supported":["account:read","agents:read","agents:write","bookings:read","brand:read","brand:write","caller_trust:read","caller_trust:write","calls:read","calls:write","contacts:read","contacts:write","jobs:read","jobs:write","notifications:write","phone_numbers:read","phone_numbers:write","optimize:read","optimize:write","sms:read","sms:write","sub_entities:read","sub_entities:write","tokens:mint","transcripts:read","usage:read","voice:read","voice:webrtc","voice:write","webhooks:read","webhooks:write"],"scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Organization-scoped RevDesk API key. Each operation declares its required permissions in x-required-scopes.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"celllabs","siteName":"RevDesk","title":"Create a website test - RevDesk","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-14T17:04:33.879Z","originalFileLocation":"api-reference/optimize/create-a-website-test.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 test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a goal to create one or goal_id to reuse one. With start: true the test begins immediately; otherwise it is saved as a draft.\">\u003cmeta data-mint-head name=\"application-name\" content=\"RevDesk\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/celllabs/dMigdZPhMefYvTWm/_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/celllabs/dMigdZPhMefYvTWm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/celllabs/dMigdZPhMefYvTWm/_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/celllabs/dMigdZPhMefYvTWm/_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/celllabs/dMigdZPhMefYvTWm/_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/celllabs/dMigdZPhMefYvTWm/_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/celllabs/dMigdZPhMefYvTWm/_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/celllabs/dMigdZPhMefYvTWm/_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/celllabs/dMigdZPhMefYvTWm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a website test - RevDesk\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a goal to create one or goal_id to reuse one. With start: true the test begins immediately; otherwise it is saved as a draft.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"RevDesk\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://celllabs.mintlify.app/_mintlify/api/og/v2?division=Optimize\u0026amp;title=Create+a+website+test\u0026amp;description=Creates+a+test+on+one+page+with+a+control+plus+the+variants+you+send.+Each+variant+is+a+list+of+DOM+operations+%28text%2C+attributes%2C+classes%2C+inline+style%2C+hide%2C+l\u0026amp;theme=650d8e3bed5a44f3ca42822e\u0026amp;signature=a1b3753ebc7f1b17b9e052b983f8b07fab52cd6436bd3a5539cef3133c65eaf1\">\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 a website test - RevDesk\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a goal to create one or goal_id to reuse one. With start: true the test begins immediately; otherwise it is saved as a draft.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://celllabs.mintlify.app/_mintlify/api/og/v2?division=Optimize\u0026amp;title=Create+a+website+test\u0026amp;description=Creates+a+test+on+one+page+with+a+control+plus+the+variants+you+send.+Each+variant+is+a+list+of+DOM+operations+%28text%2C+attributes%2C+classes%2C+inline+style%2C+hide%2C+l\u0026amp;theme=650d8e3bed5a44f3ca42822e\u0026amp;signature=a1b3753ebc7f1b17b9e052b983f8b07fab52cd6436bd3a5539cef3133c65eaf1\">\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/celllabs/dMigdZPhMefYvTWm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"RevDesk\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111827\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/optimize/create-a-website-test.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.revdesk.com/#organization\",\"name\":\"RevDesk\",\"url\":\"https://docs.revdesk.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.revdesk.com#website\",\"name\":\"RevDesk\",\"url\":\"https://docs.revdesk.com\",\"publisher\":{\"@id\":\"https://docs.revdesk.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test#webpage\",\"url\":\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test\",\"name\":\"Create a website test\",\"description\":\"Creates a test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a goal to create one or goal_id to reuse one. With start: true the test begins immediately; otherwise it is saved as a draft.\",\"dateModified\":\"2026-09-14T17:04:33.879Z\",\"isPartOf\":{\"@id\":\"https://docs.revdesk.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Optimize\",\"item\":\"https://docs.revdesk.com/api-reference/optimize\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a website test\",\"item\":\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test#apireference\",\"headline\":\"Create a website test\",\"name\":\"Create a website test\",\"description\":\"Creates a test on one page with a control plus the variants you send. Each variant is a list of DOM operations (text, attributes, classes, inline style, hide, link targets) applied by the tag. Pass a goal to create one or goal_id to reuse one. With start: true the test begins immediately; otherwise it is saved as a draft.\",\"url\":\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test\",\"mainEntityOfPage\":{\"@id\":\"https://docs.revdesk.com/api-reference/optimize/create-a-website-test#webpage\"},\"dateModified\":\"2026-09-14T17:04:33.879Z\",\"publisher\":{\"@id\":\"https://docs.revdesk.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.revdesk.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"RevDesk\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"RevDesk","nav":{"global":null,"tabs":[{"tab":"User Guide","pages":[{"title":"User Guide","href":""}]},{"tab":"Developer Guide","pages":[{"title":"Developer Guide","href":"/developer-guide"}]},{"tab":"Policies","pages":[{"title":"Policies","href":"/policies/privacy-policy"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"RevDesk API Documentation","sidebarTitle":"RevDesk API","href":"/api-reference"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/api-reference/quickstart"},{"title":"RevDesk SDK \u0026 CLI","sidebarTitle":"RevDesk SDK \u0026 CLI","href":"/api-reference/sdks"},{"title":"RevDesk MCP Server","sidebarTitle":"RevDesk MCP","href":"/api-reference/mcp"},{"title":"RevDesk API Authentication \u0026 Scopes","sidebarTitle":"Authentication \u0026 scopes","href":"/api-reference/authentication"},{"title":"Conventions","sidebarTitle":"Conventions","href":"/api-reference/conventions"},{"title":"Versioning and deprecation","sidebarTitle":"Versioning \u0026 deprecation","href":"/api-reference/versioning-and-deprecation"},{"title":"Errors","sidebarTitle":"Errors","href":"/api-reference/errors"}]},{"group":"Account","pages":[{"title":"Current identity","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/me","href":"/api-reference/account/current-identity"},{"title":"Account snapshot","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/account","href":"/api-reference/account/account-snapshot"}]},{"group":"Phone Numbers","pages":[{"title":"List owned phone numbers","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/phone-numbers","href":"/api-reference/phone-numbers/list-owned-phone-numbers"},{"title":"Purchase a new phone number","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/phone-numbers","href":"/api-reference/phone-numbers/purchase-a-new-phone-number"},{"title":"Retrieve a phone number","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/phone-numbers/{id}","href":"/api-reference/phone-numbers/retrieve-a-phone-number"},{"title":"Update a phone number's settings","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/phone-numbers/{id}","href":"/api-reference/phone-numbers/update-a-phone-numbers-settings"},{"title":"Release a phone number","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/phone-numbers/{id}","href":"/api-reference/phone-numbers/release-a-phone-number"},{"title":"Check live CNAM status","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/phone-numbers/{id}/cnam-status","href":"/api-reference/phone-numbers/check-live-cnam-status"},{"title":"Search available phone numbers","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/phone-numbers/search","href":"/api-reference/phone-numbers/search-available-phone-numbers"}]},{"group":"Caller IDs","pages":[{"title":"List caller IDs","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-ids","href":"/api-reference/caller-ids/list-caller-ids"},{"title":"Start caller ID verification","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-ids","href":"/api-reference/caller-ids/start-caller-id-verification"},{"title":"Update CNAM display name","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/caller-ids/{id}","href":"/api-reference/caller-ids/update-cnam-display-name"},{"title":"Revoke a caller ID","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/caller-ids/{id}","href":"/api-reference/caller-ids/revoke-a-caller-id"},{"title":"Submit verification code","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-ids/{id}/verify","href":"/api-reference/caller-ids/submit-verification-code"}]},{"group":"Calls","pages":[{"title":"Placing \u0026 Load-Testing Calls","sidebarTitle":"Load Testing","href":"/api-reference/load-testing"},{"title":"List calls","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/calls","href":"/api-reference/calls/list-calls"},{"title":"Place an outbound AI call","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/calls","href":"/api-reference/calls/place-an-outbound-ai-call"},{"title":"Bridge two phone numbers (from_number ↔ destination)","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/calls/dial","href":"/api-reference/calls/bridge-two-phone-numbers-from_number-↔-destination"},{"title":"Retrieve a single call","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/calls/{id}","href":"/api-reference/calls/retrieve-a-single-call"},{"title":"Retrieve a call transcript","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/calls/{id}/transcript","href":"/api-reference/calls/retrieve-a-call-transcript"},{"title":"Hang up a call","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/calls/{id}/hangup","href":"/api-reference/calls/hang-up-a-call"}]},{"group":"Agents","pages":[{"title":"List AI agents","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents","href":"/api-reference/agents/list-ai-agents"},{"title":"Get an AI agent","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/agents/{id}","href":"/api-reference/agents/get-an-ai-agent"},{"title":"Configure an AI agent","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/agents/{id}","href":"/api-reference/agents/configure-an-ai-agent"},{"title":"Start a browser call with an AI agent","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/agents/{id}/web-call","href":"/api-reference/agents/start-a-browser-call-with-an-ai-agent"}]},{"group":"Calling","pages":[{"title":"Choosing a calling path","sidebarTitle":"Calling Paths","href":"/api-reference/calling-paths"},{"title":"WebRTC security model","sidebarTitle":"WebRTC Security","href":"/api-reference/webrtc-security"},{"title":"Bounded client tokens","sidebarTitle":"Client Tokens","href":"/api-reference/client-tokens"},{"title":"Mint a bounded client token","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/client-tokens","href":"/api-reference/webrtc/mint-a-bounded-client-token"},{"title":"Issue a scoped WebRTC calling token","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webrtc-token","href":"/api-reference/webrtc/issue-a-scoped-webrtc-calling-token"},{"title":"Issue a room-join token for private browser calling","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/room-token","href":"/api-reference/webrtc/issue-a-room-join-token-for-private-browser-calling"}]},{"group":"SMS","pages":[{"title":"Send an SMS message","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sms/send","href":"/api-reference/sms/send-an-sms-message"},{"title":"List SMS messages","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/messages","href":"/api-reference/sms/list-sms-messages"},{"title":"Get an SMS message","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/messages/{id}","href":"/api-reference/sms/get-an-sms-message"},{"title":"Get workspace SMS auto-reply settings","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sms/config","href":"/api-reference/sms/get-workspace-sms-auto-reply-settings"},{"title":"Update workspace SMS auto-reply settings","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/sms/config","href":"/api-reference/sms/update-workspace-sms-auto-reply-settings"},{"title":"Get a number's SMS auto-reply override","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/phone-numbers/{id}/sms-config","href":"/api-reference/sms/get-a-numbers-sms-auto-reply-override"},{"title":"Set a number's SMS auto-reply override","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/phone-numbers/{id}/sms-config","href":"/api-reference/sms/set-a-numbers-sms-auto-reply-override"},{"title":"GET /v1/sms/stream","sidebarTitle":"Stream Inbound SMS","api":"GET https://api.revdesk.com/v1/sms/stream","href":"/api-reference/sms/stream"}]},{"group":"Contacts","pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Create or update a contact","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/contacts","href":"/api-reference/contacts/create-or-update-a-contact"},{"title":"Get a contact","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/contacts/{id}","href":"/api-reference/contacts/get-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/contacts/{id}","href":"/api-reference/contacts/update-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/contacts/{id}","href":"/api-reference/contacts/delete-a-contact"}]},{"group":"Appointments","pages":[{"title":"List appointments","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/appointments","href":"/api-reference/appointments/list-appointments"}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Create a task","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/tasks","href":"/api-reference/tasks/create-a-task"},{"title":"Retrieve a task","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/tasks/{taskId}","href":"/api-reference/tasks/retrieve-a-task"}]},{"group":"Webhooks","pages":[{"title":"RevDesk Webhooks","sidebarTitle":"RevDesk Webhooks","href":"/api-reference/webhooks"},{"title":"List webhook subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/webhook_subscriptions","href":"/api-reference/webhooks/list-webhook-subscriptions"},{"title":"Create a webhook subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/webhook_subscriptions","href":"/api-reference/webhooks/create-a-webhook-subscription"},{"title":"Delete a webhook subscription","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/webhook_subscriptions/{id}","href":"/api-reference/webhooks/delete-a-webhook-subscription"}]},{"group":"Optimize","pages":[{"title":"Optimize","sidebarTitle":"Overview","href":"/api-reference/optimize"},{"title":"List website tests","description":"Returns the workspace's website tests, newest first. Filter by `status` and page with `limit` and `offset`. `property_id` is optional while a workspace has one website.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/optimize/tests","href":"/api-reference/optimize/list-website-tests"},{"title":"Create a website test","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/optimize/tests","href":"/api-reference/optimize/create-a-website-test"},{"title":"Get a website test","description":"Returns a single website test with its goal and variants.","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/optimize/tests/{id}","href":"/api-reference/optimize/get-a-website-test"},{"title":"Update a website test","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/optimize/tests/{id}","href":"/api-reference/optimize/update-a-website-test"},{"title":"Archive a website test","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/optimize/tests/{id}","href":"/api-reference/optimize/archive-a-website-test"},{"title":"Ship a website test","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/optimize/tests/{id}/ship","href":"/api-reference/optimize/ship-a-website-test"},{"title":"Get website test results","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/optimize/tests/{id}/results","href":"/api-reference/optimize/get-website-test-results"},{"title":"List conversions for a website test","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/optimize/conversions","href":"/api-reference/optimize/list-conversions-for-a-website-test"},{"title":"Record a conversion","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/optimize/conversions","href":"/api-reference/optimize/record-a-conversion"},{"title":"List site properties","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/optimize/properties","href":"/api-reference/optimize/list-site-properties"},{"title":"Get the site tag","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/optimize/snippet","href":"/api-reference/optimize/get-the-site-tag"}]},{"group":"Caller Trust","pages":[{"title":"Registration Requirements","sidebarTitle":"Requirements","href":"/api-reference/enterprise-registration"},{"group":"Enterprise Registration","pages":[{"title":"Get the caller's enterprise registration","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/enterprise","href":"/api-reference/enterprise-registration/get-the-callers-enterprise-registration"},{"title":"Create or update the caller's enterprise registration draft","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/enterprise","href":"/api-reference/enterprise-registration/create-or-update-the-callers-enterprise-registration-draft"},{"title":"Delete the caller's enterprise registration","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/caller-trust/enterprise","href":"/api-reference/enterprise-registration/delete-the-callers-enterprise-registration"},{"title":"Submit enterprise to the carrier","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/enterprise/submit","href":"/api-reference/enterprise-registration/submit-enterprise-to-the-carrier"},{"title":"Sign LOA + submit enterprise to carrier","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/enterprise/sign-and-submit","href":"/api-reference/enterprise-registration/sign-loa-+-submit-enterprise-to-carrier"},{"title":"Generate LOA PDF for hand-signing","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/enterprise/generate-loa","href":"/api-reference/enterprise-registration/generate-loa-pdf-for-hand-signing"},{"title":"Re-sign the LOA for an enterprise","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/enterprise/resign","href":"/api-reference/enterprise-registration/re-sign-the-loa-for-an-enterprise"},{"group":"By ID","pages":[{"title":"Get an enterprise registration by ID","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/enterprise/{id}","href":"/api-reference/enterprise-registration/get-an-enterprise-registration-by-id"},{"title":"Update a DRAFT enterprise registration","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/caller-trust/enterprise/{id}","href":"/api-reference/enterprise-registration/update-a-draft-enterprise-registration"},{"title":"Delete an enterprise registration by ID","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/caller-trust/enterprise/{id}","href":"/api-reference/enterprise-registration/delete-an-enterprise-registration-by-id"},{"title":"Submit enterprise to the carrier (by ID)","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/enterprise/{id}/submit","href":"/api-reference/enterprise-registration/submit-enterprise-to-the-carrier-by-id"},{"title":"Sign LOA + submit enterprise to carrier (by ID)","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/enterprise/{id}/sign-and-submit","href":"/api-reference/enterprise-registration/sign-loa-+-submit-enterprise-to-carrier-by-id"},{"title":"Generate LOA PDF for hand-signing (by ID)","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/enterprise/{id}/generate-loa","href":"/api-reference/enterprise-registration/generate-loa-pdf-for-hand-signing-by-id"},{"title":"Re-sign the LOA for an enterprise (by ID)","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/enterprise/{id}/resign","href":"/api-reference/enterprise-registration/re-sign-the-loa-for-an-enterprise-by-id"}]}]},{"group":"Branded Calling","pages":[{"title":"Branded Calling","sidebarTitle":"Branded Calling","href":"/api-reference/branded-calling"},{"title":"Retrieve the caller's Display Identity Record (brand)","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/brand","href":"/api-reference/branded-calling/retrieve-the-callers-display-identity-record-brand"},{"title":"Save (or update) the Display Identity Record draft","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/caller-trust/brand","href":"/api-reference/branded-calling/save-or-update-the-display-identity-record-draft"},{"title":"Submit the brand profile for vetting","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/brand/submit","href":"/api-reference/branded-calling/submit-the-brand-profile-for-vetting"}]},{"group":"Registration Profile","pages":[{"title":"Get the workspace's Free Caller Registry registration profile","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/registration-profile","href":"/api-reference/number-registration/get-the-workspaces-free-caller-registry-registration-profile"},{"title":"Set the workspace's Free Caller Registry registration profile","deprecated":null,"version":null,"openapi":"/openapi.json put /v1/caller-trust/registration-profile","href":"/api-reference/number-registration/set-the-workspaces-free-caller-registry-registration-profile"}]},{"group":"Reputation","pages":[{"title":"Get Number Reputation enrollment settings","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/reputation","href":"/api-reference/reputation/get-number-reputation-enrollment-settings"},{"title":"Enable Number Reputation monitoring","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/reputation","href":"/api-reference/reputation/enable-number-reputation-monitoring"},{"title":"Update reputation check frequency","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/caller-trust/reputation","href":"/api-reference/reputation/update-reputation-check-frequency"},{"title":"Disable Number Reputation monitoring","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/caller-trust/reputation","href":"/api-reference/reputation/disable-number-reputation-monitoring"},{"title":"List reputation scores for every enrolled number","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/reputation/numbers","href":"/api-reference/reputation/list-reputation-scores-for-every-enrolled-number"},{"title":"Enroll phone numbers in reputation monitoring","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/reputation/numbers","href":"/api-reference/reputation/enroll-phone-numbers-in-reputation-monitoring"},{"title":"Get reputation scores for a phone number","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/reputation/numbers/{phone}","href":"/api-reference/reputation/get-reputation-scores-for-a-phone-number"},{"title":"Disenroll a phone number from reputation monitoring","deprecated":null,"version":null,"openapi":"/openapi.json delete /v1/caller-trust/reputation/numbers/{phone}","href":"/api-reference/reputation/disenroll-a-phone-number-from-reputation-monitoring"},{"title":"List remediation requests","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/reputation/remediations","href":"/api-reference/reputation/list-remediation-requests"},{"title":"Submit numbers for spam-label remediation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/reputation/remediations","href":"/api-reference/reputation/submit-numbers-for-spam-label-remediation"},{"title":"Get a remediation request","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/reputation/remediations/{id}","href":"/api-reference/reputation/get-a-remediation-request"}]},{"group":"Documents","pages":[{"title":"Upload a document (e.g. signed LOA)","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/caller-trust/documents","href":"/api-reference/documents/upload-a-document-eg-signed-loa"},{"title":"Get document status","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/caller-trust/documents/{id}","href":"/api-reference/documents/get-document-status"}]}]},{"group":"Number Health","pages":[{"title":"Number Health and Spam Test sessions","sidebarTitle":"Overview \u0026 workflow","href":"/api-reference/number-health"},{"title":"Get the canonical Number Health evidence policy","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/number-health/policy","href":"/api-reference/number-health/get-the-canonical-number-health-evidence-policy"},{"title":"List authoritative number-health evidence","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/number-health/numbers","href":"/api-reference/number-health/list-authoritative-number-health-evidence"},{"title":"List Number Sets","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/number-health/sets","href":"/api-reference/number-health/list-number-sets"},{"title":"Create a Number Set","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/number-health/sets","href":"/api-reference/number-health/create-a-number-set"},{"title":"Update a Number Set and its member roles","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/number-health/sets/{id}","href":"/api-reference/number-health/update-a-number-set-and-its-member-roles"},{"title":"Resolve a Number Set caller ID","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/number-health/sets/{id}/resolve","href":"/api-reference/number-health/resolve-a-number-set-caller-id"},{"title":"Start a resumable Number Health test session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/number-health/sessions","href":"/api-reference/number-health/start-a-resumable-number-health-test-session"},{"title":"Resume a Number Health test session","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/number-health/sessions/{id}","href":"/api-reference/number-health/resume-a-number-health-test-session"},{"title":"Pause, resume, or close a Number Health session","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/number-health/sessions/{id}","href":"/api-reference/number-health/pause-resume-or-close-a-number-health-session"},{"title":"Read carrier-confirmed inbound test progress","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/number-health/sessions/{id}/inbound","href":"/api-reference/number-health/read-carrier-confirmed-inbound-test-progress"},{"title":"Attach a real call to a Number Health session","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/number-health/sessions/{id}/attempts","href":"/api-reference/number-health/attach-a-real-call-to-a-number-health-session"},{"title":"Record or revise a carrier/handset observation","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/number-health/attempts/{id}/observation","href":"/api-reference/number-health/record-or-revise-a-carrierhandset-observation"}]},{"group":"Number Registration","pages":[{"title":"List number registrations","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/number-registrations","href":"/api-reference/number-registration/list-number-registrations"},{"title":"Get a number registration","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/number-registrations/{id}","href":"/api-reference/number-registration/get-a-number-registration"}]},{"group":"Usage","pages":[{"title":"Current-month usage rollup","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage","href":"/api-reference/usage/current-month-usage-rollup"},{"title":"Per-phone usage","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/usage/{phoneId}","href":"/api-reference/usage/per-phone-usage"}]},{"group":"Sub-entities","pages":[{"title":"List sub-entities under the caller's umbrella organization","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sub-entities","href":"/api-reference/sub-entities/list-sub-entities-under-the-callers-umbrella-organization"},{"title":"Create a sub-entity under the caller's umbrella organization","deprecated":null,"version":null,"openapi":"/openapi.json post /v1/sub-entities","href":"/api-reference/sub-entities/create-a-sub-entity-under-the-callers-umbrella-organization"},{"title":"Retrieve a sub-entity","deprecated":null,"version":null,"openapi":"/openapi.json get /v1/sub-entities/{id}","href":"/api-reference/sub-entities/retrieve-a-sub-entity"},{"title":"Update a sub-entity","deprecated":null,"version":null,"openapi":"/openapi.json patch /v1/sub-entities/{id}","href":"/api-reference/sub-entities/update-a-sub-entity"}]},{"group":"Deprecated","pages":[{"title":"List tasks (legacy path)","deprecated":true,"version":null,"openapi":"/openapi.json get /v1/jobs","href":"/api-reference/tasks/list-tasks-legacy-path"},{"title":"Create a task (legacy path)","deprecated":true,"version":null,"openapi":"/openapi.json post /v1/jobs","href":"/api-reference/tasks/create-a-task-legacy-path"},{"title":"Retrieve a task (legacy path)","deprecated":true,"version":null,"openapi":"/openapi.json get /v1/jobs/{jobId}","href":"/api-reference/tasks/retrieve-a-task-legacy-path"}]}]}]},"title":"Create a website test - RevDesk","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}