Use this endpoint when you operate a platform with many clients of your own and each
client must scrub under their own FTC Org Id and Subscription Account Number (SAN).
One DNCScrub Project per client keeps every client’s National DNC subscription, Internal
DNC list and settings separate. Federal law does not allow one SAN to be shared across
organizations.
Each FTC Org Id / SAN pair is verified with the FTC National Do Not Call Registry, and the
area codes the subscription covers are read from the FTC. FtcValidation.Status usually
moves from pending to validated (or failed, with the FTC’s reason in Message) within
about a minute, and the webhook fires. AreaCodes and HasEntireUs reflect the FTC
subscription exactly: National DNC scrubs for numbers outside those area codes are blocked.
PUT is idempotent: the same request creates the Project on first call and updates it
afterwards. The Project code is the path segment; you choose it.
Update semantics
On update, the body is merged into the existing Project:
A field you omit (or send as null) is left unchanged.
Send an empty string to clear Notes or WebhookUrl. Clearing WebhookUrl also discards
the stored secret. WebhookSecret cannot be cleared on its own (400); sending a new
value rotates it.
ProjectName is required only when the Project is created.
FtcOrgId and FtcSan are always sent together; sending a new pair replaces the old one
and starts a new validation. Resending the current pair is a no-op unless its last
validation failed, in which case it is queued again. A pair with a different Org Id
suspends the Project’s National DNC scrubbing until the new pair is validated; a new SAN
under the same Org Id does not. They cannot be cleared through the API.
StateRegistrations is merged per state key: { "OK": {...} } adds or replaces OK and
leaves LA untouched; { "OK": null } withdraws OK. New or changed proof is emailed to Support for
review. Neither a change nor a withdrawal changes your account’s LA/OK scrubbing by itself.
UseMaster* flags change only when present.
What happens after you call it
The Project (and its default Campaign) exists immediately and can accept uploads and
API scrubs against Internal DNC, state lists you are authorized for, litigator lists, etc.
The FTC Org Id and SAN you supplied are queued for validation against the FTC’s
telemarketer portal. FtcValidation.Status starts as pending.
When validation completes (usually within a couple of minutes; up to a few hours if
the FTC portal is unavailable), the
Project is enabled for National DNC scrubbing, FtcValidation.Status becomes
validated (or failed with a reason), and if you supplied a WebhookUrl we POST the
result to it. You can also poll Get Project.
Your API Key. An OAuth Authorization: Bearer token is accepted instead.
string
required
application/json
Path
string
required
Your identifier for the Project. 2 to 23 characters, letters and digits only; lowercase
is uppercased. If your account has auto-prefixing enabled, <acctId>_ is prepended
when missing, so BRIGHTDENTAL becomes VOXAI_BRIGHTDENTAL; the response and all later
calls use the prefixed code, and either form is accepted on later calls. The prefixed
code must fit in 30 characters. Reserved: codes starting with TMPL or equal to DNC
or ROOT.
Body
string
Display name, usually your client’s company name. Up to 50 characters. Required when
creating; optional on update.
string
Your client’s FTC Organization Id, for example 10000598-10598. Required if FtcSan is
supplied.
string
Your client’s Subscription Account Number, for example 10000830-100830-07. Required if
FtcOrgId is supplied. The SAN must belong to the Org Id; we verify that on the FTC
portal.
object
Proof that your client is registered as a telemarketer in a state that requires it before
its state Do Not Call list may be scrubbed. Keys are state abbreviations, currently LA
and OK. Each value: { "Confirmation": string, "Notes": string }. Confirmation is
the registration or confirmation number the state issued (up to 100 characters; Notes
up to 1000). Supporting documents go to
support@dnc.com, not through the API. See
Louisiana and Oklahoma Registration.
string
HTTPS URL (up to 500 characters) we POST to when FTC validation completes. See
Webhook. Must resolve to a public host: URLs with
embedded credentials, non-443 ports, or hosts that resolve to loopback, private,
link-local or reserved addresses are rejected with 400, both when saved and again at
delivery time. Redirects are not followed. Requires WebhookSecret.
string
Shared secret, 16 to 128 characters, used to sign every delivery with HMAC-SHA256.
Required when WebhookUrl is set (400 otherwise). Stored encrypted and never returned
by the API; rotate it by sending a new value.
string
Free-form notes shown in the DNCScrub portal. Up to 512 characters.
boolean
default:"false"
Share the Master Project’s Internal DNC list with this Project. Leave false when each
client must keep its own Internal DNC.
boolean
default:"false"
Share the Master Project’s EBR / exemption database.
boolean
default:"false"
Inherit the Master Project’s DNC policy.
boolean
default:"false"
Inherit the Master Project’s National DNC subscription instead of FtcOrgId/FtcSan.
Only valid when the client is the same legal organization as the master account.
using var client = new HttpClient();client.DefaultRequestHeaders.Add("loginId", "YOUR_API_KEY");var body = new{ ProjectName = "Bright Dental", FtcOrgId = "10000598-10598", FtcSan = "10000830-100830-07", WebhookUrl = "https://example.com/dncscrub/webhook", WebhookSecret = "a-random-secret-of-at-least-16-chars",};var res = await client.PutAsJsonAsync("https://dataapi.dncscrub.com/v1.5/projects/BRIGHTDENTAL", body);var project = await res.Content.ReadFromJsonAsync<JsonElement>();Console.WriteLine(project.GetProperty("FtcValidation").GetProperty("Status")); // pending
Response
Status
Meaning
201
Project created
200
Project updated
400
Validation error (bad id format, FtcOrgId without FtcSan, WebhookUrl without WebhookSecret, non-public webhook host). ReasonPhrase names the field.
401
Missing or invalid API key
403
Project exists but is inactive. Reactivate it in the portal or contact Support. Also returned when your user lacks the permission to create Projects (insert_project) or change them (update_project); contact Support if your user needs it.
No Org Id / SAN supplied. Project cannot scrub against the National DNC list.
pending
Queued for verification against the FTC portal. National DNC scrubbing is not yet enabled.
validated
SAN confirmed under the Org Id. Expiration is the SAN’s expiration date and AreaCodes lists the subscribed area codes (HasEntireUs true means all). National DNC scrubbing is enabled.
failed
Verification failed. Message gives the reason (Org Id not found, SAN not under this Org Id, no current subscription). Fix the values and call this endpoint again.
Webhook
Webhook delivery starts with automatic validation (see the rollout note at the top of this
page); until then, poll Get Project.When WebhookUrl is set, we send POST requests with a JSON body:
Same as body Id. Deliveries are at-least-once; dedupe on it.
X-DNCScrub-Timestamp
Unix seconds when the delivery was sent
X-DNCScrub-Signature
sha256=<hex HMAC-SHA256 of "<timestamp>.<raw body>" using webhookSecret>
Respond with any 2xx within 10 seconds. Anything else, or a timeout, is retried up to
five times with exponential backoff (1 min, 5 min, 30 min, 2 h, 12 h), so six deliveries
at most over about 15 hours.
The most recent delivery outcome is visible on
Get Project as Webhook.LastDelivery.Verify the signature and reject stale timestamps (older than 5 minutes) before trusting
the body:
Org Id and SAN are optional on create. Create the Project as soon as your client signs
up, then call the endpoint again with FtcOrgId and FtcSan once they have them. Only
National DNC scrubbing waits on validation.
Use the webhook, poll as a fallback
Validation completes asynchronously, usually within a couple of minutes. Subscribe
with WebhookUrl and poll Get Project no more
than once a minute if you need a fallback.
Scrub with the Project's campaign
Pass the returned DefaultCampaignId as campaignId on
Scrub API calls so each client’s numbers are scrubbed
under that client’s own subscription and Internal DNC list.
Legacy endpoint
POST https://www.dncscrub.com/app/main/rpc/project
(docs) remains available for existing
integrations. New integrations should use this endpoint.
{"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/projects-upsert","slug":"/api-reference/other/projects-upsert","pageMetadata":{"title":"Create or Update Project (v1.5)","description":"Create a Project for a client, register its FTC Org Id and SAN, and submit state registrations, all in one call","api":"PUT https://dataapi.dncscrub.com/v1.5/projects/{projectCode}","href":"/api-reference/other/projects-upsert"},"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 Project for a client, register its FTC Org Id and SAN, and submit state registrations, all in one call\"\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`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,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:[_jsxs(_components.p,{children:[`Use this endpoint when you operate a platform with many clients of your own and each\nclient must scrub under their `,_jsx(_components.strong,{children:`own`}),` FTC Org Id and Subscription Account Number (SAN).\nOne DNCScrub Project per client keeps every client’s National DNC subscription, Internal\nDNC list and settings separate. Federal law does not allow one SAN to be shared across\norganizations.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Each FTC Org Id / SAN pair is verified with the FTC National Do Not Call Registry, and the\narea codes the subscription covers are read from the FTC. `,_jsx(_components.code,{children:`FtcValidation.Status`}),` usually\nmoves from `,_jsx(_components.code,{children:`pending`}),` to `,_jsx(_components.code,{children:`validated`}),` (or `,_jsx(_components.code,{children:`failed`}),`, with the FTC’s reason in `,_jsx(_components.code,{children:`Message`}),`) within\nabout a minute, and the webhook fires. `,_jsx(_components.code,{children:`AreaCodes`}),` and `,_jsx(_components.code,{children:`HasEntireUs`}),` reflect the FTC\nsubscription exactly: National DNC scrubs for numbers outside those area codes are blocked.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`PUT`}),` is idempotent: the same request creates the Project on first call and updates it\nafterwards. The Project code is the path segment; you choose it.`]}),`\n`,_jsx(Heading,{level:`3`,id:`update-semantics`,children:`Update semantics`}),`\n`,_jsxs(_components.p,{children:[`On update, the body is `,_jsx(_components.strong,{children:`merged`}),` into the existing Project:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`A field you omit (or send as `,_jsx(_components.code,{children:`null`}),`) is left unchanged.`]}),`\n`,_jsxs(_components.li,{children:[`Send an empty string to clear `,_jsx(_components.code,{children:`Notes`}),` or `,_jsx(_components.code,{children:`WebhookUrl`}),`. Clearing `,_jsx(_components.code,{children:`WebhookUrl`}),` also discards\nthe stored secret. `,_jsx(_components.code,{children:`WebhookSecret`}),` cannot be cleared on its own (`,_jsx(_components.code,{children:`400`}),`); sending a new\nvalue rotates it.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ProjectName`}),` is required only when the Project is created.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FtcOrgId`}),` and `,_jsx(_components.code,{children:`FtcSan`}),` are always sent together; sending a new pair replaces the old one\nand starts a new validation. Resending the current pair is a no-op unless its last\nvalidation failed, in which case it is queued again. A pair with a different Org Id\nsuspends the Project’s National DNC scrubbing until the new pair is validated; a new SAN\nunder the same Org Id does not. They cannot be cleared through the API.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`StateRegistrations`}),` is merged per state key: `,_jsx(_components.code,{children:`{ \"OK\": {...} }`}),` adds or replaces OK and\nleaves LA untouched; `,_jsx(_components.code,{children:`{ \"OK\": null }`}),` withdraws OK. New or changed proof is emailed to Support for\nreview. Neither a change nor a withdrawal changes your account’s LA/OK scrubbing by itself.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`UseMaster*`}),` flags change only when present.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-happens-after-you-call-it`,children:`What happens after you call it`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`The Project (and its default Campaign) exists immediately and can accept uploads and\nAPI scrubs against Internal DNC, state lists you are authorized for, litigator lists, etc.`}),`\n`,_jsxs(_components.li,{children:[`The FTC Org Id and SAN you supplied are queued for validation against the FTC’s\ntelemarketer portal. `,_jsx(_components.code,{children:`FtcValidation.Status`}),` starts as `,_jsx(_components.code,{children:`pending`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`When validation completes (usually within a couple of minutes; up to a few hours if\nthe FTC portal is unavailable), the\nProject is enabled for National DNC scrubbing, `,_jsx(_components.code,{children:`FtcValidation.Status`}),` becomes\n`,_jsx(_components.code,{children:`validated`}),` (or `,_jsx(_components.code,{children:`failed`}),` with a reason), and if you supplied a `,_jsx(_components.code,{children:`WebhookUrl`}),` we POST the\nresult to it. You can also poll `,_jsx(_components.a,{href:`/api-reference/other/projects-get`,children:`Get Project`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Any `,_jsx(_components.code,{children:`StateRegistrations`}),` you supplied are routed to our Support team for review. See\n`,_jsx(_components.a,{href:`/api-reference/other/state-registrations`,children:`Louisiana and Oklahoma Registration`}),`.`]}),`\n`]}),`\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:_jsxs(_components.p,{children:[`Your API Key. An OAuth `,_jsx(_components.code,{children:`Authorization: Bearer`}),` token is accepted instead.`]})}),`\n`,_jsx(ParamField,{header:`Content-Type`,type:`string`,required:true,id:`param-content-type`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`application/json`})})}),`\n`,_jsx(Heading,{level:`3`,id:`path`,children:`Path`}),`\n`,_jsx(ParamField,{path:`projectCode`,type:`string`,required:true,id:`param-project-code`,children:_jsxs(_components.p,{children:[`Your identifier for the Project. 2 to 23 characters, letters and digits only; lowercase\nis uppercased. If your account has auto-prefixing enabled, `,_jsx(_components.code,{children:`\u003cacctId>_`}),` is prepended\nwhen missing, so `,_jsx(_components.code,{children:`BRIGHTDENTAL`}),` becomes `,_jsx(_components.code,{children:`VOXAI_BRIGHTDENTAL`}),`; the response and all later\ncalls use the prefixed code, and either form is accepted on later calls. The prefixed\ncode must fit in 30 characters. Reserved: codes starting with `,_jsx(_components.code,{children:`TMPL`}),` or equal to `,_jsx(_components.code,{children:`DNC`}),`\nor `,_jsx(_components.code,{children:`ROOT`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`ProjectName`,type:`string`,id:`param-project-name`,children:_jsx(_components.p,{children:`Display name, usually your client’s company name. Up to 50 characters. Required when\ncreating; optional on update.`})}),`\n`,_jsx(ParamField,{body:`FtcOrgId`,type:`string`,id:`param-ftc-org-id`,children:_jsxs(_components.p,{children:[`Your client’s FTC Organization Id, for example `,_jsx(_components.code,{children:`10000598-10598`}),`. Required if `,_jsx(_components.code,{children:`FtcSan`}),` is\nsupplied.`]})}),`\n`,_jsx(ParamField,{body:`FtcSan`,type:`string`,id:`param-ftc-san`,children:_jsxs(_components.p,{children:[`Your client’s Subscription Account Number, for example `,_jsx(_components.code,{children:`10000830-100830-07`}),`. Required if\n`,_jsx(_components.code,{children:`FtcOrgId`}),` is supplied. The SAN must belong to the Org Id; we verify that on the FTC\nportal.`]})}),`\n`,_jsx(ParamField,{body:`StateRegistrations`,type:`object`,id:`param-state-registrations`,children:_jsxs(_components.p,{children:[`Proof that your client is registered as a telemarketer in a state that requires it before\nits state Do Not Call list may be scrubbed. Keys are state abbreviations, currently `,_jsx(_components.code,{children:`LA`}),`\nand `,_jsx(_components.code,{children:`OK`}),`. Each value: `,_jsx(_components.code,{children:`{ \"Confirmation\": string, \"Notes\": string }`}),`. `,_jsx(_components.code,{children:`Confirmation`}),` is\nthe registration or confirmation number the state issued (up to 100 characters; `,_jsx(_components.code,{children:`Notes`}),`\nup to 1000). Supporting documents go to\n`,_jsx(_components.a,{href:`mailto:support@dnc.com`,children:`support@dnc.com`}),`, not through the API. See\n`,_jsx(_components.a,{href:`/api-reference/other/state-registrations`,children:`Louisiana and Oklahoma Registration`}),`.`]})}),`\n`,_jsx(ParamField,{body:`WebhookUrl`,type:`string`,id:`param-webhook-url`,children:_jsxs(_components.p,{children:[`HTTPS URL (up to 500 characters) we POST to when FTC validation completes. See\n`,_jsx(_components.a,{href:`#webhook`,children:`Webhook`}),`. Must resolve to a public host: URLs with\nembedded credentials, non-443 ports, or hosts that resolve to loopback, private,\nlink-local or reserved addresses are rejected with `,_jsx(_components.code,{children:`400`}),`, both when saved and again at\ndelivery time. Redirects are not followed. Requires `,_jsx(_components.code,{children:`WebhookSecret`}),`.`]})}),`\n`,_jsx(ParamField,{body:`WebhookSecret`,type:`string`,id:`param-webhook-secret`,children:_jsxs(_components.p,{children:[`Shared secret, 16 to 128 characters, used to sign every delivery with HMAC-SHA256.\nRequired when `,_jsx(_components.code,{children:`WebhookUrl`}),` is set (`,_jsx(_components.code,{children:`400`}),` otherwise). Stored encrypted and never returned\nby the API; rotate it by sending a new value.`]})}),`\n`,_jsx(ParamField,{body:`Notes`,type:`string`,id:`param-notes`,children:_jsx(_components.p,{children:`Free-form notes shown in the DNCScrub portal. Up to 512 characters.`})}),`\n`,_jsx(ParamField,{body:`UseMasterDncDb`,type:`boolean`,default:`false`,id:`param-use-master-dnc-db`,children:_jsxs(_components.p,{children:[`Share the Master Project’s Internal DNC list with this Project. Leave `,_jsx(_components.code,{children:`false`}),` when each\nclient must keep its own Internal DNC.`]})}),`\n`,_jsx(ParamField,{body:`UseMasterEbrDb`,type:`boolean`,default:`false`,id:`param-use-master-ebr-db`,children:_jsx(_components.p,{children:`Share the Master Project’s EBR / exemption database.`})}),`\n`,_jsx(ParamField,{body:`UseMasterDncPolicy`,type:`boolean`,default:`false`,id:`param-use-master-dnc-policy`,children:_jsx(_components.p,{children:`Inherit the Master Project’s DNC policy.`})}),`\n`,_jsx(ParamField,{body:`UseMasterDncSub`,type:`boolean`,default:`false`,id:`param-use-master-dnc-sub`,children:_jsxs(_components.p,{children:[`Inherit the Master Project’s National DNC subscription instead of `,_jsx(_components.code,{children:`FtcOrgId`}),`/`,_jsx(_components.code,{children:`FtcSan`}),`.\nOnly valid when the client is the same legal organization as the master account.`]})}),`\n`,_jsx(ParamField,{body:`UseMasterTraining`,type:`boolean`,default:`false`,id:`param-use-master-training`,children:_jsx(_components.p,{children:`Inherit the Master Project’s training settings.`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`14`,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:`14`,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:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://dataapi.dncscrub.com/v1.5/projects/BRIGHTDENTAL'`}),_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:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ProjectName\": \"Bright Dental\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"FtcOrgId\": \"10000598-10598\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"FtcSan\": \"10000830-100830-07\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"StateRegistrations\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"LA\": { \"Confirmation\": \"LPSC-2026-1234\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"OK\": { \"Confirmation\": \"OK-AG-55512\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"WebhookUrl\": \"https://example.com/dncscrub/webhook\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"WebhookSecret\": \"a-random-secret-of-at-least-16-chars\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`14`,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:`14`,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:` 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://dataapi.dncscrub.com/v1.5/projects/BRIGHTDENTAL\"`}),_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:` \"PUT\"`}),_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:` { `}),_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:`, `}),_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/json\"`}),_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:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_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:` ProjectName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bright Dental\"`}),_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:` FtcOrgId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"10000598-10598\"`}),_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:` FtcSan:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"10000830-100830-07\"`}),_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:` WebhookUrl:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/dncscrub/webhook\"`}),_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:` WebhookSecret:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"a-random-secret-of-at-least-16-chars\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_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`,_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:` project`}),_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:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_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:`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:`project`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`FtcValidation`}),_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:`// \"pending\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`C#`,numberOfLines:`15`,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:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`using`}),_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`,_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:` body`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`})]}),`\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:` ProjectName`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Bright Dental\"`}),_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:` FtcOrgId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"10000598-10598\"`}),_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:` FtcSan`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"10000830-100830-07\"`}),_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:` WebhookUrl`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://example.com/dncscrub/webhook\"`}),_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:` WebhookSecret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"a-random-secret-of-at-least-16-chars\"`}),_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:`PutAsJsonAsync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://dataapi.dncscrub.com/v1.5/projects/BRIGHTDENTAL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`body`}),_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:`var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` project`}),_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:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Content`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`ReadFromJsonAsync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`JsonElement`}),_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:`Console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`WriteLine`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`project`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GetProperty`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FtcValidation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GetProperty`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// pending`})]}),`\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`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`201`})}),_jsx(_components.td,{children:`Project created`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`200`})}),_jsx(_components.td,{children:`Project updated`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Validation error (bad id format, `,_jsx(_components.code,{children:`FtcOrgId`}),` without `,_jsx(_components.code,{children:`FtcSan`}),`, `,_jsx(_components.code,{children:`WebhookUrl`}),` without `,_jsx(_components.code,{children:`WebhookSecret`}),`, non-public webhook host). `,_jsx(_components.code,{children:`ReasonPhrase`}),` names the field.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Missing or invalid API key`})]}),_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. Reactivate it in the portal or contact Support. Also returned when your user lacks the permission to create Projects (`,_jsx(_components.code,{children:`insert_project`}),`) or change them (`,_jsx(_components.code,{children:`update_project`}),`); contact Support if your user needs it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`projectCode`}),` belongs to another account`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:`201 Created`,numberOfLines:`30`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ProjectCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VOXAI_BRIGHTDENTAL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ProjectName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bright Dental\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AcctId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VOXAI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"DefaultCampaignId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`184201`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Notes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"UseMasterDncDb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"UseMasterEbrDb\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"UseMasterDncPolicy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"UseMasterDncSub\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"UseMasterTraining\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"FtcValidation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pending\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OrgId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000598-10598\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"San\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000830-100830-07\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"CheckedOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Expiration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"HasEntireUs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AreaCodes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"StateRegistrations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"LA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"submitted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Confirmation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LPSC-2026-1234\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"SubmittedOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T17:02:11Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OK\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"submitted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Confirmation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"OK-AG-55512\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"SubmittedOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T17:02:11Z\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Webhook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"Url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/dncscrub/webhook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"LastDelivery\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"CreatedOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T17:02:11Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"LastModifiedOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T17:02:11Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`Status`}),` is `,_jsx(_components.code,{children:`active`}),` or `,_jsx(_components.code,{children:`inactive`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`ftcvalidation-status`,children:`ftcValidation.status`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`none`})}),_jsx(_components.td,{children:`No Org Id / SAN supplied. Project cannot scrub against the National DNC list.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:`Queued for verification against the FTC portal. National DNC scrubbing is not yet enabled.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`validated`})}),_jsxs(_components.td,{children:[`SAN confirmed under the Org Id. `,_jsx(_components.code,{children:`Expiration`}),` is the SAN’s expiration date and `,_jsx(_components.code,{children:`AreaCodes`}),` lists the subscribed area codes (`,_jsx(_components.code,{children:`HasEntireUs`}),` true means all). National DNC scrubbing is enabled.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsxs(_components.td,{children:[`Verification failed. `,_jsx(_components.code,{children:`Message`}),` gives the reason (Org Id not found, SAN not under this Org Id, no current subscription). Fix the values and call this endpoint again.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`webhook`,children:`Webhook`}),`\n`,_jsxs(_components.p,{children:[`Webhook delivery starts with automatic validation (see the rollout note at the top of this\npage); until then, poll `,_jsx(_components.a,{href:`/api-reference/other/projects-get`,children:`Get Project`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`WebhookUrl`}),` is set, we send `,_jsx(_components.code,{children:`POST`}),` requests with a JSON body:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"evt_01J9F3ZQ6K8W2D5R7C0YV4T1XA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"project.ftcValidation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OccurredOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T18:04:12Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ProjectCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VOXAI_BRIGHTDENTAL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AcctId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VOXAI\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"FtcValidation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"validated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"OrgId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000598-10598\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"San\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10000830-100830-07\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"CheckedOn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-01T18:04:11Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Expiration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-03-31\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"HasEntireUs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"AreaCodes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"212\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"213\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"310\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"Message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Headers:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Header`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-DNCScrub-Event`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`project.ftcValidation`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-DNCScrub-Event-Id`})}),_jsxs(_components.td,{children:[`Same as body `,_jsx(_components.code,{children:`Id`}),`. Deliveries are at-least-once; dedupe on it.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-DNCScrub-Timestamp`})}),_jsx(_components.td,{children:`Unix seconds when the delivery was sent`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`X-DNCScrub-Signature`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`sha256=\u003chex HMAC-SHA256 of \"\u003ctimestamp>.\u003craw body>\" using webhookSecret>`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Respond with any `,_jsx(_components.code,{children:`2xx`}),` within 10 seconds. Anything else, or a timeout, is retried up to\nfive times with exponential backoff (1 min, 5 min, 30 min, 2 h, 12 h), so six deliveries\nat most over about 15 hours.\nThe most recent delivery outcome is visible on\n`,_jsx(_components.a,{href:`/api-reference/other/projects-get`,children:`Get Project`}),` as `,_jsx(_components.code,{children:`Webhook.LastDelivery`}),`.`]}),`\n`,_jsx(_components.p,{children:`Verify the signature and reject stale timestamps (older than 5 minutes) before trusting\nthe body:`}),`\n`,_jsx(CodeBlock,{filename:`Verify signature (Node)`,numberOfLines:`10`,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:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`createHmac`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`timingSafeEqual`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"node:crypto\"`}),_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:`function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` verify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`rawBody`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`secret`}),_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:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` ts`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-dncscrub-timestamp\"`}),_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:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` given`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"x-dncscrub-signature\"`}),_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\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Number`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`isFinite`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`||`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` typeof`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` given`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` !==`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Math`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`abs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`now`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1000`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` -`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ts`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 300`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` expected`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"sha256=\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createHmac`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sha256\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`secret`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`update`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ts`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`rawBody`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`digest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hex\"`}),_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\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` expected`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`length`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ===`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` given`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`length`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` timingSafeEqual`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Buffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`expected`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Buffer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`given`}),_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:`best-practices`,children:`Best Practices`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Create the Project before collecting the SAN`,id:`create-the-project-before-collecting-the-san`,children:_jsxs(_components.p,{children:[`Org Id and SAN are optional on create. Create the Project as soon as your client signs\nup, then call the endpoint again with `,_jsx(_components.code,{children:`FtcOrgId`}),` and `,_jsx(_components.code,{children:`FtcSan`}),` once they have them. Only\nNational DNC scrubbing waits on validation.`]})}),_jsx(Accordion,{title:`Use the webhook, poll as a fallback`,id:`use-the-webhook-poll-as-a-fallback`,children:_jsxs(_components.p,{children:[`Validation completes asynchronously, usually within a couple of minutes. Subscribe\nwith `,_jsx(_components.code,{children:`WebhookUrl`}),` and poll `,_jsx(_components.a,{href:`/api-reference/other/projects-get`,children:`Get Project`}),` no more\nthan once a minute if you need a fallback.`]})}),_jsx(Accordion,{title:`Scrub with the Project's campaign`,id:`scrub-with-the-projects-campaign`,children:_jsxs(_components.p,{children:[`Pass the returned `,_jsx(_components.code,{children:`DefaultCampaignId`}),` as `,_jsx(_components.code,{children:`campaignId`}),` on\n`,_jsx(_components.a,{href:`/api-reference/scrub/overview`,children:`Scrub API`}),` calls so each client’s numbers are scrubbed\nunder that client’s own subscription and Internal DNC list.`]})}),_jsx(Accordion,{title:`Legacy endpoint`,id:`legacy-endpoint`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST https://www.dncscrub.com/app/main/rpc/project`}),`\n(`,_jsx(_components.a,{href:`/api-reference/other/project-create`,children:`docs`}),`) remains available for existing\nintegrations. New integrations should use this endpoint.`]})})]})]})}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 (v1.5)","description":"Create a Project for a client, register its FTC Org Id and SAN, and submit state registrations, all in one call","api":"PUT https://dataapi.dncscrub.com/v1.5/projects/{projectCode}","href":"/api-reference/other/projects-upsert"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Update semantics","slug":"update-semantics","depth":3,"children":[]},{"title":"What happens after you call it","slug":"what-happens-after-you-call-it","depth":2,"children":[]},{"title":"Request","slug":"request","depth":2,"children":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Path","slug":"path","depth":3,"children":[]},{"title":"Body","slug":"body","depth":3,"children":[]}]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[{"title":"ftcValidation.status","slug":"ftcvalidation-status","depth":3,"children":[]}]},{"title":"Webhook","slug":"webhook","depth":2,"children":[]},{"title":"Best Practices","slug":"best-practices","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Create or Update Project (v1.5)","path":"/v1.5/projects/{projectCode}","servers":[{"url":"https://dataapi.dncscrub.com"}],"method":"put","request":{"security":[],"parameters":{"query":{},"header":{"loginId":{"schema":[{"type":"string","description":"Your API Key. An OAuth `Authorization: Bearer` token is accepted instead.","required":true}]},"Content-Type":{"schema":[{"type":"string","description":"`application/json`","required":true}]}},"cookie":{},"path":{"projectCode":{"schema":[{"type":"string","description":"Your identifier for the Project. 2 to 23 characters, letters and digits only; lowercase is uppercased. If your account has auto-prefixing enabled, `\u003cacctId>_` is prepended when missing, so `BRIGHTDENTAL` becomes `VOXAI_BRIGHTDENTAL` ; the response and all later calls use the prefixed code, and either form is accepted on later calls. The prefixed code must fit in 30 characters. Reserved: codes starting with `TMPL` or equal to `DNC` or `ROOT` .","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"ProjectName":[{"type":"string","description":"Display name, usually your client’s company name. Up to 50 characters. Required when creating; optional on update."}],"FtcOrgId":[{"type":"string","description":"Your client’s FTC Organization Id, for example `10000598-10598` . Required if `FtcSan` is supplied."}],"FtcSan":[{"type":"string","description":"Your client’s Subscription Account Number, for example `10000830-100830-07` . Required if `FtcOrgId` is supplied. The SAN must belong to the Org Id; we verify that on the FTC portal."}],"StateRegistrations":[{"type":"object","properties":{},"description":"Proof that your client is registered as a telemarketer in a state that requires it before its state Do Not Call list may be scrubbed. Keys are state abbreviations, currently `LA` and `OK` . Each value: `{ \"Confirmation\": string, \"Notes\": string }` . `Confirmation` is the registration or confirmation number the state issued (up to 100 characters; `Notes` up to 1000). Supporting documents go to support@dnc.com , not through the API. See Louisiana and Oklahoma Registration ."}],"WebhookUrl":[{"type":"string","description":"HTTPS URL (up to 500 characters) we POST to when FTC validation completes. See Webhook . Must resolve to a public host: URLs with embedded credentials, non-443 ports, or hosts that resolve to loopback, private, link-local or reserved addresses are rejected with `400` , both when saved and again at delivery time. Redirects are not followed. Requires `WebhookSecret` ."}],"WebhookSecret":[{"type":"string","description":"Shared secret, 16 to 128 characters, used to sign every delivery with HMAC-SHA256. Required when `WebhookUrl` is set ( `400` otherwise). Stored encrypted and never returned by the API; rotate it by sending a new value."}],"Notes":[{"type":"string","description":"Free-form notes shown in the DNCScrub portal. Up to 512 characters."}],"UseMasterDncDb":[{"type":"boolean","description":"Share the Master Project’s Internal DNC list with this Project. Leave `false` when each client must keep its own Internal DNC."}],"UseMasterEbrDb":[{"type":"boolean","description":"Share the Master Project’s EBR / exemption database."}],"UseMasterDncPolicy":[{"type":"boolean","description":"Inherit the Master Project’s DNC policy."}],"UseMasterDncSub":[{"type":"boolean","description":"Inherit the Master Project’s National DNC subscription instead of `FtcOrgId` / `FtcSan` . Only valid when the client is the same legal organization as the master account."}],"UseMasterTraining":[{"type":"boolean","description":"Inherit the Master Project’s training settings."}]}}],"examples":{"example":{"value":{"ProjectName":"\u003cstring>","FtcOrgId":"\u003cstring>","FtcSan":"\u003cstring>","StateRegistrations":{},"WebhookUrl":"\u003cstring>","WebhookSecret":"\u003cstring>","Notes":"\u003cstring>","UseMasterDncDb":true,"UseMasterEbrDb":true,"UseMasterDncPolicy":true,"UseMasterDncSub":true,"UseMasterTraining":true}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"contactcentercompliance","siteName":"Contact Center Compliance, a Sonera company","title":"Create or Update Project (v1.5) - Contact Center Compliance, a Sonera company","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T13:12:30.479Z","originalFileLocation":"api-reference/other/projects-upsert.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 Project for a client, register its FTC Org Id and SAN, and submit state registrations, all in one call\">\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 (v1.5) - 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/projects-upsert\">\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+%28v1.5%29\u0026amp;description=Create+a+Project+for+a+client%2C+register+its+FTC+Org+Id+and+SAN%2C+and+submit+state+registrations%2C+all+in+one+call\u0026amp;theme=c99c9abf65e07033a2fea846\u0026amp;signature=c07cc2b8d2e52e5307ca5017d7626c3958fb3dc0e45c28752e30014e3ecb5f51\">\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 (v1.5) - 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+%28v1.5%29\u0026amp;description=Create+a+Project+for+a+client%2C+register+its+FTC+Org+Id+and+SAN%2C+and+submit+state+registrations%2C+all+in+one+call\u0026amp;theme=c99c9abf65e07033a2fea846\u0026amp;signature=c07cc2b8d2e52e5307ca5017d7626c3958fb3dc0e45c28752e30014e3ecb5f51\">\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/projects-upsert\">\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/projects-upsert.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/projects-upsert#webpage\",\"url\":\"https://docs.dncscrub.com/api-reference/other/projects-upsert\",\"name\":\"Create or Update Project (v1.5)\",\"description\":\"Create a Project for a client, register its FTC Org Id and SAN, and submit state registrations, all in one call\",\"dateModified\":\"2026-10-31T13:12:30.479Z\",\"isPartOf\":{\"@id\":\"https://docs.dncscrub.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dncscrub.com/api-reference/other/projects-upsert#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dncscrub.com/api-reference/other/projects-upsert#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 (v1.5)\",\"item\":\"https://docs.dncscrub.com/api-reference/other/projects-upsert\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dncscrub.com/api-reference/other/projects-upsert#apireference\",\"headline\":\"Create or Update Project (v1.5)\",\"name\":\"Create or Update Project (v1.5)\",\"description\":\"Create a Project for a client, register its FTC Org Id and SAN, and submit state registrations, all in one call\",\"url\":\"https://docs.dncscrub.com/api-reference/other/projects-upsert\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dncscrub.com/api-reference/other/projects-upsert#webpage\"},\"dateModified\":\"2026-10-31T13:12:30.479Z\",\"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/projects-upsert.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","description":"Get information about international phone numbers","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)","description":"Read a Project, including FTC SAN validation status and state registration status","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","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","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 (v1.5) - 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"]}