{ "id": "c906b4a4-0cda-4f46-bd80-255f570c195d", "provider": "stripe", "oauth_app_id": "8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8", "oauth_app": { "name": "Arakkis - Stripe", "id": "8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8" "client_id": "b9f074c939140210e8c231845bbe8b98", "client_secret": "**********", "metadata": {}, "provider": "stripe", "created_at": "2024-02-20T02:10:52Z", "updated_at": "2024-02-20T02:10:52Z" }, "properties": { "kind": "stripe_key", "name": "TEST ACCOUNT", "secret": "***********", "test": true }, // The health field is coming soon "health": { "status": "error", "notes": [ "We're receiving 401s from Stripe for this token. That usually means the token is expired or revoked. We've emailed the owner of this credential to let them know." ], "time": "2023-12-15 01:29:29" }, "metadata": { "custom_property": 42 }, "created_at": "2023-12-15 01:29:29", "updated_at": "2023-12-15 01:29:29"}
You’ll import a credential in the event that you’ve authenticated a user with a provider outside of Sequin. For example, you might have your users authenticate to Stripe via an OAuth flow you control. You can then import that credential into Sequin.Importing a credential is an idempotent operation. Sequin upserts credentials. So, if you attempt to import a credential for an existing Salesforce account, only one credential will be created.
OAuth app to associate with the credential. Learn more about the OAuth app object.Note that this OAuth app must have the same client_id and client_secret that you used to originally obtain the credential.
Metadata for the credential. This is a free-form object that you can use to store any additional information you want to associate with the credential.
Metadata for the credential. This is a free-form object that you can use to store any additional information you want to associate with the credential.
Timestamp of when the credential was last updated, in ISO 8601 format.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Sequin","colors":{"primary":"#0E0E0E","light":"#474747","dark":"#0E0E0E"},"favicon":"https://mintcdn.com/sequin/3H0rKJAg0ey1fqux/favicon.png?fit=max\u0026auto=format\u0026n=3H0rKJAg0ey1fqux\u0026q=85\u0026s=844e5576b8c7a8a6538e26b68501cd24","logo":{"light":"https://mintcdn.com/sequin/gPSFPT8nToU0KAMP/logo/light.png?fit=max\u0026auto=format\u0026n=gPSFPT8nToU0KAMP\u0026q=85\u0026s=859caa53641359662caa08142ec7b4ed","dark":"https://mintcdn.com/sequin/gPSFPT8nToU0KAMP/logo/dark.png?fit=max\u0026auto=format\u0026n=gPSFPT8nToU0KAMP\u0026q=85\u0026s=c1bf0bfc90ce1ee47177b313941732bc","href":"https://sequin.io"},"api":{"mdx":{"server":"https://api.sequin.io","auth":{"method":"bearer","name":"Authorization"}}},"navbar":{"links":[{"label":"Sign Up","href":"https://console.sequin.io/signup"}],"primary":{"type":"button","label":"Log In","href":"https://app.sequin.io/"}},"footer":{"socials":{"twitter":"https://twitter.com/sequin_io?lang=en","linkedin":"https://www.linkedin.com/company/sequin-io/"}},"integrations":{"koala":{"publicApiKey":"pk_8642121e4de1150877a41ae366edb9f8cb6a"},"posthog":{"apiKey":"phc_5KzGq2JZfLZuRRBZfTHaSG9kBZLsnmb9fJDpup45pNw"},"intercom":{"appId":"btt358pc"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sequin","hasAudioNarration":false,"actualSubdomain":"sequin","customDomains":["sequin.io"],"gitSource":{"type":"github","owner":"sequin-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e61303d4026a3ef7657a","collectionId":"eae96796-08f7-465a-a44e-41823cf4a247","schemaVersion":"v2"},"feedback":{"issues":false,"edits":false},"entitlements":{},"buildId":"6a21e61303d4026a3ef7657a:success","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"Management API","count":68},{"language":"default","tag":"General","count":25},{"language":"default","tag":"Streams","count":11},{"language":"default","tag":"How to","count":7},{"language":"default","tag":"Upsert to Postgres","count":6},{"language":"default","tag":"Consumers","count":6},{"language":"default","tag":"Mutations","count":6},{"language":"default","tag":"Credentials","count":5},{"language":"default","tag":"OAuth apps","count":5},{"language":"default","tag":"Syncs","count":5}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"management-api/credentials/create","slug":"/management-api/credentials/create","pageMetadata":{"title":"Import a credential","description":"This endpoint imports a credential into your account.","api":"POST /v1/credentials/{id}","href":"/management-api/credentials/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"This endpoint imports a credential into your account.\"\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`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Heading,Note,ParamField,ResponseField}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`You’ll `,_jsx(_components.strong,{children:`import a credential`}),` in the event that you’ve authenticated a user with a provider outside of Sequin. For example, you might have your users authenticate to Stripe via an OAuth flow you control. You can then import that credential into Sequin.`]}),`\n`,_jsxs(_components.p,{children:[`Importing a credential is an `,_jsx(_components.strong,{children:`idempotent`}),` operation. Sequin upserts credentials. So, if you attempt to import a credential for an existing Salesforce account, only one credential will be created.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request parameters`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`A name for your credential.`})}),`\n`,_jsxs(ParamField,{body:`properties`,type:`object`,required:true,id:`param-properties`,children:[_jsx(_components.p,{children:`The credential properties for the provider.`}),_jsx(Note,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`properties`}),` parameter depend on the `,_jsx(_components.code,{children:`kind`}),` of credential you’re importing. See `,_jsx(_components.a,{href:`/management-api/objects#credential-properties`,children:`the list of possible values`}),`.`]})})]}),`\n`,_jsxs(ParamField,{body:`oauth_app_id`,type:`string`,required:true,id:`param-oauth-app-id`,children:[_jsxs(_components.p,{children:[`OAuth app to associate with the credential. Learn more about `,_jsx(_components.a,{href:`/management-api/oauth-apps/list`,children:`the OAuth app object`}),`.`]}),_jsxs(_components.p,{children:[`Note that this OAuth app must have the same `,_jsx(_components.code,{children:`client_id`}),` and `,_jsx(_components.code,{children:`client_secret`}),` that you used to originally obtain the credential.`]})]}),`\n`,_jsx(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Metadata for the credential. This is a free-form object that you can use to store any additional information you want to associate with the credential.`})}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response fields`}),`\n`,`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`ID of the credential.`})}),`\n`,_jsx(ResponseField,{name:`provider`,type:`string`,id:`param-provider`,children:_jsxs(_components.p,{children:[`Provider of the credential (e.g. `,_jsx(_components.code,{children:`github`}),`, `,_jsx(_components.code,{children:`stripe`}),`, etc). See `,_jsx(_components.a,{href:`/management-api/objects#sync-providers`,children:`the list of possible values`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`kind`,type:`string`,id:`param-kind`,children:_jsxs(_components.p,{children:[`Kind of credential (e.g. `,_jsx(_components.code,{children:`stripe_oauth`}),`, `,_jsx(_components.code,{children:`github`}),`, etc). See `,_jsx(_components.a,{href:`/management-api/objects#credential-properties`,children:`the list of possible values`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`health`,type:`object`,id:`param-health`,children:_jsxs(_components.p,{children:[`Status of the credential. Learn more about `,_jsx(_components.a,{href:`/management-api/objects#health`,children:`the health object`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`oauth_app`,type:`object`,id:`param-oauth-app`,children:_jsxs(_components.p,{children:[`OAuth app associated to the credential. Learn more about `,_jsx(_components.a,{href:`/management-api/oauth-apps/list`,children:`the OAuth app object`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`properties`,type:`credential_properties`,id:`param-properties-1`,children:_jsxs(_components.p,{children:[`The properties for the credential. This field is polymorphic based on the credential kind. Learn more about `,_jsx(_components.a,{href:`/management-api/objects#credential-properties`,children:`credential properties`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`metadata`,type:`string`,id:`param-metadata-1`,children:_jsx(_components.p,{children:`Metadata for the credential. This is a free-form object that you can use to store any additional information you want to associate with the credential.`})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Timestamp of when the credential was created, in ISO 8601 format.`})}),`\n`,_jsx(ResponseField,{name:`updated_at`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Timestamp of when the credential was last updated, in ISO 8601 format.`})})]})}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":"Import a credential","description":"This endpoint imports a credential into your account.","api":"POST /v1/credentials/{id}","href":"/management-api/credentials/create"}}},"mdxSourceWithNoJs":{"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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`You’ll `,_jsx(_components.strong,{children:`import a credential`}),` in the event that you’ve authenticated a user with a provider outside of Sequin. For example, you might have your users authenticate to Stripe via an OAuth flow you control. You can then import that credential into Sequin.`]}),`\n`,_jsxs(_components.p,{children:[`Importing a credential is an `,_jsx(_components.strong,{children:`idempotent`}),` operation. Sequin upserts credentials. So, if you attempt to import a credential for an existing Salesforce account, only one credential will be created.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-parameters`,children:`Request parameters`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`A name for your credential.`})}),`\n`,_jsxs(ParamField,{body:`properties`,type:`object`,required:true,id:`param-properties`,children:[_jsx(_components.p,{children:`The credential properties for the provider.`}),_jsx(Note,{children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`properties`}),` parameter depend on the `,_jsx(_components.code,{children:`kind`}),` of credential you’re importing. See `,_jsx(_components.a,{href:`/management-api/objects#credential-properties`,children:`the list of possible values`}),`.`]})})]}),`\n`,_jsxs(ParamField,{body:`oauth_app_id`,type:`string`,required:true,id:`param-oauth-app-id`,children:[_jsxs(_components.p,{children:[`OAuth app to associate with the credential. Learn more about `,_jsx(_components.a,{href:`/management-api/oauth-apps/list`,children:`the OAuth app object`}),`.`]}),_jsxs(_components.p,{children:[`Note that this OAuth app must have the same `,_jsx(_components.code,{children:`client_id`}),` and `,_jsx(_components.code,{children:`client_secret`}),` that you used to originally obtain the credential.`]})]}),`\n`,_jsx(ParamField,{body:`metadata`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`Metadata for the credential. This is a free-form object that you can use to store any additional information you want to associate with the credential.`})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`14`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_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:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.sequin.io/v1/credentials`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer YOUR_API_TOKEN'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"properties\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"kind\": \"stripe_key\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Choam Stripe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"secret\": \"sk_live_7eC39HqLyjWDarjtT1zdp7dcasd\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"test\": false`})}),`\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:` \"oauth_app_id\": \"8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": { \"custom_property\": 42 }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`response-fields`,children:`Response fields`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200 OK`,numberOfLines:`33`,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:`33`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c906b4a4-0cda-4f46-bd80-255f570c195d\"`}),_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:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"stripe\"`}),_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:` \"oauth_app_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8\"`}),_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:` \"oauth_app\"`}),_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:`\"Arakkis - Stripe\"`}),_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:`\"8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"client_id\"`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"b9f074c939140210e8c231845bbe8b98\"`}),_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:` \"client_secret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"**********\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_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:` \"provider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"stripe\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-02-20T02:10:52Z\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-02-20T02:10:52Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\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:` \"properties\"`}),_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:` \"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"stripe_key\"`}),_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:`\"TEST ACCOUNT\"`}),_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:` \"secret\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"***********\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"test\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\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:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // The health field is coming soon`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"health\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"notes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"We're receiving 401s from Stripe for this token. That usually means the token is expired or revoked. We've emailed the owner of this credential to let them know.\"`})}),`\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:` \"time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-12-15 01:29:29\"`})]}),`\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:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"custom_property\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`42`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-12-15 01:29:29\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-12-15 01:29:29\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`ID of the credential.`})}),`\n`,_jsx(ResponseField,{name:`provider`,type:`string`,id:`param-provider`,children:_jsxs(_components.p,{children:[`Provider of the credential (e.g. `,_jsx(_components.code,{children:`github`}),`, `,_jsx(_components.code,{children:`stripe`}),`, etc). See `,_jsx(_components.a,{href:`/management-api/objects#sync-providers`,children:`the list of possible values`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`kind`,type:`string`,id:`param-kind`,children:_jsxs(_components.p,{children:[`Kind of credential (e.g. `,_jsx(_components.code,{children:`stripe_oauth`}),`, `,_jsx(_components.code,{children:`github`}),`, etc). See `,_jsx(_components.a,{href:`/management-api/objects#credential-properties`,children:`the list of possible values`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`health`,type:`object`,id:`param-health`,children:_jsxs(_components.p,{children:[`Status of the credential. Learn more about `,_jsx(_components.a,{href:`/management-api/objects#health`,children:`the health object`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`oauth_app`,type:`object`,id:`param-oauth-app`,children:_jsxs(_components.p,{children:[`OAuth app associated to the credential. Learn more about `,_jsx(_components.a,{href:`/management-api/oauth-apps/list`,children:`the OAuth app object`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`properties`,type:`credential_properties`,id:`param-properties-1`,children:_jsxs(_components.p,{children:[`The properties for the credential. This field is polymorphic based on the credential kind. Learn more about `,_jsx(_components.a,{href:`/management-api/objects#credential-properties`,children:`credential properties`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`metadata`,type:`string`,id:`param-metadata-1`,children:_jsx(_components.p,{children:`Metadata for the credential. This is a free-form object that you can use to store any additional information you want to associate with the credential.`})}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Timestamp of when the credential was created, in ISO 8601 format.`})}),`\n`,_jsx(ResponseField,{name:`updated_at`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Timestamp of when the credential was last updated, in ISO 8601 format.`})})]})}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":"Import a credential","description":"This endpoint imports a credential into your account.","api":"POST /v1/credentials/{id}","href":"/management-api/credentials/create"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request parameters","slug":"request-parameters","depth":2,"children":[]},{"title":"Response fields","slug":"response-fields","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.sequin.io/v1/credentials\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer YOUR_API_TOKEN'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"properties\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"kind\": \"stripe_key\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Choam Stripe\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"secret\": \"sk_live_7eC39HqLyjWDarjtT1zdp7dcasd\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"test\": false\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"oauth_app_id\": \"8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"metadata\": { \"custom_property\": 42 }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200 OK","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"33\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"c906b4a4-0cda-4f46-bd80-255f570c195d\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"provider\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"stripe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"oauth_app_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"oauth_app\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Arakkis - Stripe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8ff58ef0-d376-4ae8-b2e2-9f0206aa65b8\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"client_id\"\u003c/span>\u003cspan style=\"color:#82071E;--shiki-light-font-style:italic;--shiki-dark:#F44747;--shiki-dark-font-style:inherit\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"b9f074c939140210e8c231845bbe8b98\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"client_secret\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"**********\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"provider\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"stripe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-02-20T02:10:52Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-02-20T02:10:52Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"properties\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"kind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"stripe_key\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"TEST ACCOUNT\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"secret\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"***********\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"test\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"> // The health field is coming soon\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"health\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"notes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"We're receiving 401s from Stripe for this token. That usually means the token is expired or revoked. We've emailed the owner of this credential to let them know.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"time\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-12-15 01:29:29\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"metadata\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"custom_property\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">42\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-12-15 01:29:29\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-12-15 01:29:29\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Import a credential","path":"/v1/credentials/{id}","servers":[{"url":"https://api.sequin.io"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"A name for your credential."}],"properties":[{"type":"object","properties":{},"description":"The credential properties for the provider.","required":true}],"oauth_app_id":[{"type":"string","description":"OAuth app to associate with the credential. Learn more about the OAuth app object . Note that this OAuth app must have the same `client_id` and `client_secret` that you used to originally obtain the credential.","required":true}],"metadata":[{"type":"object","properties":{},"description":"Metadata for the credential. This is a free-form object that you can use to store any additional information you want to associate with the credential."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","properties":{},"oauth_app_id":"\u003cstring>","metadata":{}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"ID of the credential."}],"provider":[{"type":"string","description":"Provider of the credential (e.g. `github` , `stripe` , etc). See the list of possible values ."}],"kind":[{"type":"string","description":"Kind of credential (e.g. `stripe_oauth` , `github` , etc). See the list of possible values ."}],"health":[{"type":"object","properties":{},"description":"Status of the credential. Learn more about the health object ."}],"oauth_app":[{"type":"object","properties":{},"description":"OAuth app associated to the credential. Learn more about the OAuth app object ."}],"properties":[{"type":"object","properties":{},"description":"The properties for the credential. This field is polymorphic based on the credential kind. Learn more about credential properties ."}],"metadata":[{"type":"string","description":"Metadata for the credential. This is a free-form object that you can use to store any additional information you want to associate with the credential."}],"created_at":[{"type":"string","description":"Timestamp of when the credential was created, in ISO 8601 format."}],"updated_at":[{"type":"string","description":"Timestamp of when the credential was last updated, in ISO 8601 format."}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","provider":"\u003cstring>","kind":"\u003cstring>","health":{},"oauth_app":{},"properties":{},"metadata":"\u003cstring>","created_at":"\u003cstring>","updated_at":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"sequin","siteName":"Sequin","title":"Import a credential - Sequin","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-14T01:15:10.836Z","originalFileLocation":"management-api/credentials/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=\"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=\"This endpoint imports a credential into your account.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sequin\">\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/sequin/uiE1W50_U5tk7R0l/_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/sequin/uiE1W50_U5tk7R0l/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sequin/uiE1W50_U5tk7R0l/_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/sequin/uiE1W50_U5tk7R0l/_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/sequin/uiE1W50_U5tk7R0l/_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/sequin/uiE1W50_U5tk7R0l/_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/sequin/uiE1W50_U5tk7R0l/_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/sequin/uiE1W50_U5tk7R0l/_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/sequin/uiE1W50_U5tk7R0l/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Import a credential - Sequin\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint imports a credential into your account.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sequin\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sequin.io/docs/management-api/credentials/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sequin.mintlify.app/_mintlify/api/og/v2?division=Credentials\u0026amp;title=Import+a+credential\u0026amp;description=This+endpoint+imports+a+credential+into+your+account.\u0026amp;theme=d02746b9e009d8e0aa0df7ea\u0026amp;signature=d42636e6c2025c2031919358baf8ae4798ec87a5176725e5841e2cc9d919aae8\">\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=\"Import a credential - Sequin\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint imports a credential into your account.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sequin.mintlify.app/_mintlify/api/og/v2?division=Credentials\u0026amp;title=Import+a+credential\u0026amp;description=This+endpoint+imports+a+credential+into+your+account.\u0026amp;theme=d02746b9e009d8e0aa0df7ea\u0026amp;signature=d42636e6c2025c2031919358baf8ae4798ec87a5176725e5841e2cc9d919aae8\">\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/sequin/uiE1W50_U5tk7R0l/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sequin\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E0E0E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sequin.io/docs/management-api/credentials/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/management-api/credentials/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sequin.io/#organization\",\"name\":\"Sequin\",\"url\":\"https://sequin.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sequin/gPSFPT8nToU0KAMP/logo/light.png?fit=max\u0026auto=format\u0026n=gPSFPT8nToU0KAMP\u0026q=85\u0026s=859caa53641359662caa08142ec7b4ed\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sequin.io/docs#website\",\"name\":\"Sequin\",\"url\":\"https://sequin.io/docs\",\"publisher\":{\"@id\":\"https://sequin.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sequin.io/docs/management-api/credentials/create#webpage\",\"url\":\"https://sequin.io/docs/management-api/credentials/create\",\"name\":\"Import a credential\",\"description\":\"This endpoint imports a credential into your account.\",\"dateModified\":\"2026-05-14T01:15:10.836Z\",\"isPartOf\":{\"@id\":\"https://sequin.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://sequin.io/docs/management-api/credentials/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sequin.io/docs/management-api/credentials/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Management API\",\"item\":\"https://sequin.io/docs/management-api/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Credentials\",\"item\":\"https://sequin.io/docs/management-api/credentials/list\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Import a credential\",\"item\":\"https://sequin.io/docs/management-api/credentials/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://sequin.io/docs/management-api/credentials/create#apireference\",\"headline\":\"Import a credential\",\"name\":\"Import a credential\",\"description\":\"This endpoint imports a credential into your account.\",\"url\":\"https://sequin.io/docs/management-api/credentials/create\",\"mainEntityOfPage\":{\"@id\":\"https://sequin.io/docs/management-api/credentials/create#webpage\"},\"dateModified\":\"2026-05-14T01:15:10.836Z\",\"publisher\":{\"@id\":\"https://sequin.io/#organization\"},\"isPartOf\":{\"@id\":\"https://sequin.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sequin\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sequin","nav":{"global":null,"tabs":[{"tab":"General","pages":[{"title":"General","href":"/introduction"}]},{"tab":"Management API","groups":[{"group":"Management API","pages":[{"title":"Introduction","href":"/management-api/introduction"},{"title":"Authentication","href":"/management-api/authentication"},{"title":"Objects","href":"/management-api/objects"},{"title":"Errors","href":"/management-api/errors"},{"group":"Streams","pages":[{"title":"List streams","api":"GET /v1/streams","href":"/management-api/streams/list"},{"title":"Get a stream","api":"GET /v1/streams/{id}","href":"/management-api/streams/get"},{"title":"Create a stream","api":"POST /v1/streams","href":"/management-api/streams/create"},{"title":"Update a stream","api":"PATCH /v1/streams/{id}","href":"/management-api/streams/update"},{"title":"Delete a stream","api":"DELETE /v1/streams/{id}","href":"/management-api/streams/delete"}]},{"group":"Syncs","pages":[{"title":"List syncs","api":"GET /v1/syncs","href":"/management-api/syncs/list"},{"title":"Get a sync","api":"GET /v1/syncs/{id}","href":"/management-api/syncs/get"},{"title":"Create a sync","api":"POST /v1/syncs","href":"/management-api/syncs/create"},{"title":"Update a sync","api":"PATCH /v1/syncs/{id}","href":"/management-api/syncs/update"},{"title":"Delete a sync","api":"DELETE /v1/syncs/{id}","href":"/management-api/syncs/delete"}]},{"group":"Consumers","pages":[{"title":"List Consumers","api":"GET /v1/http-consumers","href":"/management-api/consumers/list"},{"title":"Get a Consumer","api":"GET /v1/http-consumers/{id}","href":"/management-api/consumers/get"},{"title":"Create a Consumer","api":"POST /v1/http-consumers","href":"/management-api/consumers/create"},{"title":"Update a Consumer","api":"PATCH /v1/http-consumers/{id}","href":"/management-api/consumers/update"},{"title":"Delete a Consumer","api":"DELETE /v1/http-consumers/{id}","href":"/management-api/consumers/delete"},{"title":"Reset a Consumer","api":"POST /v1/http-consumers/{id}/reset","href":"/management-api/consumers/reset"}]},{"group":"Credentials","pages":[{"title":"List credentials","api":"GET /v1/credentials","href":"/management-api/credentials/list"},{"title":"Get a credential","description":"This endpoint gets a single credential.","api":"GET /v1/credentials/{id}","href":"/management-api/credentials/get"},{"title":"Import a credential","api":"POST /v1/credentials/{id}","href":"/management-api/credentials/create"},{"title":"Update a credential","description":"This endpoint updates a credential.","api":"PATCH /v1/credentials/{id}","href":"/management-api/credentials/update"},{"title":"Delete a credential","api":"DELETE /v1/credentials/{id}","href":"/management-api/credentials/delete"}]},{"group":"OAuth apps","pages":[{"title":"List OAuth apps","api":"GET /v1/oauth-apps","href":"/management-api/oauth-apps/list"},{"title":"Get an OAuth app","api":"GET /v1/oauth-apps/{id}","href":"/management-api/oauth-apps/get"},{"title":"Create an OAuth app","api":"POST /v1/oauth-apps","href":"/management-api/oauth-apps/create"},{"title":"Update an OAuth app","api":"PATCH /v1/oauth-apps/{id}","href":"/management-api/oauth-apps/update"},{"title":"Delete an OAuth app","api":"DELETE /v1/oauth-apps/{id}","href":"/management-api/oauth-apps/delete"}]},{"group":"Collections","pages":[{"title":"List collections","api":"GET /v1/collections/{credential_id}","href":"/management-api/collections/list"},{"title":"Get a collection","api":"GET /v1/collections/{credential_id}/{id}","href":"/management-api/collections/get"},{"title":"Get collection refresh status","api":"GET /v1/collections/{credential_id}/refresh/status","href":"/management-api/collections/get-refresh-status"},{"title":"Start collection refresh","api":"POST /v1/collections/{credential_id}/refresh/start","href":"/management-api/collections/start-refresh"}]}]}]}]},"title":"Import a credential - Sequin","buildId":"dpl_BtCp1ySSRiZuC61kdwjLNfcZF9iT","deploymentId":"dpl_BtCp1ySSRiZuC61kdwjLNfcZF9iT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BwGMKaJA.js","utils-DlantaNs.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-bU1lWMyL.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-atrzX1N-.js","snippetPresets-Dm5t-KF3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cz42QzGy.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CLWnFKQE.js","shallow-DjOyfhxF.js","getApiPlaygroundDisplay-J2CVUWQR.js","CodeSnippet-emM-BzLU.js","CodeSnippets-DbUDosch.js","Page-DHr1JptQ.js","getPastedJson-D8Zg6YHf.js","icon-BDdk7KSm.js","MethodPill-C61Dtple.js","DuplicateIcon-42opbpVe.js","createIcon-BciRFb7M.js","DynamicMarkdown-CSxQrJZZ.js","SectionHeading-EqAWqlH3.js","axios-vUo_bRtp.js"]}