{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}
Staff
Create Organization (Staff)
Create an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in skippedAssets.
Authenticate with a staff user API key in the X-API-KEY header, or a
staff session token as Authorization: Bearer <token>. Organization API keys,
customer users, and read-only staff service accounts are refused.
skippedAssets lists assets that were not added or allowlisted because they
are currently blocked, for example a known scam domain passed as an official
asset. Review them before allowlisting anything by hand.brandAssetErrors lists brands whose official assets could not be added. The
organization and its brands are still created; add those assets again from the
app or the Add Organization Assets
endpoint.
The request is validated with the same rules as the app’s create form, so
anything the app refuses is refused here too.
Omitted settings take the app form’s defaults: reporting, reviewing and
detection on, customer review off, and subscription status PROSPECT.
Other services stay off unless you enable them.
Enabling an automated service (for example isAutomatedReviewingActive)
requires its manual counterpart (isReviewingActive).
Official assets already owned by another organization are skipped rather
than reassigned.
Assets that are currently blocked are never added to the organization or
allowlisted, whether they come in as the website, officialAssets or a
brand’s officialAssets. They are listed in skippedAssets instead, and the
organization is still created.
Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.
Body
application/json
Create an organization (staff only)
Creates an organization exactly as ChainPatrol staff do from the app: the owner
and the calling staff user are added as members, default asset groups and any
initial brands are created, and the website and official assets are allowlisted.
Only ChainPatrol staff can call this endpoint, with a staff session or a staff
user API key. Organization API keys and customer accounts receive 403.
Official assets of the organization not tied to a brand. Each is created (or claimed when unowned) and allowlisted. Assets owned by another organization are skipped, and currently BLOCKED assets are skipped and reported in skippedAssets
Website and official assets that were not added or allowlisted because they are currently BLOCKED. The organization was still created; review these assets before allowlisting them
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"ChainPatrol","colors":{"primary":"#6622DC","light":"#985EFD","dark":"#2A186B"},"logo":{"light":"https://mintcdn.com/chainpatrol/R_CITzEDbsciFTsn/logo/light.svg?fit=max\u0026auto=format\u0026n=R_CITzEDbsciFTsn\u0026q=85\u0026s=8ca4a8411113008ec8f9a57dec249989","dark":"https://mintcdn.com/chainpatrol/R_CITzEDbsciFTsn/logo/dark.svg?fit=max\u0026auto=format\u0026n=R_CITzEDbsciFTsn\u0026q=85\u0026s=3fba0f7cf94681111da5d1ce52ebf33b","href":"https://chainpatrol.com"},"favicon":"https://mintcdn.com/chainpatrol/R_CITzEDbsciFTsn/favicon.svg?fit=max\u0026auto=format\u0026n=R_CITzEDbsciFTsn\u0026q=85\u0026s=2ee94dcfc07708e2929aad42ea5ab4c5","api":{"openapi":"https://app.chainpatrol.io/api/v2/openapi.json?v=2","mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://app.chainpatrol.io/api/v2"}},"appearance":{"default":"dark"},"background":{"image":"https://mintcdn.com/chainpatrol/oLEHOzLMXL0CWKrg/background.png?fit=max\u0026auto=format\u0026n=oLEHOzLMXL0CWKrg\u0026q=85\u0026s=562d8e2e01dbe50733cb041efde433a6","color":{"dark":"#060114"}},"navbar":{"links":[{"href":"https://chainpatrol.com/blog","label":"Blog"},{"href":"https://chainpatrol.com/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.chainpatrol.io/"}},"footer":{"socials":{"x":"https://x.com/chainpatrol","linkedin":"https://www.linkedin.com/company/89545915","github":"https://github.com/chainpatrol"}},"fonts":{"heading":{"family":"IBM Plex Sans"},"body":{"family":"Inter"}},"integrations":{"ga4":{"measurementId":"G-QEBBHCD92K"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chainpatrol","hasAudioNarration":false,"actualSubdomain":"chainpatrol","customDomains":["chainpatrol.com"],"gitSource":{"type":"github","owner":"chainpatrol","repo":"docs","deployBranch":"main","contentDirectory":"","mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aef6642ff56dc66d2b76831","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API Reference","count":105},{"language":"default","tag":"Documentation","count":29},{"language":"default","tag":"Integrations","count":24},{"language":"default","tag":"JavaScript SDK","count":22},{"language":"default","tag":"Getting Started","count":20},{"language":"default","tag":"CLI","count":16},{"language":"default","tag":"Concepts","count":14},{"language":"default","tag":"Assets","count":13},{"language":"default","tag":"Threat Detection","count":13},{"language":"default","tag":"Metrics","count":12}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"external-api/staff-organization-create","slug":"/external-api/staff-organization-create","pageMetadata":{"title":"Create Organization (Staff)","openapi":"POST /staff/organization/create","description":"Create an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in `skippedAssets`.","href":"/external-api/staff-organization-create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Create an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in \", _jsx(_components.code, {\n children: \"skippedAssets\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[`This endpoint is only available to ChainPatrol staff. Customer API keys and\ncustomer accounts receive `,_jsx(_components.code,{children:`403 Forbidden`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`Create a new customer organization exactly as ChainPatrol staff do from\n`,_jsx(_components.strong,{children:`Staff → Organizations → Create`}),` in the app. In one call it:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`creates the organization with the services you enable`}),`\n`,_jsxs(_components.li,{children:[`adds the owner (reusing an existing user with that email) as `,_jsx(_components.code,{children:`OWNER`}),`, and\nthe calling staff user as `,_jsx(_components.code,{children:`ADMIN`})]}),`\n`,_jsx(_components.li,{children:`creates the default asset groups and any initial brands`}),`\n`,_jsx(_components.li,{children:`creates the website as a monitored asset and allowlists it, together with\nany official assets you list`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Authenticate with a `,_jsx(_components.strong,{children:`staff user API key`}),` in the `,_jsx(_components.code,{children:`X-API-KEY`}),` header, or a\nstaff session token as `,_jsx(_components.code,{children:`Authorization: Bearer \u003ctoken>`}),`. Organization API keys,\ncustomer users, and read-only staff service accounts are refused.`]}),`\n`,_jsx(Heading,{level:`3`,id:`example-request`,children:`Example Request`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`31`,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:`31`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://app.chainpatrol.io/api/v2/staff/organization/create'`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-API-KEY: YOUR_STAFF_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"organization\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Acme\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slug\": \"acme\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"websiteUrl\": \"https://acme.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"twitterHandle\": \"@acme\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"subscriptionStatus\": \"PROSPECT\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accountExecName\": \"Jane Doe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accountExecEmail\": \"jane@chainpatrol.io\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"isReportingActive\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"isReviewingActive\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"isDetectionActive\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"requiresCustomerReview\": true`})}),`\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:` \"owner\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fullName\": \"John Smith\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\": \"john@acme.com\"`})}),`\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:` \"brands\": [`})}),`\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:` \"name\": \"Acme\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slug\": \"acme\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"ORGANIZATION\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"includedTerms\": \"*acme*\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"officialAssets\": [\"https://twitter.com/acme\"]`})}),`\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:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`23`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`23`,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:` response`}),_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:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.chainpatrol.io/api/v2/staff/organization/create\"`}),_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:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"YOUR_STAFF_API_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#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:` organization:`}),_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:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Acme\"`}),_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:` slug:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"acme\"`}),_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:` websiteUrl:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://acme.com\"`}),_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:` accountExecName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Jane Doe\"`}),_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:` accountExecEmail:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"jane@chainpatrol.io\"`}),_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:` owner:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`fullName:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"John Smith\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`email:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"john@acme.com\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` data`}),_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:` response`}),_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:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`dashboardUrl`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,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:`20`,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:` \"organization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1234`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme\"`}),_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:` \"slug\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"acme\"`}),_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:` \"description\"`}),_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:` \"websiteUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://acme.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subscriptionStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PROSPECT\"`}),_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:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-15T12:00:00.000Z\"`})]}),`\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:` \"owner\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5678`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"john@acme.com\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fullName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Smith\"`})]}),`\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:` \"brands\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`91`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Acme\"`}),_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:` \"brandAssetErrors\"`}),_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:` \"skippedAssets\"`}),_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:` \"dashboardUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://app.chainpatrol.io/admin/acme/dashboard\"`})]}),`\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:`skippedAssets`}),` lists assets that were not added or allowlisted because they\nare currently blocked, for example a known scam domain passed as an official\nasset. Review them before allowlisting anything by hand.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`brandAssetErrors`}),` lists brands whose official assets could not be added. The\norganization and its brands are still created; add those assets again from the\napp or the `,_jsx(_components.a,{href:`/external-api/organization-assets-add`,children:`Add Organization Assets`}),`\nendpoint.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Validation failed, e.g. an invalid Twitter handle, unsupported asset, or brand term conflict. The message names the field.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`No API key or session was provided.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The caller is not ChainPatrol staff, or the credential is read-only.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The organization slug or a brand slug is taken, or the website already belongs to another organization.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The request is validated with the same rules as the app’s create form, so\nanything the app refuses is refused here too.`}),`\n`,_jsxs(_components.li,{children:[`Omitted settings take the app form’s defaults: reporting, reviewing and\ndetection on, customer review off, and subscription status `,_jsx(_components.code,{children:`PROSPECT`}),`.\nOther services stay off unless you enable them.`]}),`\n`,_jsxs(_components.li,{children:[`Enabling an automated service (for example `,_jsx(_components.code,{children:`isAutomatedReviewingActive`}),`)\nrequires its manual counterpart (`,_jsx(_components.code,{children:`isReviewingActive`}),`).`]}),`\n`,_jsx(_components.li,{children:`Official assets already owned by another organization are skipped rather\nthan reassigned.`}),`\n`,_jsxs(_components.li,{children:[`Assets that are currently `,_jsx(_components.strong,{children:`blocked`}),` are never added to the organization or\nallowlisted, whether they come in as the website, `,_jsx(_components.code,{children:`officialAssets`}),` or a\nbrand’s `,_jsx(_components.code,{children:`officialAssets`}),`. They are listed in `,_jsx(_components.code,{children:`skippedAssets`}),` instead, and the\norganization is still created.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Organization (Staff)","openapi":"POST /staff/organization/create","description":"Create an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in `skippedAssets`.","href":"/external-api/staff-organization-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[{"title":"Example Request","slug":"example-request","depth":3,"children":[]}]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"staffOrganizationCreate","summary":"Create an organization (staff only)","description":"Create an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in `skippedAssets`.","tags":["organization","staff"],"security":["e3b594a2-1901-4674-be54-39b8bc15d8d9"],"requestBody":"e4760c81-70ac-49ed-a837-6f3736692ad2","responses":{"200":"dbd9e9f6-44b6-40d2-9756-3a27573d746a","400":"ca154a19-50f8-4b12-abed-01192cf59757","401":"e250a1f2-1d15-41b9-8efc-aa4810401a71","403":"dd68d219-a2f6-4cc0-bcfe-159978ba48db","500":"adb1961e-4efc-4873-a181-6386216413a9"},"method":"post","type":"path","servers":["e17fb9b1-2fb6-4817-84e0-3d2106985626"],"path":"/staff/organization/create","baseUrlOptions":["https://app.chainpatrol.io/api/v2"],"title":"Create an organization (staff only)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"organization":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255,"description":"Organization name","isRequired":true,"uniqueKey":"organization.name","typeLabel":"string"},"slug":{"type":"string","minLength":1,"description":"Unique organization slug: lowercase letters, numbers and dashes. Used in dashboard URLs and API calls","isRequired":true,"uniqueKey":"organization.slug","typeLabel":"string"},"accountExecName":{"type":"string","minLength":1,"description":"Name of the ChainPatrol account executive for this customer","isRequired":true,"uniqueKey":"organization.accountExecName","typeLabel":"string"},"accountExecEmail":{"type":"string","format":"email","description":"Email of the ChainPatrol account executive for this customer","isRequired":true,"uniqueKey":"organization.accountExecEmail","typeLabel":"string\u003cemail>"},"description":{"type":"string","description":"Short description","uniqueKey":"organization.description","typeLabel":"string"},"websiteUrl":{"type":"string","format":"uri","description":"Primary website. Created as a monitored asset of the organization and allowlisted. Refused when another organization already owns it, and skipped (see `skippedAssets`) when it is currently BLOCKED","uniqueKey":"organization.websiteUrl","typeLabel":"string\u003curi>"},"industry":{"type":"string","enum":["crypto_web3","banking","financial_services","fintech","insurance","payments","investment_asset_management","accounting","technology_software","saas","cybersecurity","cloud_infrastructure","hardware_semiconductors","consumer_electronics","artificial_intelligence","telecommunications","social_media","ecommerce","retail","consumer_goods","food_and_beverage","fashion_apparel","luxury_goods","beauty_cosmetics","healthcare","pharmaceuticals","biotechnology","medical_devices","media_entertainment","gaming_esports","sports","travel_hospitality","airlines_aviation","automotive","transportation_logistics","energy_utilities","oil_and_gas","mining_metals","chemicals","manufacturing_industrial","aerospace_defense","construction","real_estate","agriculture","education","government_public_sector","nonprofit_ngo","legal_services","professional_services","marketing_advertising","human_resources","fitness_wellness","other"],"description":"Industry","uniqueKey":"organization.industry","typeLabel":"enum\u003cstring>"},"twitterHandle":{"type":"string","description":"Twitter / X handle, including the leading \"@\"","uniqueKey":"organization.twitterHandle","typeLabel":"string"},"avatarUrl":{"type":"string","format":"uri","description":"Logo URL","uniqueKey":"organization.avatarUrl","typeLabel":"string\u003curi>"},"subscriptionStatus":{"type":"string","enum":["POC","ACTIVE","PROSPECT","INTEGRATION","INACTIVE","PROTECTION"],"default":"PROSPECT","description":"Subscription status. Defaults to `PROSPECT`, as in the app","uniqueKey":"organization.subscriptionStatus","typeLabel":"enum\u003cstring>"},"isReportingActive":{"type":"boolean","default":true,"description":"Enable reporting. Defaults to `true`, as in the app","uniqueKey":"organization.isReportingActive","typeLabel":"boolean"},"isAutomatedReportingActive":{"type":"boolean","description":"Enable automated reporting. Requires reporting","uniqueKey":"organization.isAutomatedReportingActive","typeLabel":"boolean"},"isReviewingActive":{"type":"boolean","default":true,"description":"Enable reviewing. Defaults to `true`, as in the app","uniqueKey":"organization.isReviewingActive","typeLabel":"boolean"},"isAutomatedReviewingActive":{"type":"boolean","description":"Enable automated reviewing. Requires reviewing","uniqueKey":"organization.isAutomatedReviewingActive","typeLabel":"boolean"},"isProtectionActive":{"type":"boolean","description":"Enable protection (blocklisting)","uniqueKey":"organization.isProtectionActive","typeLabel":"boolean"},"isAutomatedProtectionActive":{"type":"boolean","description":"Enable automated protection. Requires protection","uniqueKey":"organization.isAutomatedProtectionActive","typeLabel":"boolean"},"isTakedownsActive":{"type":"boolean","description":"Enable takedowns","uniqueKey":"organization.isTakedownsActive","typeLabel":"boolean"},"isDetectionActive":{"type":"boolean","default":true,"description":"Enable detection. Defaults to `true`, as in the app","uniqueKey":"organization.isDetectionActive","typeLabel":"boolean"},"requiresCustomerReview":{"type":"boolean","default":false,"description":"Require the customer to approve proposals before they take effect. Defaults to `false`, as in the app","uniqueKey":"organization.requiresCustomerReview","typeLabel":"boolean"}},"required":["name","slug","accountExecName","accountExecEmail"],"description":"The organization to create","isRequired":true,"uniqueKey":"organization","typeLabel":"object"},"owner":{"type":"object","properties":{"fullName":{"type":"string","minLength":1,"description":"Owner's full name","isRequired":true,"uniqueKey":"owner.fullName","typeLabel":"string"},"email":{"type":"string","format":"email","description":"Owner's email. An existing user with this email is reused","isRequired":true,"uniqueKey":"owner.email","typeLabel":"string\u003cemail>"},"avatarUrl":{"type":"string","format":"uri","description":"Owner's avatar URL","uniqueKey":"owner.avatarUrl","typeLabel":"string\u003curi>"}},"required":["fullName","email"],"description":"The customer user who owns the organization","isRequired":true,"uniqueKey":"owner","typeLabel":"object"},"officialAssets":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string","minLength":1,"description":"Asset URL, handle or address","isRequired":true,"uniqueKey":"officialAssets.items.[INDEX].content","typeLabel":"string"},"name":{"type":"string","description":"Display name for the asset","uniqueKey":"officialAssets.items.[INDEX].name","typeLabel":"string"}},"required":["content"],"uniqueKey":"officialAssets.items.[INDEX]","typeLabel":"object"},"description":"Official assets of the organization not tied to a brand. Each is created (or claimed when unowned) and allowlisted. Assets owned by another organization are skipped, and currently BLOCKED assets are skipped and reported in `skippedAssets`","uniqueKey":"officialAssets","typeLabel":"object[]"},"brands":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255,"description":"Brand name","isRequired":true,"uniqueKey":"brands.items.[INDEX].name","typeLabel":"string"},"slug":{"type":"string","minLength":1,"description":"Globally unique brand slug: lowercase letters, numbers and hyphens, not ending in a hyphen","isRequired":true,"uniqueKey":"brands.items.[INDEX].slug","typeLabel":"string"},"type":{"type":"string","enum":["INDIVIDUAL","ORGANIZATION","PRODUCT"],"description":"`ORGANIZATION` for the company or a sub-brand, `INDIVIDUAL` for a person, `PRODUCT` for a product","isRequired":true,"uniqueKey":"brands.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"websiteUrl":{"type":"string","description":"Brand website URL","uniqueKey":"brands.items.[INDEX].websiteUrl","typeLabel":"string"},"twitterHandle":{"type":"string","description":"Brand Twitter / X handle, including the leading \"@\"","uniqueKey":"brands.items.[INDEX].twitterHandle","typeLabel":"string"},"includedTerms":{"type":"string","description":"Comma-separated terms detection should match for this brand. Loose terms need at least 6 characters; wrap shorter terms as `*term*` for exact matching","uniqueKey":"brands.items.[INDEX].includedTerms","typeLabel":"string"},"excludedTerms":{"type":"string","description":"Comma-separated terms detection should ignore for this brand","uniqueKey":"brands.items.[INDEX].excludedTerms","typeLabel":"string"},"noOfficialAssets":{"type":"array","items":{"type":"string","enum":["URL","PAGE","ADDRESS","DISCORD","LINKEDIN","TWITTER","FACEBOOK","YOUTUBE","REDDIT","TELEGRAM","GOOGLE_APP_STORE","APPLE_APP_STORE","AMAZON_APP_STORE","MICROSOFT_APP_STORE","TIKTOK","INSTAGRAM","THREADS","MEDIUM","CHROME_WEB_STORE","MOZILLA_ADDONS","OPERA_ADDONS","EMAIL","PATREON","OPENSEA","FARCASTER","IPFS","GOOGLE_FORM","WHATSAPP","DISCORD_USER","QUORA","GITHUB","TEACHABLE","SUBSTACK","DEBANK","TAWK_TO","JOTFORM","PRIMAL","BLUESKY","SNAPCHAT","DESO","PINTEREST","FLICKR","GALXE","VELOG","NPM","PYPI","HEX","DOCKER_HUB","VOCAL_MEDIA","TECKFINE","TENDERLY","HACKMD","ETSY","ZAZZLE","BASENAME","BILIBILI_TV","VIMEO","DAILYMOTION","PHONE_NUMBER","SLACK","CALENDLY","NGROK","RARIBLE","RUST_PACKAGE","FLATHUB","VIDLII","VEVIOZ","ISSUU","SOUNDCLOUD","ZAPPER","REDNOTE","SAMSUNG_APP_STORE","HUAWEI_APP_STORE","XIAOMI_APP_STORE","TENCENT_APP_STORE","OPPO_APP_STORE","VIVO_APP_STORE","F_DROID","GOOGLE_AD","BING_AD","TWITCH","BEHANCE","ZORA","META_AD","SIGNAL","DEVIANTART","BANDCAMP","ARCHIVE_ORG","FIVE_HUNDRED_PX","LUMA","SMARTMONEYMATCH","APK_GOLD","GLASSDOOR","PUMP_FUN","TUMBLR","MASTODON"],"uniqueKey":"brands.items.[INDEX].noOfficialAssets.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Asset types this brand has no official account on, so lookalikes on those platforms are not expected to be official","uniqueKey":"brands.items.[INDEX].noOfficialAssets","typeLabel":"enum\u003cstring>[]"},"officialAssets":{"type":"array","items":{"type":"string","uniqueKey":"brands.items.[INDEX].officialAssets.items.[INDEX]","typeLabel":"string"},"description":"Official assets (URLs, social profiles, addresses) to attach to this brand and allowlist","uniqueKey":"brands.items.[INDEX].officialAssets","typeLabel":"string[]"}},"required":["name","slug","type"],"uniqueKey":"brands.items.[INDEX]","typeLabel":"object"},"minItems":1,"description":"Initial brands. When provided, at least one is required","uniqueKey":"brands","typeLabel":"object[]"}},"required":["organization","owner"],"description":"Create an organization (staff only)\n\nCreates an organization exactly as ChainPatrol staff do from the app: the owner\nand the calling staff user are added as members, default asset groups and any\ninitial brands are created, and the website and official assets are allowlisted.\n\nOnly ChainPatrol staff can call this endpoint, with a staff session or a staff\nuser API key. Organization API keys and customer accounts receive 403.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"organization":{"name":"\u003cstring>","slug":"\u003cstring>","accountExecName":"\u003cstring>","accountExecEmail":"jsmith@example.com","description":"\u003cstring>","websiteUrl":"\u003cstring>","twitterHandle":"\u003cstring>","avatarUrl":"\u003cstring>","subscriptionStatus":"PROSPECT","isReportingActive":true,"isAutomatedReportingActive":true,"isReviewingActive":true,"isAutomatedReviewingActive":true,"isProtectionActive":true,"isAutomatedProtectionActive":true,"isTakedownsActive":true,"isDetectionActive":true,"requiresCustomerReview":false},"owner":{"fullName":"\u003cstring>","email":"jsmith@example.com","avatarUrl":"\u003cstring>"},"officialAssets":[{"content":"\u003cstring>","name":"\u003cstring>"}],"brands":[{"name":"\u003cstring>","slug":"\u003cstring>","websiteUrl":"\u003cstring>","twitterHandle":"\u003cstring>","includedTerms":"\u003cstring>","excludedTerms":"\u003cstring>","noOfficialAssets":[],"officialAssets":["\u003cstring>"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"dbd9e9f6-44b6-40d2-9756-3a27573d746a":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"organization":{"type":"object","properties":{"id":{"type":"number","description":"Organization ID","isRequired":true,"uniqueKey":"organization.id","typeLabel":"number"},"name":{"type":"string","description":"Organization name","isRequired":true,"uniqueKey":"organization.name","typeLabel":"string"},"slug":{"type":"string","description":"Organization slug","isRequired":true,"uniqueKey":"organization.slug","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"Description","isRequired":true,"uniqueKey":"organization.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"Description","isRequired":true,"uniqueKey":"organization.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"organization.description","typeLabel":"string | null"},"websiteUrl":{"oneOf":[{"type":"string","description":"Website URL","isRequired":true,"uniqueKey":"organization.websiteUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"Website URL","isRequired":true,"uniqueKey":"organization.websiteUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"organization.websiteUrl","typeLabel":"string | null"},"subscriptionStatus":{"type":"string","enum":["POC","ACTIVE","PROSPECT","INTEGRATION","INACTIVE","PROTECTION"],"description":"Subscription status","isRequired":true,"uniqueKey":"organization.subscriptionStatus","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","description":"When the organization was created","isRequired":true,"uniqueKey":"organization.createdAt","typeLabel":"string"}},"required":["id","name","slug","description","websiteUrl","subscriptionStatus","createdAt"],"isRequired":true,"uniqueKey":"organization","typeLabel":"object"},"owner":{"type":"object","properties":{"id":{"type":"number","description":"User ID of the owner","isRequired":true,"uniqueKey":"owner.id","typeLabel":"number"},"email":{"type":"string","description":"Owner's email","isRequired":true,"uniqueKey":"owner.email","typeLabel":"string"},"fullName":{"oneOf":[{"type":"string","description":"Owner's full name","isRequired":true,"uniqueKey":"owner.fullName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Owner's full name","isRequired":true,"uniqueKey":"owner.fullName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"owner.fullName","typeLabel":"string | null"}},"required":["id","email","fullName"],"isRequired":true,"uniqueKey":"owner","typeLabel":"object"},"brands":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number","description":"Brand ID","isRequired":true,"uniqueKey":"brands.items.[INDEX].id","typeLabel":"number"},"name":{"type":"string","description":"Brand name","isRequired":true,"uniqueKey":"brands.items.[INDEX].name","typeLabel":"string"}},"required":["id","name"],"uniqueKey":"brands.items.[INDEX]","typeLabel":"object"},"description":"Brands created with the organization","isRequired":true,"uniqueKey":"brands","typeLabel":"object[]"},"brandAssetErrors":{"type":"array","items":{"type":"object","properties":{"brandName":{"type":"string","description":"Brand whose official assets failed","isRequired":true,"uniqueKey":"brandAssetErrors.items.[INDEX].brandName","typeLabel":"string"},"message":{"type":"string","description":"Why they could not be added","isRequired":true,"uniqueKey":"brandAssetErrors.items.[INDEX].message","typeLabel":"string"}},"required":["brandName","message"],"uniqueKey":"brandAssetErrors.items.[INDEX]","typeLabel":"object"},"description":"Brands whose official assets could not be added. The organization and brands were still created; add the assets again from the app or API","isRequired":true,"uniqueKey":"brandAssetErrors","typeLabel":"object[]"},"skippedAssets":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string","description":"The asset that was skipped","isRequired":true,"uniqueKey":"skippedAssets.items.[INDEX].content","typeLabel":"string"},"brandName":{"oneOf":[{"type":"string","description":"Brand it was listed under, or null for the website and `officialAssets`","isRequired":true,"uniqueKey":"skippedAssets.items.[INDEX].brandName.oneOf.0","typeLabel":"string"},{"type":"null","description":"Brand it was listed under, or null for the website and `officialAssets`","isRequired":true,"uniqueKey":"skippedAssets.items.[INDEX].brandName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"skippedAssets.items.[INDEX].brandName","typeLabel":"string | null"},"reason":{"type":"string","description":"Why it was skipped","isRequired":true,"uniqueKey":"skippedAssets.items.[INDEX].reason","typeLabel":"string"}},"required":["content","brandName","reason"],"uniqueKey":"skippedAssets.items.[INDEX]","typeLabel":"object"},"description":"Website and official assets that were not added or allowlisted because they are currently BLOCKED. The organization was still created; review these assets before allowlisting them","isRequired":true,"uniqueKey":"skippedAssets","typeLabel":"object[]"},"dashboardUrl":{"type":"string","description":"Link to the organization's dashboard","isRequired":true,"uniqueKey":"dashboardUrl","typeLabel":"string"}},"required":["organization","owner","brands","brandAssetErrors","skippedAssets","dashboardUrl"],"description":"Successful operation","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"organization":{"id":123,"name":"\u003cstring>","slug":"\u003cstring>","description":"\u003cstring>","websiteUrl":"\u003cstring>","subscriptionStatus":"POC","createdAt":"\u003cstring>"},"owner":{"id":123,"email":"\u003cstring>","fullName":"\u003cstring>"},"brands":[{"id":123,"name":"\u003cstring>"}],"brandAssetErrors":[{"brandName":"\u003cstring>","message":"\u003cstring>"}],"skippedAssets":[{"content":"\u003cstring>","brandName":"\u003cstring>","reason":"\u003cstring>"}],"dashboardUrl":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ca154a19-50f8-4b12-abed-01192cf59757":{"description":"Invalid input data","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Invalid input data","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"BAD_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Invalid input data error (400)","description":"The error information","example":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]},"uniqueKey":"","typeLabel":"Invalid input data error (400) · object"},"examples":{"Example":{"title":"Example","value":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"e250a1f2-1d15-41b9-8efc-aa4810401a71":{"description":"Authorization not provided","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Authorization not provided","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"UNAUTHORIZED","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Authorization not provided error (401)","description":"The error information","example":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]},"uniqueKey":"","typeLabel":"Authorization not provided error (401) · object"},"examples":{"Example":{"title":"Example","value":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"dd68d219-a2f6-4cc0-bcfe-159978ba48db":{"description":"Insufficient access","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Insufficient access","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"FORBIDDEN","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Insufficient access error (403)","description":"The error information","example":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]},"uniqueKey":"","typeLabel":"Insufficient access error (403) · object"},"examples":{"Example":{"title":"Example","value":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"adb1961e-4efc-4873-a181-6386216413a9":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Internal server error error (500)","description":"The error information","example":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]},"uniqueKey":"","typeLabel":"Internal server error error (500) · object"},"examples":{"Example":{"title":"Example","value":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e3b594a2-1901-4674-be54-39b8bc15d8d9":{"ApiKey":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your API key. This is required by most endpoints to access our API programatically. Reach out to us at [support@chainpatrol.io](mailto:support@chainpatrol.io?subject=Re:%20API%20Key%20for%20SDK\u0026body=Company:%20%0AName:%20%0APurpose:%20) to get an API key for your use.","scopes":[],"schemeName":"ApiKey"}}},"servers":{"e17fb9b1-2fb6-4817-84e0-3d2106985626":{"url":"https://app.chainpatrol.io/api/v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your API key. This is required by most endpoints to access our API programatically. Reach out to us at [support@chainpatrol.io](mailto:support@chainpatrol.io?subject=Re:%20API%20Key%20for%20SDK\u0026body=Company:%20%0AName:%20%0APurpose:%20) to get an API key for your use.","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"X-API-KEY","type":"string","description":"Your API key. This is required by most endpoints to access our API programatically. Reach out to us at [support@chainpatrol.io](mailto:support@chainpatrol.io?subject=Re:%20API%20Key%20for%20SDK\u0026body=Company:%20%0AName:%20%0APurpose:%20) to get an API key for your use.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"X-API-KEY"}],"title":"ApiKey"}]},"originalFileLocation":"https://app.chainpatrol.io/api/v2/openapi.json?v=2"},"subdomain":"chainpatrol","siteName":"ChainPatrol","title":"Create Organization (Staff) - ChainPatrol","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T15:26:30.029Z","originalFileLocation":"external-api/staff-organization-create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}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 an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in skippedAssets.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ChainPatrol\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_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=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Organization (Staff) - ChainPatrol\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in skippedAssets.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ChainPatrol\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://chainpatrol.com/docs/external-api/staff-organization-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chainpatrol.mintlify.site/docs/_mintlify/api/og/v2?division=Staff\u0026amp;title=Create+Organization+%28Staff%29\u0026amp;description=Create+an+organization+exactly+as+ChainPatrol+staff+do+from+the+app%3A+the+owner+and+the+calling+staff+user+are+added+as+members%2C+default+asset+groups+and+any+ini\u0026amp;theme=1a8d7dd79d865cbc4c2f5879\u0026amp;signature=e69e69d70136770c002f50999ab265588b3db949fbaaddc90a0a9e5d938acb54\">\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 Organization (Staff) - ChainPatrol\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in skippedAssets.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chainpatrol.mintlify.site/docs/_mintlify/api/og/v2?division=Staff\u0026amp;title=Create+Organization+%28Staff%29\u0026amp;description=Create+an+organization+exactly+as+ChainPatrol+staff+do+from+the+app%3A+the+owner+and+the+calling+staff+user+are+added+as+members%2C+default+asset+groups+and+any+ini\u0026amp;theme=1a8d7dd79d865cbc4c2f5879\u0026amp;signature=e69e69d70136770c002f50999ab265588b3db949fbaaddc90a0a9e5d938acb54\">\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=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ChainPatrol\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6622DC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://chainpatrol.com/docs/external-api/staff-organization-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/external-api/staff-organization-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://chainpatrol.com/#organization\",\"name\":\"ChainPatrol\",\"url\":\"https://chainpatrol.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chainpatrol/R_CITzEDbsciFTsn/logo/light.svg?fit=max\u0026auto=format\u0026n=R_CITzEDbsciFTsn\u0026q=85\u0026s=8ca4a8411113008ec8f9a57dec249989\"}},{\"@type\":\"WebSite\",\"@id\":\"https://chainpatrol.com/docs#website\",\"name\":\"ChainPatrol\",\"url\":\"https://chainpatrol.com/docs\",\"publisher\":{\"@id\":\"https://chainpatrol.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://chainpatrol.com/docs/external-api/staff-organization-create#webpage\",\"url\":\"https://chainpatrol.com/docs/external-api/staff-organization-create\",\"name\":\"Create Organization (Staff)\",\"description\":\"Create an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in skippedAssets.\",\"dateModified\":\"2026-10-20T15:26:30.029Z\",\"isPartOf\":{\"@id\":\"https://chainpatrol.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://chainpatrol.com/docs/external-api/staff-organization-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://chainpatrol.com/docs/external-api/staff-organization-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ChainPatrol\",\"item\":\"https://chainpatrol.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Organization (Staff)\",\"item\":\"https://chainpatrol.com/docs/external-api/staff-organization-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://chainpatrol.com/docs/external-api/staff-organization-create#apireference\",\"headline\":\"Create Organization (Staff)\",\"name\":\"Create Organization (Staff)\",\"description\":\"Create an organization exactly as ChainPatrol staff do from the app: the owner and the calling staff user are added as members, default asset groups and any initial brands are created, and the website and official assets are allowlisted. Only ChainPatrol staff can call this endpoint, with a staff session or a staff user API key; organization API keys and customer accounts receive 403. The website and official assets are allowlisted automatically, except any that are currently BLOCKED: those are skipped and listed in skippedAssets.\",\"url\":\"https://chainpatrol.com/docs/external-api/staff-organization-create\",\"mainEntityOfPage\":{\"@id\":\"https://chainpatrol.com/docs/external-api/staff-organization-create#webpage\"},\"dateModified\":\"2026-10-20T15:26:30.029Z\",\"publisher\":{\"@id\":\"https://chainpatrol.com/#organization\"},\"isPartOf\":{\"@id\":\"https://chainpatrol.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ChainPatrol\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ChainPatrol","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/what-we-do/introduction"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integration/discord"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"ChainPatrol External API for scam URL and address blocking","sidebarTitle":"Overview","href":"/external-api/overview"},{"title":"External API Authentication","href":"/external-api/authentication"},{"icon":"key","title":"Get Your API Key","href":"/general/api-key"},{"icon":"gauge","title":"API Usage","href":"/general/api-usage"},{"title":"ChainPatrol MCP Server","sidebarTitle":"MCP Server","icon":"plug","href":"/mcp-server"},{"title":"API Deprecation Policy","sidebarTitle":"Deprecation Policy","href":"/external-api/deprecation-policy"}]},{"group":"Assets","pages":[{"title":"Asset Check","openapi":"POST /asset/check","href":"/external-api/asset-check"},{"title":"Asset List","openapi":"POST /asset/list","href":"/external-api/asset-list"},{"title":"Asset Changelog","openapi":"POST /asset/changelog","href":"/external-api/asset-changelog"},{"title":"Asset Search","openapi":"POST /asset/search","href":"/external-api/asset-search"},{"title":"Asset Submit","openapi":"POST /asset/submit","href":"/external-api/asset-submit"},{"title":"Unblock Asset","openapi":"POST /asset/unblock","href":"/external-api/asset-unblock"},{"title":"Asset Parse","openapi":"POST /asset/parse","href":"/external-api/asset-parse"},{"title":"Start Asset Scan","openapi":"POST /asset/scan","href":"/external-api/asset-scan"},{"title":"Get Scan Result","openapi":"POST /scan/result","href":"/external-api/scan-result"},{"title":"Get Asset Details","openapi":"POST /asset/details","href":"/external-api/asset-details"},{"title":"Follow Asset","openapi":"POST /asset/follow","href":"/external-api/asset-follow"},{"title":"Unfollow Asset","openapi":"POST /asset/unfollow","href":"/external-api/asset-unfollow"},{"title":"List Followed Assets","openapi":"GET /asset/follows","href":"/external-api/asset-follows-list"}]},{"group":"Reports","pages":[{"title":"Creating Reports","sidebarTitle":"Creating Reports","href":"/external-api/creating-reports"},{"title":"Create Report","openapi":"POST /report/create","href":"/external-api/report-create"},{"title":"Upload Attachment","sidebarTitle":"Upload Attachment","openapi":"POST /attachment/upload","href":"/external-api/attachment-upload"},{"title":"Search Reports","openapi":"POST /reports/search","href":"/external-api/reports-search"}]},{"group":"Disputes","pages":[{"title":"Create Dispute","openapi":"POST /dispute/create","href":"/external-api/dispute-create"}]},{"group":"Webhooks","pages":[{"title":"Configure Webhook","openapi":"POST /webhook/config","href":"/external-api/webhook-config"}]},{"group":"Organization Brands","pages":[{"title":"List Organization Brands","openapi":"GET /organization/brands","href":"/external-api/organization-brands"}]},{"group":"Organization Assets","pages":[{"title":"List Organization Assets","openapi":"GET /organization/assets","href":"/external-api/organization-assets-list"},{"title":"Add Organization Assets","openapi":"POST /organization/assets","href":"/external-api/organization-assets-add"},{"title":"Update Organization Asset","openapi":"PATCH /organization/assets/{assetId}","href":"/external-api/organization-assets-update"},{"title":"Set Organization Asset Expiry","openapi":"POST /organization/assets/expiry","href":"/external-api/organization-assets-expiry"},{"title":"Remove Organization Asset","openapi":"DELETE /organization/assets/{assetId}","href":"/external-api/organization-assets-remove"}]},{"group":"Organization Asset Groups","pages":[{"title":"List Organization Asset Groups","openapi":"GET /organization/asset-groups","href":"/external-api/organization-asset-groups-list"},{"title":"Create Organization Asset Group","openapi":"POST /organization/asset-groups","href":"/external-api/organization-asset-groups-create"},{"title":"Update Organization Asset Group","openapi":"PATCH /organization/asset-groups/{groupId}","href":"/external-api/organization-asset-groups-update"},{"title":"Delete Organization Asset Group","openapi":"DELETE /organization/asset-groups/{groupId}","href":"/external-api/organization-asset-groups-delete"}]},{"group":"Organization Reports","pages":[{"title":"List Organization Reports","openapi":"GET /organization/reports","href":"/external-api/organization-reports-list"},{"title":"Get Organization Report","openapi":"GET /organization/reports/{reportId}","href":"/external-api/organization-reports-get"},{"title":"Review Organization Proposal","openapi":"POST /organization/proposals/{proposalId}/review","href":"/external-api/organization-proposals-review"},{"title":"Get Organization Reports (Deprecated)","openapi":"POST /public/getOrganizationReports","href":"/external-api/organization-reports"}]},{"group":"Threat Detection","pages":[{"title":"Evaluating suspected threats","href":"/external-api/evaluating-detections"},{"title":"List Suspected Threats","openapi":"POST /detection/list","href":"/external-api/detection-list"},{"title":"List Detection Sources","openapi":"GET /detection/sources","href":"/external-api/detection-sources-list"},{"title":"List Detection Configs","openapi":"POST /detection/configs/list","href":"/external-api/detection-configs-list"},{"title":"Create Detection Config","openapi":"POST /detection/configs/create","href":"/external-api/detection-configs-create"},{"title":"Update Detection Config","openapi":"POST /detection/configs/update","href":"/external-api/detection-configs-update"},{"title":"Delete Detection Config","openapi":"POST /detection/configs/delete","href":"/external-api/detection-configs-delete"},{"title":"Run Detection Configs","openapi":"POST /detection/configs/run","href":"/external-api/detection-configs-run"},{"title":"Validate Detection Configs","openapi":"POST /detection/configs/validate","href":"/external-api/detection-configs-validate"},{"title":"Get Detection Drift Signals","openapi":"POST /detection/drift","href":"/external-api/detection-drift"},{"title":"List Threats","openapi":"POST /threats/list","href":"/external-api/threats-list"},{"title":"List Organization Threats","openapi":"GET /organization/threats","href":"/external-api/organization-threats-list"},{"title":"List Organization Watchlist","openapi":"GET /organization/watchlist","href":"/external-api/organization-watchlist-list"}]},{"group":"Dark Web","pages":[{"title":"List Dark Web Credential Targets","openapi":"GET /dark-web/credentials/targets","href":"/external-api/dark-web-credentials-targets"},{"title":"Search Dark Web Credentials","openapi":"POST /dark-web/credentials/search","href":"/external-api/dark-web-credentials-search"}]},{"group":"Takedowns","pages":[{"title":"List Takedowns","openapi":"POST /takedowns/list","href":"/external-api/takedowns-list"}]},{"group":"Metrics","pages":[{"title":"Get Metrics Summary","openapi":"POST /metrics/summary","href":"/external-api/metrics-summary"},{"title":"Get Metrics Breakdown","openapi":"POST /metrics/breakdown","href":"/external-api/metrics-breakdown"},{"title":"Get Found Threats Count","openapi":"POST /metrics/found","href":"/external-api/metrics-found"},{"title":"Get Blocked Threats by First-Report Source","openapi":"POST /metrics/found-by-source","href":"/external-api/metrics-found-by-source"},{"title":"Get Time to Takedown","openapi":"POST /metrics/takedown-time","href":"/external-api/metrics-takedown-time"},{"title":"Get Time to Takedown by Provider","openapi":"POST /metrics/takedown-time/by-provider","href":"/external-api/metrics-takedown-time-by-provider"},{"title":"Get Time to Takedown Trend","openapi":"POST /metrics/takedown-time/trend","href":"/external-api/metrics-takedown-time-trend"},{"title":"Get Takedown Success Rate","openapi":"POST /metrics/takedown-success-rate","href":"/external-api/metrics-takedown-success-rate"},{"title":"Get False Positive Rate","openapi":"POST /metrics/false-positive-rate","href":"/external-api/metrics-false-positive-rate"},{"title":"Get Time to Detection","openapi":"POST /metrics/time-to-detection","href":"/external-api/metrics-time-to-detection"},{"title":"Get Organization Metrics","openapi":"GET /organization/metrics","href":"/external-api/organization-metrics-list"},{"title":"Get Organization Metrics (Deprecated)","openapi":"POST /public/getOrganizationMetrics","href":"/external-api/organization-metrics"}]},{"group":"Account \u0026 Access","pages":[{"title":"Validate API Key","openapi":"GET /validate","href":"/external-api/validate"},{"title":"Get Current User","openapi":"POST /user/me","href":"/external-api/user-me"},{"title":"Update Current User","openapi":"POST /user/me/update","href":"/external-api/user-me-update"},{"title":"List User Organizations","openapi":"POST /user/orgs","href":"/external-api/user-orgs"},{"title":"Get User Organization","openapi":"GET /user/orgs/{slug}","href":"/external-api/user-orgs-get"}]},{"group":"Operations","pages":[{"title":"Get Operations Queue Snapshot","openapi":"POST /operations/queues/snapshot","description":"Return pending review and takedown queue state with SLA and age buckets for operational monitoring.","href":"/external-api/operations-queues-snapshot"}]},{"group":"Staff","pages":[{"title":"Create Organization (Staff)","openapi":"POST /staff/organization/create","href":"/external-api/staff-organization-create"}]},{"group":"Healthchecks","pages":[{"title":"List Healthchecks","openapi":"POST /healthchecks/list","description":"Return the registry of healthchecks ChainPatrol exposes today, including planned checks that are not yet implemented on the backend. Clients should iterate this list and only call endpoints where `implemented` is true.","href":"/external-api/healthchecks-list"},{"title":"Silent Detection Configs","openapi":"POST /healthchecks/detections/silent-configs","href":"/external-api/healthchecks-detections-silent-configs"},{"title":"Reviewing Backlog","openapi":"POST /healthchecks/reviewing/backlog","href":"/external-api/healthchecks-reviewing-backlog"},{"title":"Old Proposals in Review","openapi":"POST /healthchecks/reviewing/old-proposals","href":"/external-api/healthchecks-reviewing-old-proposals"},{"title":"TODO Takedown Volume","openapi":"POST /healthchecks/takedowns/todo-volume","href":"/external-api/healthchecks-takedowns-todo-volume"},{"title":"IN_PROGRESS Takedown Volume","openapi":"POST /healthchecks/takedowns/in-progress-volume","href":"/external-api/healthchecks-takedowns-in-progress-volume"},{"title":"Stale IN_PROGRESS Takedowns","openapi":"POST /healthchecks/takedowns/stale-in-progress","href":"/external-api/healthchecks-takedowns-stale-in-progress"},{"title":"Cancelled Takedown Count","openapi":"POST /healthchecks/takedowns/cancelled-count","href":"/external-api/healthchecks-takedowns-cancelled-count"},{"title":"Automated Takedowns Disabled","openapi":"POST /healthchecks/takedowns/automation-off","href":"/external-api/healthchecks-takedowns-automation-off"},{"title":"Dead Asset Spike","openapi":"POST /healthchecks/assets/dead-asset-spike","href":"/external-api/healthchecks-assets-dead-asset-spike"},{"title":"Missing Contact URL","openapi":"POST /healthchecks/organization/missing-contact-url","href":"/external-api/healthchecks-organization-missing-contact-url"}]}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"JavaScript SDK","pages":[{"title":"JavaScript SDK","href":"/sdk/overview"}]},{"tab":"Glossary","pages":[{"title":"Glossary","href":"/glossary/overview"}]}]},"basePath":"","title":"Create Organization (Staff) - ChainPatrol","buildId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","deploymentId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Do6EtGSl.js","utils-id4tQ6My.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Byrixac4.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-nakYa3Zl.js","snippetPresets-Bq-pUS7h.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CujTC_9K.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-FneVUsVu.js","shallow-DY9WpUCz.js","getApiPlaygroundDisplay-Bz8WpPfA.js","CodeSnippet-DgCuJg4G.js","CodeSnippets-Dub9c4T0.js","Page-CePXnjd1.js","getPastedJson-xdI8y2XB.js","icon--yVw5vkr.js","MethodPill-C47t7MdS.js","DuplicateIcon-BzwJ2LeC.js","createIcon-BzggGy84.js","DynamicMarkdown-AlxJK8VR.js","SectionHeading-CMlwFxdK.js","axios-vUo_bRtp.js","Markdown-BNgNrPsi.js","clsx-apD-Q0Oo.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-qmLwQyWY.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Dc4qTkWx.js"]}