A JSON version of this endpoint,
Create or Update Project (v1.5), is available.
It accepts the FTC Org Id and SAN as separate fields, validates them asynchronously with a
webhook, and accepts Louisiana / Oklahoma registration proof. This endpoint remains fully
supported; nothing changes for existing integrations.
Programmatically create new Projects or update existing ones. Projects are the
top-level container in DNCScrub for organizing campaigns, scrub options, and
Internal DNC lists.If the supplied project_code already exists, the endpoint updates the
existing Project. If it does not exist, a new Project is created with a
default Campaign.
Request
Headers
string
required
Your API Key
Query / Form Parameters
string
required
Project code to insert or update. Will be uppercased and trimmed.If your account has auto-prefixing enabled, the prefix <acctId>_ is added
automatically when missing.Pass projId=<acctId> instead of project_code to operate on the Master
Project.
string
required
Display name of the Project.
string
FTC Org Id or SAN. When supplied on a new Project, the value is validated
against the FTC; if a SAN is supplied, the corresponding Org Id is resolved
and stored.
string
Internal handler override. The endpoint normally infers this:
insert_project - new project (auto-selected when project_code does not exist)
update_project - update existing project (auto-selected when it exists)
deactivate_project - mark project inactive
reactivate_project - reactivate an inactive project
string
Pass xml to return a full XML document describing the resulting Project,
its Campaigns, and (for SmartBlock-enabled accounts) SmartBlock settings.
string
Free-form project notes.
boolean
Inherit the Master Project’s Internal DNC / DNM database.
boolean
Inherit the Master Project’s EBR / override database.
boolean
Inherit the Master Project’s DNC policy.
boolean
Inherit the Master Project’s national DNC subscription.
const body = new URLSearchParams({ project_code: "ACME_Q4", project_name: "ACME Q4 Outbound", nat_dnc_org_id: "12345678",});const res = await fetch("https://www.dncscrub.com/app/main/rpc/project", { method: "POST", headers: { loginId: "YOUR_API_KEY", "Content-Type": "application/x-www-form-urlencoded", }, body,});console.log(res.status); // 201 on create, 200 on update
using (var client = new HttpClient()){ client.DefaultRequestHeaders.Add("loginId", "YOUR_API_KEY"); var form = new FormUrlEncodedContent(new[] { new KeyValuePair<string, string>("project_code", "ACME_Q4"), new KeyValuePair<string, string>("project_name", "ACME Q4 Outbound"), new KeyValuePair<string, string>("nat_dnc_org_id", "12345678"), }); var res = await client.PostAsync( "https://www.dncscrub.com/app/main/rpc/project", form);}
Response
Status Code
Meaning
200
Project updated successfully (no body unless output=xml)
201
Project created successfully (no body unless output=xml)
400
Validation or save error - reason phrase contains the error message
403
Project exists but is inactive (use handler=reactivate_project)
When output=xml is supplied, the response body is an XML document rooted at
<DncCompliance><DncScrub><Accounts><Account><Projects>...</Projects></Account></Accounts></DncScrub></DncCompliance>
containing the Project, its Campaigns, and any FTC Org Id metadata that was
just resolved.
Reactivating an Inactive Project
If project_code matches an inactive Project, the endpoint returns 403 Inactive Project unless you explicitly request reactivation:
There is no separate list endpoint - this same endpoint returns a full project
enumeration when you target the Master Project with output=xml and no fields
to update. Because no fields change, the call is read-only:
curl --location --request GET \ 'https://www.dncscrub.com/app/main/rpc/project?projId=YOUR_ACCT_ID&output=xml' \ --header 'loginId: YOUR_API_KEY'
The XML response lists every Project the account can access (including
cross-account projects), each Project’s Campaigns, and each Campaign’s status.
To list a single Project instead, pass that Project’s projId rather than your
account ID.To get details for a single Project, pass that Project’s projId:
curl --location --request GET \ 'https://www.dncscrub.com/app/main/rpc/project?projId=ACME_Q4&output=xml' \ --header 'loginId: YOUR_API_KEY'
Best Practices
Idempotent Upserts
The same request creates a Project on first call and updates it on
subsequent calls. Use the HTTP status code (201 vs 200) to tell the
cases apart.
Use output=xml on Create
Adding output=xml to a create request returns the new Project’s full
record (including the auto-created default Campaign) so you don’t need a
follow-up call to get its IDs.
FTC Org Id Validation
Supplying nat_dnc_org_id on a new Project triggers FTC validation. Make
sure the Org Id (or SAN) is correct, or the create will fail with an FTC
error message.
Project Code Rules
Project codes are uppercased automatically. Avoid the _ character in your
raw code if your account uses auto-prefixing - the prefix delimiter is
_.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Contact Center Compliance, a Sonera company","colors":{"primary":"#0891B2","light":"#06B6D4","dark":"#0E7490"},"logo":{"light":"https://mintcdn.com/contactcentercompliance/6ilUD822nwmRYi_k/logo/CCC-logo-with-text-light.svg?fit=max\u0026auto=format\u0026n=6ilUD822nwmRYi_k\u0026q=85\u0026s=3456f2cee7a1ed96c2ea5c7d351b17cb","dark":"https://mintcdn.com/contactcentercompliance/6ilUD822nwmRYi_k/logo/CCC-logo-with-text-dark.svg?fit=max\u0026auto=format\u0026n=6ilUD822nwmRYi_k\u0026q=85\u0026s=8bf82650b0ae2089572534a57dae9955"},"favicon":"https://mintcdn.com/contactcentercompliance/yYr_bfAzMyFQXGHf/favicon.png?fit=max\u0026auto=format\u0026n=yYr_bfAzMyFQXGHf\u0026q=85\u0026s=fbd19f8dc2a32f106bfadb158ca0f820","api":{"playground":{}},"appearance":{"default":"light"},"background":{"decoration":"grid"},"navbar":{"links":[{"icon":"building","href":"https://sonera.co","label":"A Sonera company"},{"icon":"signal-bars","href":"https://status.dncscrub.com","label":"Status"},{"icon":"envelope","href":"mailto:support@dnc.com","label":"Support"}],"primary":{"type":"button","label":"DNCScrub Portal","href":"https://www.dncscrub.com"}},"footer":{"links":[{"items":[{"label":"DNCScrub Portal","href":"https://www.dncscrub.com"},{"label":"DNC.com Home","href":"https://www.dnc.com"},{"label":"Sonera","href":"https://sonera.co"}]},{"items":[{"label":"System Status","href":"https://status.dncscrub.com"},{"label":"Contact Support","href":"mailto:support@dnc.com"}]}]},"search":{"prompt":"Search documentation..."},"seo":{"metatags":{"og:site_name":"Contact Center Compliance, a Sonera company","og:description":"DNCScrub API and integration documentation from Contact Center Compliance, a Sonera company: TCPA compliance, DNC scrubbing, litigator detection, reassigned numbers, call deliverability.","twitter:card":"summary_large_image"}},"contextual":{"options":["copy","chatgpt","claude","cursor","vscode","mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"contactcentercompliance","hasAudioNarration":false,"actualSubdomain":"contactcentercompliance","customDomains":["docs.dncscrub.com"],"gitSource":{"type":"github","owner":"contactcentercompliance","repo":"dnc-platform","deployBranch":"main","contentDirectory":"mintlify-documentation","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af0ce5a6412adac012942d9","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API","count":67},{"language":"default","tag":"MCP Server for AI Applications","count":38},{"language":"default","tag":"Call Deliverability (TrustCall)","count":13},{"language":"default","tag":"Other APIs","count":12},{"language":"default","tag":"Reassigned Scrub","count":12},{"language":"default","tag":"Full Scrub","count":10},{"language":"default","tag":"Integrations","count":10},{"language":"default","tag":"Data Enhancement","count":7},{"language":"default","tag":"Getting Started","count":4},{"language":"default","tag":"GeoScrub","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".navbar-logo img,img[alt*=\"logo\"],img[src*=\"/logo/\"]{height:50px!important;max-height:50px!important;width:auto!important}#navbar>.max-w-8xl,#navbar+div{max-width:100%!important;margin-left:0!important;margin-right:0!important}.prose :where(img):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){margin-top:0px!important;margin-bottom:0px!important}"}]}
{"page":{"pagePath":"api-reference/other/project-create","slug":"/api-reference/other/project-create","pageMetadata":{"title":"Create or Update Project","description":"Create a new Project or update an existing Project's settings","api":"POST https://www.dncscrub.com/app/main/rpc/project","href":"/api-reference/other/project-create"},"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: \"Create a new Project or update an existing Project’s settings\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,CodeGroup,Heading,Note,ParamField,Table}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`A JSON version of this endpoint,\n`,_jsx(_components.a,{href:`/api-reference/other/projects-upsert`,children:`Create or Update Project (v1.5)`}),`, is available.\nIt accepts the FTC Org Id and SAN as separate fields, validates them asynchronously with a\nwebhook, and accepts Louisiana / Oklahoma registration proof. This endpoint remains fully\nsupported; nothing changes for existing integrations.`]})}),`\n`,_jsx(_components.p,{children:`Programmatically create new Projects or update existing ones. Projects are the\ntop-level container in DNCScrub for organizing campaigns, scrub options, and\nInternal DNC lists.`}),`\n`,_jsxs(_components.p,{children:[`If the supplied `,_jsx(_components.code,{children:`project_code`}),` already exists, the endpoint updates the\nexisting Project. If it does not exist, a new Project is created with a\ndefault Campaign.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`loginId`,type:`string`,required:true,id:`param-login-id`,children:_jsx(_components.p,{children:`Your API Key`})}),`\n`,_jsx(Heading,{level:`3`,id:`query-/-form-parameters`,children:`Query / Form Parameters`}),`\n`,_jsxs(ParamField,{query:`project_code`,type:`string`,required:true,id:`param-project-code`,children:[_jsx(_components.p,{children:`Project code to insert or update. Will be uppercased and trimmed.`}),_jsxs(_components.p,{children:[`If your account has auto-prefixing enabled, the prefix `,_jsx(_components.code,{children:`\u003cacctId>_`}),` is added\nautomatically when missing.`]}),_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`projId=\u003cacctId>`}),` instead of `,_jsx(_components.code,{children:`project_code`}),` to operate on the Master\nProject.`]})]}),`\n`,_jsx(ParamField,{query:`project_name`,type:`string`,required:true,id:`param-project-name`,children:_jsx(_components.p,{children:`Display name of the Project.`})}),`\n`,_jsx(ParamField,{query:`nat_dnc_org_id`,type:`string`,id:`param-nat-dnc-org-id`,children:_jsx(_components.p,{children:`FTC Org Id or SAN. When supplied on a new Project, the value is validated\nagainst the FTC; if a SAN is supplied, the corresponding Org Id is resolved\nand stored.`})}),`\n`,_jsxs(ParamField,{query:`handler`,type:`string`,id:`param-handler`,children:[_jsx(_components.p,{children:`Internal handler override. The endpoint normally infers this:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`insert_project`}),` - new project (auto-selected when `,_jsx(_components.code,{children:`project_code`}),` does not exist)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`update_project`}),` - update existing project (auto-selected when it exists)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`deactivate_project`}),` - mark project inactive`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reactivate_project`}),` - reactivate an inactive project`]}),`\n`]})]}),`\n`,_jsx(ParamField,{query:`output`,type:`string`,id:`param-output`,children:_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`xml`}),` to return a full XML document describing the resulting Project,\nits Campaigns, and (for SmartBlock-enabled accounts) SmartBlock settings.`]})}),`\n`,_jsx(ParamField,{query:`notes`,type:`string`,id:`param-notes`,children:_jsx(_components.p,{children:`Free-form project notes.`})}),`\n`,_jsx(ParamField,{query:`use_master_dnc_dnm_database`,type:`boolean`,id:`param-use-master-dnc-dnm-database`,children:_jsx(_components.p,{children:`Inherit the Master Project’s Internal DNC / DNM database.`})}),`\n`,_jsx(ParamField,{query:`use_master_override_database`,type:`boolean`,id:`param-use-master-override-database`,children:_jsx(_components.p,{children:`Inherit the Master Project’s EBR / override database.`})}),`\n`,_jsx(ParamField,{query:`use_master_policy`,type:`boolean`,id:`param-use-master-policy`,children:_jsx(_components.p,{children:`Inherit the Master Project’s DNC policy.`})}),`\n`,_jsx(ParamField,{query:`use_master_nat_sub`,type:`boolean`,id:`param-use-master-nat-sub`,children:_jsx(_components.p,{children:`Inherit the Master Project’s national DNC subscription.`})}),`\n`,_jsx(ParamField,{query:`use_master_training`,type:`boolean`,id:`param-use-master-training`,children:_jsx(_components.p,{children:`Inherit the Master Project’s training materials.`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL (Create)`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.dncscrub.com/app/main/rpc/project'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'loginId: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'project_code=ACME_Q4'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'project_name=ACME Q4 Outbound'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'nat_dnc_org_id=12345678'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL (Update)`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.dncscrub.com/app/main/rpc/project'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'loginId: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'project_code=ACME_Q4'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'project_name=ACME Q4 (renamed)'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL (Create + XML response)`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.dncscrub.com/app/main/rpc/project?output=xml'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'loginId: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'project_code=ACME_Q4'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'project_name=ACME Q4 Outbound'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`16`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` body`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` URLSearchParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` project_code:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ACME_Q4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` project_name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ACME Q4 Outbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` nat_dnc_org_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"12345678\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://www.dncscrub.com/app/main/rpc/project\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` loginId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/x-www-form-urlencoded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`status`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// 201 on create, 200 on update`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`C#`,numberOfLines:`14`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` HttpClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DefaultRequestHeaders`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Add`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"loginId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` form`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` FormUrlEncodedContent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` KeyValuePair`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"project_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ACME_Q4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` KeyValuePair`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"project_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ACME Q4 Outbound\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` KeyValuePair`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"nat_dnc_org_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345678\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`PostAsync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://www.dncscrub.com/app/main/rpc/project\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`form`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status Code`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsxs(_components.td,{children:[`Project updated successfully (no body unless `,_jsx(_components.code,{children:`output=xml`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`201`})}),_jsxs(_components.td,{children:[`Project created successfully (no body unless `,_jsx(_components.code,{children:`output=xml`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Validation or save error - reason phrase contains the error message`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsxs(_components.td,{children:[`Project exists but is inactive (use `,_jsx(_components.code,{children:`handler=reactivate_project`}),`)`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`output=xml`}),` is supplied, the response body is an XML document rooted at\n`,_jsx(_components.code,{children:`\u003cDncCompliance>\u003cDncScrub>\u003cAccounts>\u003cAccount>\u003cProjects>...\u003c/Projects>\u003c/Account>\u003c/Accounts>\u003c/DncScrub>\u003c/DncCompliance>`}),`\ncontaining the Project, its Campaigns, and any FTC Org Id metadata that was\njust resolved.`]}),`\n`,_jsx(Heading,{level:`2`,id:`reactivating-an-inactive-project`,children:`Reactivating an Inactive Project`}),`\n`,_jsxs(_components.p,{children:[`If `,_jsx(_components.code,{children:`project_code`}),` matches an inactive Project, the endpoint returns `,_jsx(_components.code,{children:`403 Inactive Project`}),` unless you explicitly request reactivation:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.dncscrub.com/app/main/rpc/project'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'loginId: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'project_code=ACME_Q4'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'project_name=ACME Q4 Outbound'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'handler=reactivate_project'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`master-project-operations`,children:`Master Project Operations`}),`\n`,_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`projId=\u003cacctId>`}),` (with no `,_jsx(_components.code,{children:`project_code`}),`) to update settings on your\naccount’s Master Project:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.dncscrub.com/app/main/rpc/project'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'loginId: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'projId=YOUR_ACCT_ID'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'nat_dnc_org_id=12345678'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`listing-all-projects`,children:`Listing All Projects`}),`\n`,_jsxs(_components.p,{children:[`There is no separate list endpoint - this same endpoint returns a full project\nenumeration when you target the Master Project with `,_jsx(_components.code,{children:`output=xml`}),` and no fields\nto update. Because no fields change, the call is read-only:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.dncscrub.com/app/main/rpc/project?projId=YOUR_ACCT_ID\u0026output=xml'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'loginId: YOUR_API_KEY'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The XML response lists every Project the account can access (including\ncross-account projects), each Project’s Campaigns, and each Campaign’s status.\nTo list a single Project instead, pass that Project’s `,_jsx(_components.code,{children:`projId`}),` rather than your\naccount ID.`]}),`\n`,_jsxs(_components.p,{children:[`To get details for a single Project, pass that Project’s `,_jsx(_components.code,{children:`projId`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://www.dncscrub.com/app/main/rpc/project?projId=ACME_Q4\u0026output=xml'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'loginId: YOUR_API_KEY'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Idempotent Upserts`,id:`idempotent-upserts`,children:_jsxs(_components.p,{children:[`The same request creates a Project on first call and updates it on\nsubsequent calls. Use the HTTP status code (`,_jsx(_components.code,{children:`201`}),` vs `,_jsx(_components.code,{children:`200`}),`) to tell the\ncases apart.`]})}),_jsx(Accordion,{title:`Use output=xml on Create`,id:`use-output-xml-on-create`,children:_jsxs(_components.p,{children:[`Adding `,_jsx(_components.code,{children:`output=xml`}),` to a create request returns the new Project’s full\nrecord (including the auto-created default Campaign) so you don’t need a\nfollow-up call to get its IDs.`]})}),_jsx(Accordion,{title:`FTC Org Id Validation`,id:`ftc-org-id-validation`,children:_jsxs(_components.p,{children:[`Supplying `,_jsx(_components.code,{children:`nat_dnc_org_id`}),` on a new Project triggers FTC validation. Make\nsure the Org Id (or SAN) is correct, or the create will fail with an FTC\nerror message.`]})}),_jsx(Accordion,{title:`Project Code Rules`,id:`project-code-rules`,children:_jsxs(_components.p,{children:[`Project codes are uppercased automatically. Avoid the `,_jsx(_components.code,{children:`_`}),` character in your\nraw code if your account uses auto-prefixing - the prefix delimiter is\n`,_jsx(_components.code,{children:`_`}),`.`]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create or Update Project","description":"Create a new Project or update an existing Project's settings","api":"POST https://www.dncscrub.com/app/main/rpc/project","href":"/api-reference/other/project-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Query / Form Parameters","slug":"query-/-form-parameters","depth":3,"children":[]}]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Reactivating an Inactive Project","slug":"reactivating-an-inactive-project","depth":2,"children":[]},{"title":"Master Project Operations","slug":"master-project-operations","depth":2,"children":[]},{"title":"Listing All Projects","slug":"listing-all-projects","depth":2,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Create or Update Project","path":"/app/main/rpc/project","servers":[{"url":"https://www.dncscrub.com"}],"method":"post","request":{"security":[],"parameters":{"query":{"project_code":{"schema":[{"type":"string","description":"Project code to insert or update. Will be uppercased and trimmed. If your account has auto-prefixing enabled, the prefix `\u003cacctId>_` is added automatically when missing. Pass `projId=\u003cacctId>` instead of `project_code` to operate on the Master Project.","required":true}]},"project_name":{"schema":[{"type":"string","description":"Display name of the Project.","required":true}]},"nat_dnc_org_id":{"schema":[{"type":"string","description":"FTC Org Id or SAN. When supplied on a new Project, the value is validated against the FTC; if a SAN is supplied, the corresponding Org Id is resolved and stored."}]},"handler":{"schema":[{"type":"string","description":"Internal handler override. The endpoint normally infers this: `insert_project` - new project (auto-selected when `project_code` does not exist) `update_project` - update existing project (auto-selected when it exists) `deactivate_project` - mark project inactive `reactivate_project` - reactivate an inactive project"}]},"output":{"schema":[{"type":"string","description":"Pass `xml` to return a full XML document describing the resulting Project, its Campaigns, and (for SmartBlock-enabled accounts) SmartBlock settings."}]},"notes":{"schema":[{"type":"string","description":"Free-form project notes."}]},"use_master_dnc_dnm_database":{"schema":[{"type":"boolean","description":"Inherit the Master Project’s Internal DNC / DNM database."}]},"use_master_override_database":{"schema":[{"type":"boolean","description":"Inherit the Master Project’s EBR / override database."}]},"use_master_policy":{"schema":[{"type":"boolean","description":"Inherit the Master Project’s DNC policy."}]},"use_master_nat_sub":{"schema":[{"type":"boolean","description":"Inherit the Master Project’s national DNC subscription."}]},"use_master_training":{"schema":[{"type":"boolean","description":"Inherit the Master Project’s training materials."}]}},"header":{"loginId":{"schema":[{"type":"string","description":"Your API Key","required":true}]}},"cookie":{},"path":{}},"body":{}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"contactcentercompliance","siteName":"Contact Center Compliance, a Sonera company","title":"Create or Update Project - Contact Center Compliance, a Sonera company","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-16T01:04:57.747Z","originalFileLocation":"api-reference/other/project-create.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=\"Create a new Project or update an existing Project\u0026#x27;s settings\">\u003cmeta data-mint-head name=\"application-name\" content=\"Contact Center Compliance, a Sonera company\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/contactcentercompliance/xhfGJsT7tKvbHzqe/_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/contactcentercompliance/xhfGJsT7tKvbHzqe/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/contactcentercompliance/xhfGJsT7tKvbHzqe/_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/contactcentercompliance/xhfGJsT7tKvbHzqe/_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/contactcentercompliance/xhfGJsT7tKvbHzqe/_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/contactcentercompliance/xhfGJsT7tKvbHzqe/_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/contactcentercompliance/xhfGJsT7tKvbHzqe/_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/contactcentercompliance/xhfGJsT7tKvbHzqe/_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/contactcentercompliance/xhfGJsT7tKvbHzqe/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create or Update Project - Contact Center Compliance, a Sonera company\">\u003cmeta data-mint-head property=\"og:description\" content=\"DNCScrub API and integration documentation from Contact Center Compliance, a Sonera company: TCPA compliance, DNC scrubbing, litigator detection, reassigned numbers, call deliverability.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Contact Center Compliance, a Sonera company\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dncscrub.com/api-reference/other/project-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://contactcentercompliance.mintlify.site/_mintlify/api/og/v2?division=Other+APIs\u0026amp;title=Create+or+Update+Project\u0026amp;description=Create+a+new+Project+or+update+an+existing+Project%27s+settings\u0026amp;theme=c99c9abf65e07033a2fea846\u0026amp;signature=108bb41691c840d2fce1ece7361870d550ed212b8368e580c1704444eb532ac6\">\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 Project - Contact Center Compliance, a Sonera company\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"DNCScrub API and integration documentation from Contact Center Compliance, a Sonera company: TCPA compliance, DNC scrubbing, litigator detection, reassigned numbers, call deliverability.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://contactcentercompliance.mintlify.site/_mintlify/api/og/v2?division=Other+APIs\u0026amp;title=Create+or+Update+Project\u0026amp;description=Create+a+new+Project+or+update+an+existing+Project%27s+settings\u0026amp;theme=c99c9abf65e07033a2fea846\u0026amp;signature=108bb41691c840d2fce1ece7361870d550ed212b8368e580c1704444eb532ac6\">\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/contactcentercompliance/xhfGJsT7tKvbHzqe/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Contact Center Compliance, a Sonera company\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0891B2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dncscrub.com/api-reference/other/project-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/other/project-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dncscrub.com/#organization\",\"name\":\"Contact Center Compliance, a Sonera company\",\"url\":\"https://docs.dncscrub.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/contactcentercompliance/6ilUD822nwmRYi_k/logo/CCC-logo-with-text-light.svg?fit=max\u0026auto=format\u0026n=6ilUD822nwmRYi_k\u0026q=85\u0026s=3456f2cee7a1ed96c2ea5c7d351b17cb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dncscrub.com#website\",\"name\":\"Contact Center Compliance, a Sonera company\",\"url\":\"https://docs.dncscrub.com\",\"publisher\":{\"@id\":\"https://docs.dncscrub.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dncscrub.com/api-reference/other/project-create#webpage\",\"url\":\"https://docs.dncscrub.com/api-reference/other/project-create\",\"name\":\"Create or Update Project\",\"description\":\"Create a new Project or update an existing Project's settings\",\"dateModified\":\"2026-10-16T01:04:57.747Z\",\"isPartOf\":{\"@id\":\"https://docs.dncscrub.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dncscrub.com/api-reference/other/project-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dncscrub.com/api-reference/other/project-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Other APIs\",\"item\":\"https://docs.dncscrub.com/api-reference/other/oauth-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create or Update Project\",\"item\":\"https://docs.dncscrub.com/api-reference/other/project-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dncscrub.com/api-reference/other/project-create#apireference\",\"headline\":\"Create or Update Project\",\"name\":\"Create or Update Project\",\"description\":\"Create a new Project or update an existing Project's settings\",\"url\":\"https://docs.dncscrub.com/api-reference/other/project-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dncscrub.com/api-reference/other/project-create#webpage\"},\"dateModified\":\"2026-10-16T01:04:57.747Z\",\"publisher\":{\"@id\":\"https://docs.dncscrub.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dncscrub.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Contact Center Compliance, a Sonera company\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Contact Center Compliance, a Sonera company\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/other/project-create.md","siteName":"Contact Center Compliance, a Sonera company","nav":{"global":null,"tabs":[{"tab":"Welcome","icon":"home","pages":[{"title":"Welcome","href":"/introduction"}]},{"tab":"API","icon":"book","groups":[{"group":"Getting Started","pages":[{"title":"API Overview","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"API Authentication","href":"/api-reference/authentication"},{"title":"API Concepts","sidebarTitle":"Concepts","href":"/api-reference/api-concepts"},{"title":"Rate Limits","sidebarTitle":"Rate Limits and Best Practices","href":"/api-reference/other/rate-limits"}]},{"group":"Full Scrub","pages":[{"title":"Full Scrub API Overview","href":"/api-reference/scrub/overview"},{"title":"Scrub Single Number","sidebarTitle":"Single Number","api":"GET https://www.dncscrub.com/app/main/rpc/scrub","href":"/api-reference/scrub/scrub-single"},{"title":"Scrub Multiple Numbers","api":"POST https://www.dncscrub.com/app/main/rpc/scrub","href":"/api-reference/scrub/scrub-multiple"},{"title":"Scrub + Add EBR","sidebarTitle":"Scrub + Add EBR","api":"POST https://www.dncscrub.com/app/main/rpc/scrub","href":"/api-reference/scrub/scrub-ebr"},{"title":"Compliance for AI Voice Agents","sidebarTitle":"AI Voice Agents","href":"/api-reference/scrub/ai-voice-agents"},{"title":"Scrub with Unique Identifiers","sidebarTitle":"Unique Identifiers","api":"GET https://www.dncscrub.com/app/main/rpc/scrub","href":"/api-reference/scrub/unique-identifier"},{"title":"Internal DNC List","api":"GET https://www.dncscrub.com/app/main/rpc/pdnc","href":"/api-reference/scrub/internal-dnc"},{"title":"EBR and Consent Master","sidebarTitle":"EBR and Consent","api":"POST https://www.dncscrub.com/app/main/rpc/ebr","href":"/api-reference/scrub/ebr-list"},{"title":"Handling Opt-Outs and Opt-Ins","sidebarTitle":"Opt-Outs \u0026 Opt-Ins","href":"/api-reference/scrub/opt-outs-and-opt-ins"},{"title":"Output Guide","href":"/api-reference/scrub/output-guide"}]},{"group":"Litigator-Only Scrub","pages":[{"title":"Litigator API","href":"/api-reference/litigator/overview"},{"title":"Litigator Scrub Single Number","sidebarTitle":"Litigator Scrub Single Number","api":"GET https://dataapi.dncscrub.com/v1.5/Scrub/litigator","href":"/api-reference/litigator/scrub-get"},{"title":"Litigator Scrub Multiple Numbers","sidebarTitle":"Litigator Scrub Multiple Numbers","api":"POST https://dataapi.dncscrub.com/v1.5/Scrub/litigator","href":"/api-reference/litigator/scrub-post"}]},{"group":"Reassigned Scrub","pages":[{"title":"Reassigned Scrub","sidebarTitle":"Reassigned Scrub","href":"/api-reference/reassigned/overview"},{"title":"RND Basic API","href":"/api-reference/reassigned/rnd-basic"},{"title":"RND Basic (GET)","api":"GET https://dataapi.dncscrub.com/v1.5/Data/RNDBasic","href":"/api-reference/reassigned/rnd-basic-get"},{"title":"RND Basic (POST)","api":"POST https://dataapi.dncscrub.com/v1.5/Data/RNDBasic","href":"/api-reference/reassigned/rnd-basic-post"},{"title":"Reassigned Authority Plus API","href":"/api-reference/reassigned/authority-plus"},{"title":"Reassigned Authority Plus (GET)","api":"GET https://dataapi.dncscrub.com/v1.5/Data/EnhancedRND","href":"/api-reference/reassigned/enhanced-rnd-get"},{"title":"Reassigned Authority Plus (POST)","api":"POST https://dataapi.dncscrub.com/v1.5/Data/EnhancedRND","href":"/api-reference/reassigned/enhanced-rnd-post"},{"title":"Reassigned Authority API","href":"/api-reference/reassigned/authority"},{"title":"Reassigned Authority (GET)","api":"GET https://dataapi.dncscrub.com/v1.5/Data/TCPAAuthority","href":"/api-reference/reassigned/authority-get"},{"title":"Reassigned Authority (POST)","api":"POST https://dataapi.dncscrub.com/v1.5/Data/TCPAAuthority","href":"/api-reference/reassigned/authority-post"},{"title":"File Formats","href":"/api-reference/reassigned/file-formats"},{"title":"Test Numbers","href":"/api-reference/reassigned/test-numbers"}]},{"group":"Call Deliverability (TrustCall)","pages":[{"title":"TrustCall Overview","href":"/api-reference/trustcall/overview"},{"title":"TrustCall Premier (Monitor) API","href":"/api-reference/trustcall/premier"},{"title":"Add Phone Numbers","api":"POST https://dataapi.dncscrub.com/v1.5/TrustCall/Add","href":"/api-reference/trustcall/add"},{"title":"Remove Phone Numbers","api":"POST https://dataapi.dncscrub.com/v1.5/TrustCall/Remove","href":"/api-reference/trustcall/remove"},{"title":"Get Spam Scores","api":"GET https://dataapi.dncscrub.com/v1.5/TrustCall/Get","href":"/api-reference/trustcall/get"},{"title":"Get All Spam Scores","api":"GET https://dataapi.dncscrub.com/v1.5/TrustCall/GetAll","href":"/api-reference/trustcall/get-all"},{"title":"Get All Legal Entities","api":"GET https://dataapi.dncscrub.com/v1.5/TrustCall/GetAllLegalEntities","href":"/api-reference/trustcall/get-all-legal-entities"},{"title":"Create Legal Entity","api":"POST https://dataapi.dncscrub.com/v1.5/legalentity/Create","href":"/api-reference/trustcall/legal-entity-create"},{"title":"Update Legal Entity","api":"PUT https://dataapi.dncscrub.com/v1.5/legalentity/Update","href":"/api-reference/trustcall/legal-entity-update"},{"title":"One-Time Scan API","href":"/api-reference/trustcall/one-time-scan"},{"title":"Submit One-Time Scan","api":"POST https://dataapi.dncscrub.com/v1.5/TrustCall/OneTimeScan","href":"/api-reference/trustcall/one-time-scan-submit"},{"title":"One-Time Scan Status","api":"GET https://dataapi.dncscrub.com/v1.5/TrustCall/OneTimeScan","href":"/api-reference/trustcall/one-time-scan-status"},{"title":"Flags Removed Summary","api":"GET https://dataapi.dncscrub.com/v1.5/TrustCall/FlagsRemovedSummary","href":"/api-reference/trustcall/flags-removed-summary"}]},{"group":"Data Enhancement","pages":[{"title":"Data APIs Overview","href":"/api-reference/data/overview"},{"title":"Reverse Phone ID Append","api":"GET https://dataapi.dncscrub.com/v1.4/Data/PhoneIDAppend","href":"/api-reference/data/reverse-phone-id-append"},{"title":"Business Verify ID","api":"GET https://dataapi.dncscrub.com/v1.4/Data/ResOrBusiness","href":"/api-reference/data/res-or-business"},{"title":"Right Party ID","api":"GET https://dataapi.dncscrub.com/v1.4/Data/Verification","href":"/api-reference/data/verification"},{"title":"Wireless ID Premium","api":"GET https://dataapi.dncscrub.com/v1.4/Data/IDPremium","href":"/api-reference/data/id-premium"},{"title":"Real-Time Disconnect","api":"GET https://dataapi.dncscrub.com/v1.4/Data/RealTimeDisconnect","href":"/api-reference/data/real-time-disconnect"},{"title":"Usage Statistics","api":"GET https://dataapi.dncscrub.com/v1.4/Data/Usage","href":"/api-reference/data/usage"}]},{"group":"GeoScrub","pages":[{"title":"GeoScrub Overview","href":"/api-reference/geoscrub/overview"},{"title":"Get Timezone Info","openapi":"POST /v1.5/GeoScrub/GetTimeZoneInfo","href":"/api-reference/geoscrub/timezone-info"},{"title":"Legal Call Times for Date","openapi":"POST /v1.5/GeoScrub/LegalCallTimesForDate","href":"/api-reference/geoscrub/legal-call-times"},{"title":"Is Time Legal to Call","openapi":"POST /v1.5/GeoScrub/IsTimeLegalToCall","href":"/api-reference/geoscrub/is-time-legal"}]},{"group":"Other APIs","pages":[{"title":"Get OAuth Token","openapi":"POST /v1.5/OAuth/token","href":"/api-reference/other/oauth-token"},{"title":"Validate Authentication","openapi":"GET /v1.5/Auth/Validate","href":"/api-reference/other/auth-validate"},{"title":"Compliance Guide API","href":"/api-reference/other/compliance-guide"},{"title":"State Restricted Holidays","openapi":"GET /v1.5/ComplianceGuide/StateRestrictedHolidays","href":"/api-reference/other/state-holidays"},{"title":"State Emergencies","openapi":"GET /v1.5/ComplianceGuide/StateEmergenciesRestricted","href":"/api-reference/other/state-emergencies"},{"title":"Global Connect API","href":"/api-reference/other/global-connect"},{"title":"Global Connect Query","openapi":"GET /v1.5/gc/Query","href":"/api-reference/other/global-connect-query"},{"title":"Create or Update Project (v1.5)","api":"PUT https://dataapi.dncscrub.com/v1.5/projects/{projectCode}","href":"/api-reference/other/projects-upsert"},{"title":"Get Project (v1.5)","api":"GET https://dataapi.dncscrub.com/v1.5/projects/{projectCode}","href":"/api-reference/other/projects-get"},{"title":"List Projects (v1.5)","api":"GET https://dataapi.dncscrub.com/v1.5/projects","href":"/api-reference/other/projects-list"},{"title":"Louisiana and Oklahoma Registration","description":"Why LA and OK state Do Not Call lists require proof of telemarketer registration, and how to submit it","href":"/api-reference/other/state-registrations"},{"title":"Create or Update Project","api":"POST https://www.dncscrub.com/app/main/rpc/project","href":"/api-reference/other/project-create"}]},{"group":"Code Examples","pages":[{"title":"C# Examples","description":"Production-ready C# examples for integrating with DNCScrub APIs","href":"/examples/csharp"},{"title":"JavaScript Examples","href":"/examples/javascript"}]}]},{"tab":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"MCP Server for AI Applications","icon":"browser","pages":[{"title":"MCP Server for AI Applications","href":"/mcp/applications/overview"}]},{"tab":"MCP Server for Developers","icon":"terminal","pages":[{"title":"MCP Server for Developers","href":"/mcp/developers/overview"}]}]},"basePath":"","title":"Create or Update Project - Contact Center Compliance, a Sonera company","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js"]}