{
"error": "Bad Request",
"message": "Card ID is required",
"statusCode": 400,
"timestamp": "2024-01-15T10:30:00.000Z"
}
Creates a new integration configuration that links a specific card to workflow settings. This configuration is required before you can send cards through the Integration API and serves as a bridge between your automation workflows and CardClan cards.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CardClan Docs","colors":{"primary":"#2b5cfb","light":"#2b5cfb","dark":"#2b5cfb"},"logo":{"light":"https://mintcdn.com/cardclan/FPAAEcHt1PbNUbAJ/icons/logo.svg?fit=max\u0026auto=format\u0026n=FPAAEcHt1PbNUbAJ\u0026q=85\u0026s=3be6ed66c3a9a7b9e7adef0dd77e1c30","dark":"https://mintcdn.com/cardclan/FPAAEcHt1PbNUbAJ/icons/logo.svg?fit=max\u0026auto=format\u0026n=FPAAEcHt1PbNUbAJ\u0026q=85\u0026s=3be6ed66c3a9a7b9e7adef0dd77e1c30"},"favicon":"https://mintcdn.com/cardclan/FPAAEcHt1PbNUbAJ/icons/favicon.svg?fit=max\u0026auto=format\u0026n=FPAAEcHt1PbNUbAJ\u0026q=85\u0026s=432633136d81c18a1579b312335b71ea","api":{"openapi":"openapi.json","mdx":{"auth":{"method":"bearer"},"server":"https://app.cardclan.io/api"}},"navbar":{"links":[{"href":"mailto:support@cardclan.io","label":"Support"}],"primary":{"type":"button","label":"Visit App","href":"https://app.cardclan.io"}},"footer":{"socials":{"facebook":"https://www.facebook.com/cardclanio","linkedin":"https://www.linkedin.com/company/cardclan"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cardclan","hasAudioNarration":false,"actualSubdomain":"cardclan","customDomains":["docs.cardclan.io"],"gitSource":{"type":"github","owner":"dataspecc-llc","repo":"cardclan-backend","deployBranch":"mintlify-docs","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad72ae14dd0bd75b4a47a9a","collectionId":"d64b1c7b-ec97-49f2-bad1-c0439fb5a59e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad72ae14dd0bd75b4a47a9a"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ad72ae14dd0bd75b4a47a9a","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Reference","count":12},{"language":"default","tag":"Advanced Features","count":12},{"language":"default","tag":"Integration API","count":10},{"language":"default","tag":"Account \u0026 Setup","count":8},{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"AI Features","count":6},{"language":"default","tag":"Overview","count":4},{"language":"default","tag":"Card Design","count":4},{"language":"default","tag":"OAuth Email Connections (1-Click)","count":4},{"language":"default","tag":"Email Configuration","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/integration/config/create-config","slug":"/api-reference/integration/config/create-config","pageMetadata":{"title":"Create Integration Config","openapi":"POST /integration/config","description":"Creates a new integration configuration for a specific card workflow","href":"/api-reference/integration/config/create-config"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Creates a new integration configuration for a specific card workflow\"\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={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Mermaid,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Creates a new integration configuration that links a specific card to workflow settings. This configuration is required before you can send cards through the Integration API and serves as a bridge between your automation workflows and CardClan cards.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-an-integration-configuration`,children:`What is an Integration Configuration?`}),`\n`,_jsx(_components.p,{children:`An integration configuration is a record that:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Links a card`}),` to integration workflows`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Defines workflow settings`}),` for automation platforms`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Enables card sending`}),` through the Integration API`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Tracks integration usage`}),` and analytics`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Think of it as “registering” a card for use in automated workflows.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(ParamField,{body:`userId`,type:`string`,required:true,id:`param-user-id`,children:_jsx(_components.p,{children:`Your CardClan user ID (obtained from authentication)`})}),`\n`,_jsx(ParamField,{body:`workspaceId`,type:`string`,required:true,id:`param-workspace-id`,children:_jsx(_components.p,{children:`Workspace ID containing the card (from Get Workspaces endpoint)`})}),`\n`,_jsx(ParamField,{body:`cardId`,type:`string`,required:true,id:`param-card-id`,children:_jsx(_components.p,{children:`ID of the card to configure for integration use`})}),`\n`,_jsx(Heading,{level:`2`,id:`response-details`,children:`Response Details`}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`The created integration configuration object`}),_jsxs(Expandable,{title:`Configuration object properties`,children:[_jsx(ResponseField,{name:`_id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`Unique integration configuration ID (use this as integrationId in other calls)`})}),_jsx(ResponseField,{name:`userId`,type:`string`,id:`param-user-id-1`,children:_jsx(_components.p,{children:`User ID associated with this configuration`})}),_jsx(ResponseField,{name:`workspaceId`,type:`string`,id:`param-workspace-id-1`,children:_jsx(_components.p,{children:`Workspace ID containing the configured card`})}),_jsx(ResponseField,{name:`cardId`,type:`string`,id:`param-card-id-1`,children:_jsx(_components.p,{children:`Card ID that’s been configured for integration use`})}),_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Timestamp when the configuration was created`})}),_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Timestamp when the configuration was last modified`})})]})]}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Success message confirming the configuration was created`})}),`\n`,_jsx(Heading,{level:`2`,id:`workflow-integration-process`,children:`Workflow Integration Process`}),`\n`,_jsx(Mermaid,{chart:`graph TD\\r\n A[Select Card] --> B[Create Integration Config]\\r\n B --> C[Get Integration ID]\\r\n C --> D[Use in Send Card API]\\r\n D --> E[Card Delivered]\\r\n\\r\n B --> F[Configure Automation Platform]\\r\n F --> G[Map Merge Tags]\\r\n G --> D`}),`\n`,_jsx(Heading,{level:`2`,id:`response-example`,children:`Response Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,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:`11`,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:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"60f7b2b5b8f4a20015a4f5a8\"`}),_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:` \"userId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"60f7b2b5b8f4a20015a4f5a3\"`}),_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:` \"workspaceId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"60f7b2b5b8f4a20015a4f5a4\"`}),_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:` \"cardId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"60f7b2b5b8f4a20015a4f5a5\"`}),_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:`\"2023-07-20T10:30:00.000Z\"`}),_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:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-07-20T10:30: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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Integration configuration created\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\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 Integration Config","openapi":"POST /integration/config","description":"Creates a new integration configuration for a specific card workflow","href":"/api-reference/integration/config/create-config"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What is an Integration Configuration?","slug":"what-is-an-integration-configuration","depth":2,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":2,"children":[]},{"title":"Response Details","slug":"response-details","depth":2,"children":[]},{"title":"Workflow Integration Process","slug":"workflow-integration-process","depth":2,"children":[]},{"title":"Response Example","slug":"response-example","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cardclan/c488381f81e0e75f/scripts/download-helpscout-images.js"],"openApiReferenceData":{"operation":{"tags":["Configuration"],"summary":"Create Integration Configuration","description":"Creates a new integration configuration for a specific card workflow","requestBody":"2e91afb8-d890-406f-b551-51ef0c353970","responses":{"201":"3b91dd9f-5caa-4122-9c90-615261fc08dd","400":"28681d04-9f95-4446-9bb3-72f725659d44"},"method":"post","type":"path","servers":["d9c6193d-fe61-480d-bfd6-c267c034b9d8"],"security":["c2070258-2aa2-4031-b7dc-71e7ef7e28d3"],"path":"/integration/config","baseUrlOptions":["https://app.cardclan.io/api"],"title":"Create Integration Configuration","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["userId","workspaceId","cardId"],"properties":{"userId":{"type":"string","description":"User ID","example":"60f7b2b5b8f4a20015a4f5a3","isRequired":true,"uniqueKey":"userId","typeLabel":"string"},"workspaceId":{"type":"string","description":"Workspace ID","example":"60f7b2b5b8f4a20015a4f5a4","isRequired":true,"uniqueKey":"workspaceId","typeLabel":"string"},"cardId":{"type":"string","description":"Card ID","example":"60f7b2b5b8f4a20015a4f5a5","isRequired":true,"uniqueKey":"cardId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"userId":"60f7b2b5b8f4a20015a4f5a3","workspaceId":"60f7b2b5b8f4a20015a4f5a4","cardId":"60f7b2b5b8f4a20015a4f5a5"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3b91dd9f-5caa-4122-9c90-615261fc08dd":{"description":"Integration configuration created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"_id":{"type":"string","example":"60f7b2b5b8f4a20015a4f5a7","uniqueKey":"data._id","typeLabel":"string"},"userId":{"type":"string","example":"60f7b2b5b8f4a20015a4f5a3","uniqueKey":"data.userId","typeLabel":"string"},"workspaceId":{"type":"string","example":"60f7b2b5b8f4a20015a4f5a4","uniqueKey":"data.workspaceId","typeLabel":"string"},"cardId":{"type":"string","example":"60f7b2b5b8f4a20015a4f5a5","uniqueKey":"data.cardId","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","example":"2023-07-20T10:30:00.000Z","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","example":"2023-07-20T10:30:00.000Z","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","example":"Integration configuration created","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"_id":"60f7b2b5b8f4a20015a4f5a7","userId":"60f7b2b5b8f4a20015a4f5a3","workspaceId":"60f7b2b5b8f4a20015a4f5a4","cardId":"60f7b2b5b8f4a20015a4f5a5","createdAt":"2023-07-20T10:30:00.000Z","updatedAt":"2023-07-20T10:30:00.000Z"},"message":"Integration configuration created"}}},"exampleType":"generated"}},"exampleType":"generated"},"28681d04-9f95-4446-9bb3-72f725659d44":{"description":"Integration configuration already exists or invalid data","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Bad Request","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"Card ID is required","uniqueKey":"message","typeLabel":"string"},"statusCode":{"type":"number","example":400,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","format":"date-time","example":"2024-01-15T10:30:00.000Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Bad Request","message":"Card ID is required","statusCode":400,"timestamp":"2024-01-15T10:30:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c2070258-2aa2-4031-b7dc-71e7ef7e28d3":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Enter your CardClan integration key","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"d9c6193d-fe61-480d-bfd6-c267c034b9d8":{"url":"https://app.cardclan.io/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Enter your CardClan integration key","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Enter your CardClan integration key","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"cardclan","siteName":"CardClan Docs","title":"Create Integration Config - CardClan Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-10-08T10:59:38.646Z","originalFileLocation":"api-reference/integration/config/create-config.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a new integration configuration for a specific card workflow\">\u003cmeta data-mint-head name=\"application-name\" content=\"CardClan Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Integration Config - CardClan Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new integration configuration for a specific card workflow\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CardClan Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cardclan.io/api-reference/integration/config/create-config\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cardclan.mintlify.app/_mintlify/api/og/v2?division=Integration+API\u0026amp;title=Create+Integration+Config\u0026amp;description=Creates+a+new+integration+configuration+for+a+specific+card+workflow\u0026amp;theme=ae48c13341a1e25f578fdfa3\u0026amp;signature=4d759603e0ccfee409e9471ac7742d70fd2c020652c44146f326b24bd3ac993d\">\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 Integration Config - CardClan Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new integration configuration for a specific card workflow\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cardclan.mintlify.app/_mintlify/api/og/v2?division=Integration+API\u0026amp;title=Create+Integration+Config\u0026amp;description=Creates+a+new+integration+configuration+for+a+specific+card+workflow\u0026amp;theme=ae48c13341a1e25f578fdfa3\u0026amp;signature=4d759603e0ccfee409e9471ac7742d70fd2c020652c44146f326b24bd3ac993d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cardclan/-y-NFRmQHBmTaV8_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CardClan Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2b5cfb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cardclan.io/api-reference/integration/config/create-config\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/integration/config/create-config.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cardclan.io/#organization\",\"name\":\"CardClan Docs\",\"url\":\"https://docs.cardclan.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cardclan/FPAAEcHt1PbNUbAJ/icons/logo.svg?fit=max\u0026auto=format\u0026n=FPAAEcHt1PbNUbAJ\u0026q=85\u0026s=3be6ed66c3a9a7b9e7adef0dd77e1c30\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cardclan.io#website\",\"name\":\"CardClan Docs\",\"url\":\"https://docs.cardclan.io\",\"publisher\":{\"@id\":\"https://docs.cardclan.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cardclan.io/api-reference/integration/config/create-config#webpage\",\"url\":\"https://docs.cardclan.io/api-reference/integration/config/create-config\",\"name\":\"Create Integration Config\",\"description\":\"Creates a new integration configuration for a specific card workflow\",\"dateModified\":\"2025-10-08T10:59:38.646Z\",\"isPartOf\":{\"@id\":\"https://docs.cardclan.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cardclan.io/api-reference/integration/config/create-config#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cardclan.io/api-reference/integration/config/create-config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integration API\",\"item\":\"https://docs.cardclan.io/api-reference/integration/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Integration Config\",\"item\":\"https://docs.cardclan.io/api-reference/integration/config/create-config\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.cardclan.io/api-reference/integration/config/create-config#apireference\",\"headline\":\"Create Integration Config\",\"name\":\"Create Integration Config\",\"description\":\"Creates a new integration configuration for a specific card workflow\",\"url\":\"https://docs.cardclan.io/api-reference/integration/config/create-config\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cardclan.io/api-reference/integration/config/create-config#webpage\"},\"dateModified\":\"2025-10-08T10:59:38.646Z\",\"publisher\":{\"@id\":\"https://docs.cardclan.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cardclan.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CardClan Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CardClan Docs","nav":{"global":null,"tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/introduction"}]},{"tab":"General Support","pages":[{"title":"General Support","href":"/help/general-support/clear-cookies-cache-chrome"}]},{"tab":"Account \u0026 Setup","pages":[{"title":"Account \u0026 Setup","href":"/help/account-management/add-new-workspaces"}]},{"tab":"Advanced Features","pages":[{"title":"Advanced Features","href":"/help/white-label-setup/white-label-setup"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Getting Started with the API","href":"/api-reference/getting-started"}]},{"group":"Integration API","pages":[{"title":"Integration API Overview","href":"/api-reference/integration/overview"},{"title":"Validate Authentication","openapi":"GET /integration/auth/validate","href":"/api-reference/integration/authentication/validate-token"},{"title":"Get Workspaces","openapi":"GET /integration/workspaces","href":"/api-reference/integration/data/get-workspaces"},{"title":"Get Cards","openapi":"POST /integration/cards","href":"/api-reference/integration/data/get-cards"},{"title":"Get Email Accounts","openapi":"GET /integration/email-accounts","href":"/api-reference/integration/data/get-email-accounts"},{"title":"Send Card","openapi":"POST /integration/send-card","href":"/api-reference/integration/actions/send-card"},{"title":"Get Card URL","openapi":"POST /integration/get-card-url","description":"Generates a personalized card URL without sending an email","href":"/api-reference/integration/actions/get-card-url"},{"title":"Create Integration Config","openapi":"POST /integration/config","href":"/api-reference/integration/config/create-config"},{"title":"Get Integration Config","openapi":"GET /integration/config","description":"Retrieves integration configuration details by ID","href":"/api-reference/integration/config/get-config"},{"title":"Get Workflow Cards","openapi":"GET /integration/workflow-cards","href":"/api-reference/integration/workflow/workflow-cards"}]},{"group":"Zapier API (Coming Soon)","pages":[{"title":"Zapier API Overview","href":"/api-reference/zapier/overview"}]}]},{"tab":"Video Cards","pages":[{"title":"Video Cards","href":"/guides/video-cards/overview"}]},{"tab":"AI Features","pages":[{"title":"AI Features","href":"/guides/ai/overview"}]}]},"basePath":"","title":"Create Integration Config - CardClan Docs","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}