{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SiteGPT Docs","colors":{"primary":"#155DEE","light":"#155DEE","dark":"#155DEE"},"logo":{"light":"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo/light.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=0a0dcfea4d0990c3ee53df5fdc5fbb62","dark":"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo/dark.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=2111fa1fed2bc70d40aee0cd58f47f89"},"favicon":"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=308eee623c00dfa6887d41e68491d7b5","api":{"openapi":["https://sitegpt.ai/openapi.yaml","https://sitegpt.ai/api/v2/openapi.json"],"playground":{"display":"interactive"},"mdx":{"server":"https://sitegpt.ai/api"}},"appearance":{"default":"light","strict":true},"background":{"color":{"dark":"#155DEE"}},"navbar":{"links":[{"href":"mailto:support@sitegpt.ai","label":"Support"}],"primary":{"type":"button","label":"Create Your Chatbot Now","href":"https://sitegpt.ai/pricing"}},"footer":{"socials":{"website":"https://sitegpt.ai","twitter":"https://twitter.com/SiteGPT","linkedin":"https://www.linkedin.com/company/SiteGPT","youtube":"https://www.youtube.com/@sitegpt"}},"seo":{"metatags":{"canonical":"https://sitegpt.ai/docs"}},"integrations":{"fathom":{"siteId":"TULDUMHD"},"ga4":{"measurementId":"G-BJ7Q0301KD"},"posthog":{"apiKey":"phc_qA4nP6k87ZHKpJ5paJmtAs1WJLxYL4lz2lOcHCX5sjy","apiHost":"https://sitegt.ai/ph-j52x"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sitegpt","hasAudioNarration":false,"actualSubdomain":"sitegpt","customDomains":["sitegpt.ai"],"gitSource":{"type":"github","owner":"sitegpt","repo":"sitegpt-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeb7bd6fff8b9aa28c4d70f","collectionId":"6227426b-2d5a-4b13-967e-a0bc268bfd41","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb7bd6fff8b9aa28c4d70f"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aeb7bd6fff8b9aa28c4d70f","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"API Reference","count":180},{"language":"default","tag":"Documentation","count":66},{"language":"default","tag":"Changelog","count":46},{"language":"default","tag":"CLI","count":19},{"language":"default","tag":"Chatbots","count":14},{"language":"default","tag":"Knowledge","count":14},{"language":"default","tag":"Conversations","count":13},{"language":"default","tag":"Personas","count":12},{"language":"default","tag":"Instructions","count":12},{"language":"default","tag":"Get started","count":12}]},"assistantConfig":{},"basePath":"/docs","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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","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/chatbot-links/add-links-to-chatbot","slug":"/api-reference/chatbot-links/add-links-to-chatbot","pageMetadata":{"openapi":"post /v0/chatbots/{chatbotId}/links","title":"Add Links to Chatbot (v0)","description":"**⚠️ DEPRECATED**: This endpoint is deprecated and will be sunset on June 1, 2026.\n\nPlease migrate to the v1 API endpoint (`/v1/chatbots/{chatbotId}/links`) for:\n- Advanced features (website crawling, sitemaps, YouTube)\n- Better performance and reliability\n- More granular control over content ingestion\n\n---\n\nAdd a list of URLs to the chatbot. This is the simplified v0 endpoint for backward compatibility.\n\n**Note:** The `urlType` field is optional and deprecated. ZENDESK and GITBOOK source types are no longer supported.\n\n**Migration Guide**: See `/v1/chatbots/{chatbotId}/links` endpoint documentation.","href":"/api-reference/chatbot-links/add-links-to-chatbot"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n hr: \"hr\",\n li: \"li\",\n p: \"p\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"⚠️ DEPRECATED\"\n }), \": This endpoint is deprecated and will be sunset on June 1, 2026.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Please migrate to the v1 API endpoint (\", _jsx(_components.code, {\n children: \"/v1/chatbots/{chatbotId}/links\"\n }), \") for:\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Advanced features (website crawling, sitemaps, YouTube)\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Better performance and reliability\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"More granular control over content ingestion\"\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.p, {\n children: \"Add a list of URLs to the chatbot. This is the simplified v0 endpoint for backward compatibility.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Note:\"\n }), \" The \", _jsx(_components.code, {\n children: \"urlType\"\n }), \" field is optional and deprecated. ZENDESK and GITBOOK source types are no longer supported.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Migration Guide\"\n }), \": See \", _jsx(_components.code, {\n children: \"/v1/chatbots/{chatbotId}/links\"\n }), \" endpoint documentation.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /v0/chatbots/{chatbotId}/links","title":"Add Links to Chatbot (v0)","description":"**⚠️ DEPRECATED**: This endpoint is deprecated and will be sunset on June 1, 2026.\n\nPlease migrate to the v1 API endpoint (`/v1/chatbots/{chatbotId}/links`) for:\n- Advanced features (website crawling, sitemaps, YouTube)\n- Better performance and reliability\n- More granular control over content ingestion\n\n---\n\nAdd a list of URLs to the chatbot. This is the simplified v0 endpoint for backward compatibility.\n\n**Note:** The `urlType` field is optional and deprecated. ZENDESK and GITBOOK source types are no longer supported.\n\n**Migration Guide**: See `/v1/chatbots/{chatbotId}/links` endpoint documentation.","href":"/api-reference/chatbot-links/add-links-to-chatbot"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/sitegpt/71568a7b608411b6/analytics.js"],"openApiReferenceData":{"operation":{"tags":["Chatbot Links"],"summary":"Add Links to Chatbot (v0)","deprecated":true,"description":"**⚠️ DEPRECATED**: This endpoint is deprecated and will be sunset on June 1, 2026.\n\nPlease migrate to the v1 API endpoint (`/v1/chatbots/{chatbotId}/links`) for:\n- Advanced features (website crawling, sitemaps, YouTube)\n- Better performance and reliability\n- More granular control over content ingestion\n\n---\n\nAdd a list of URLs to the chatbot. This is the simplified v0 endpoint for backward compatibility.\n\n**Note:** The `urlType` field is optional and deprecated. ZENDESK and GITBOOK source types are no longer supported.\n\n**Migration Guide**: See `/v1/chatbots/{chatbotId}/links` endpoint documentation.","requestBody":"281c2d10-dd38-49d4-bd60-e344082ce602","responses":{"200":"b67176ad-2a74-46de-962c-426a973cdb96","400":"a594ca08-c6bd-45d4-924b-2c111e3093ba","401":"515a6750-b7d2-4fff-a428-f0edbb0384d1","403":"3842afd6-6cb2-403b-956b-7813ab0995bb","404":"d824b089-4d55-445f-9dfb-8591cd1b1c5c","405":"e714a812-ab6e-4364-815c-7130a71362ef","429":"31ee976b-515b-4102-8647-22219d778483","500":"6935537b-174c-41dd-9ea8-bde2c3c4c3ba"},"operationId":"add-links-to-chatbot-v0","method":"post","type":"path","servers":["c48ab648-58bf-491a-86ce-47795e2cc7c9"],"security":["4a7958bd-182e-49e3-9c58-7fb6b9b4ec26"],"path":"/v0/chatbots/{chatbotId}/links","baseUrlOptions":["https://sitegpt.ai/api"],"title":"Add Links to Chatbot (v0)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"79bd6298-319e-4b18-8f1e-de31f8404d05":{"name":"chatbotId","description":"Id of the chatbot","in":"path","schema":{"type":"string","isRequired":true,"description":"Id of the chatbot","uniqueKey":"","typeLabel":"string"},"required":true}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Request Body","properties":{"links":{"type":"array","description":"List of URLs to be added to the chatbot (max 1000 per request)","minItems":1,"maxItems":1000,"items":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"URL to be added","isRequired":true,"uniqueKey":"links.items.[INDEX].url","typeLabel":"string\u003curi>"},"urlType":{"description":"(DEPRECATED) Type of the URL. This field is accepted for backward compatibility but ignored. ZENDESK and GITBOOK are no longer supported.","enum":["WEB","ZENDESK","GITBOOK"],"type":"string","uniqueKey":"links.items.[INDEX].urlType","typeLabel":"enum\u003cstring>"}},"required":["url"],"uniqueKey":"links.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"links","typeLabel":"object[]"}},"required":["links"],"uniqueKey":"","typeLabel":"object"},"examples":{"Request Body":{"title":"Request Body","value":{"links":[{"url":"https://sitegpt.ai"},{"url":"https://sitegpt.ai/pricing"},{"url":"https://sitegpt.ai/docs"}]}}},"exampleType":"examples"}},"description":"Request body to add links to the chatbot","exampleType":"examples"},"responses":{"b67176ad-2a74-46de-962c-426a973cdb96":{"description":"OK","headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"content":{"application/json":{"schema":{"type":"object","description":"Success Response","properties":{"success":{"type":"boolean","description":"Indicates whether this is success response or error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","description":"Data returned from the server","uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Success":{"title":"Success","value":{"success":true,"message":"Added links to the chatbot successfully","data":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"a594ca08-c6bd-45d4-924b-2c111e3093ba":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Validation Error":{"title":"Validation Error","value":{"success":false,"message":"Failed to add links to the chatbot","data":null,"error":{"code":"CHATBOT_ID_REQUIRED","message":"chatbotId is required","details":null}}},"Invalid Request Body":{"title":"Invalid Request Body","value":{"success":false,"message":"Failed to add links to the chatbot","data":null,"error":{"code":"REQUEST_VALIDATION_FAILED","message":"Request body is not valid","details":[{"path":["links",4,"urlType"],"message":"Invalid enum value. Expected `WEB` | `ZENDESK` | `GITBOOK`, received `WE`"}]}}}},"exampleType":"examples"}},"headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"exampleType":"examples"},"515a6750-b7d2-4fff-a428-f0edbb0384d1":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Authentication Error":{"title":"Authentication Error","value":{"success":false,"message":"Failed to add links to the chatbot","data":null,"error":{"code":"API_KEY_NOT_VALID","message":"Authorization header does not contain valid API key","details":null}}}},"exampleType":"examples"}},"headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"exampleType":"examples"},"3842afd6-6cb2-403b-956b-7813ab0995bb":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Forbidden Error":{"title":"Forbidden Error","value":{"success":false,"message":"Failed to add links to the chatbot","data":null,"error":{"code":"CHATBOT_ADD_LINKS_FORBIDDEN","message":"You are not authorized to add links to this chatbot","details":null}}},"Account Inactive Error":{"title":"Account Inactive Error","value":{"success":false,"message":"Failed to add links to the chatbot","data":null,"error":{"code":"ACCOUNT_INACTIVE","message":"This account has no active plan.","details":null}}}},"exampleType":"examples"}},"headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"exampleType":"examples"},"d824b089-4d55-445f-9dfb-8591cd1b1c5c":{"description":"Not Found","headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Not Found Error":{"title":"Not Found Error","value":{"success":false,"message":"Failed to add links to the chatbot","data":null,"error":{"code":"CHATBOT_OWNER_NOT_FOUND","message":"Chatbot owner doesnot exist for the chatbot","details":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"e714a812-ab6e-4364-815c-7130a71362ef":{"description":"Method Not Allowed","content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Method Not Allowed Error":{"title":"Method Not Allowed Error","value":{"success":false,"message":"Failed to add links to the chatbot","data":null,"error":{"code":"REQUEST_METHOD_NOT_ALLOWED","message":"PATCH request method is not allowed","details":null}}}},"exampleType":"examples"}},"headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"exampleType":"examples"},"31ee976b-515b-4102-8647-22219d778483":{"description":"Too Many Requests - Quota Exceeded","content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Links Limit Reached Error":{"title":"Links Limit Reached Error","value":{"success":false,"message":"Failed to add links to the chatbot","data":null,"error":{"code":"CHATBOT_LINKS_LIMIT_REACHED","message":"You have reached your pages quota limit. Cannot add more links."}}}},"exampleType":"examples"}},"headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"exampleType":"examples"},"6935537b-174c-41dd-9ea8-bde2c3c4c3ba":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","description":"Error Response","properties":{"success":{"type":"boolean","description":"Indicates that this is error response","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","description":"Overall error message regarding the operation performed","uniqueKey":"message","typeLabel":"string"},"data":{"oneOf":[{"type":"object","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Data returned from the API. This will be `null` for errors","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"error":{"type":"object","description":"Object with the error details","properties":{"code":{"type":"string","description":"Based on this error code, you can identify what is the error","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"The message indicating the reason for the error","uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{"type":"array","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","description":"Specifies the position in an array","uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.details.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"error.details.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"message":{"type":"string","description":"Reason for the error of the path mentioned before","uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"More details on the error. Applicable only for Validation errors","items":{"type":"object","properties":{"path":{"type":"array","description":"Specifies the path in request body where error occurred. If the error field is nexted, then this array length will be more than 1.","items":{"oneOf":[{"type":"string","description":"Specifies the name of the field"},{"type":"integer","description":"Specifies the position in an array"}]}},"message":{"type":"string","description":"Reason for the error of the path mentioned before"}}},"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.details","typeLabel":"object[] | null"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Server Error":{"title":"Server Error","value":{"success":false,"message":"Failed to add links to the chatbot","data":null,"error":{"code":"CHATBOT_ADD_LINKS_FAILED","message":"Some technical error has occurred !!","details":null}}}},"exampleType":"examples"}},"headers":{"Content-Type":{"schema":{"type":"string"},"description":"application/json"}},"exampleType":"examples"}},"security":{"4a7958bd-182e-49e3-9c58-7fb6b9b4ec26":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c48ab648-58bf-491a-86ce-47795e2cc7c9":{"url":"https://sitegpt.ai/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://sitegpt.ai/openapi.yaml"},"subdomain":"sitegpt","siteName":"SiteGPT Docs","title":"Add Links to Chatbot (v0) - SiteGPT Docs","navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/v2/getting-started","matchLevel":3},"v0":{"href":"/api-reference/chatbot-links/add-links-to-chatbot","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-08-26T16:45:28.448Z","originalFileLocation":"api-reference/chatbot-links/add-links-to-chatbot.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"⚠️ DEPRECATED: This endpoint is deprecated and will be sunset on June 1, 2026. Please migrate to the v1 API endpoint (/v1/chatbots/{chatbotId}/links) for: - Advanced features (website crawling, sitemaps, YouTube) - Better performance and reliability - More granular control over content ingestion --- Add a list of URLs to the chatbot. This is the simplified v0 endpoint for backward compatibility. Note: The urlType field is optional and deprecated. ZENDESK and GITBOOK source types are no longer supported. Migration Guide: See /v1/chatbots/{chatbotId}/links endpoint documentation.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SiteGPT Docs\">\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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_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/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add Links to Chatbot (v0) - SiteGPT Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"⚠️ DEPRECATED: This endpoint is deprecated and will be sunset on June 1, 2026. Please migrate to the v1 API endpoint (/v1/chatbots/{chatbotId}/links) for: - Advanced features (website crawling, sitemaps, YouTube) - Better performance and reliability - More granular control over content ingestion --- Add a list of URLs to the chatbot. This is the simplified v0 endpoint for backward compatibility. Note: The urlType field is optional and deprecated. ZENDESK and GITBOOK source types are no longer supported. Migration Guide: See /v1/chatbots/{chatbotId}/links endpoint documentation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SiteGPT Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sitegpt.mintlify.app/_mintlify/api/og/v2?division=Content+%26+Training\u0026amp;title=Add+Links+to+Chatbot+%28v0%29\u0026amp;description=**%E2%9A%A0%EF%B8%8F+DEPRECATED**%3A+This+endpoint+is+deprecated+and+will+be+sunset+on+June+1%2C+2026.%0A%0APlease+migrate+to+the+v1+API+endpoint+%28%60%2Fv1%2Fchatbots%2F%7BchatbotId%7D%2Flinks%60%29+for\u0026amp;theme=5f737830baa17f7c7fa487af\u0026amp;signature=a803ffa5fcaa2f5f305b2ecb42dc7fe8f2c5e8758a806cbb007422d62e3dcc60\">\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=\"Add Links to Chatbot (v0) - SiteGPT Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"⚠️ DEPRECATED: This endpoint is deprecated and will be sunset on June 1, 2026. Please migrate to the v1 API endpoint (/v1/chatbots/{chatbotId}/links) for: - Advanced features (website crawling, sitemaps, YouTube) - Better performance and reliability - More granular control over content ingestion --- Add a list of URLs to the chatbot. This is the simplified v0 endpoint for backward compatibility. Note: The urlType field is optional and deprecated. ZENDESK and GITBOOK source types are no longer supported. Migration Guide: See /v1/chatbots/{chatbotId}/links endpoint documentation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sitegpt.mintlify.app/_mintlify/api/og/v2?division=Content+%26+Training\u0026amp;title=Add+Links+to+Chatbot+%28v0%29\u0026amp;description=**%E2%9A%A0%EF%B8%8F+DEPRECATED**%3A+This+endpoint+is+deprecated+and+will+be+sunset+on+June+1%2C+2026.%0A%0APlease+migrate+to+the+v1+API+endpoint+%28%60%2Fv1%2Fchatbots%2F%7BchatbotId%7D%2Flinks%60%29+for\u0026amp;theme=5f737830baa17f7c7fa487af\u0026amp;signature=a803ffa5fcaa2f5f305b2ecb42dc7fe8f2c5e8758a806cbb007422d62e3dcc60\">\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/sitegpt/zmL_DIEoEtIXFD5K/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SiteGPT Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155DEE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/chatbot-links/add-links-to-chatbot.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sitegpt.ai/#organization\",\"name\":\"SiteGPT Docs\",\"url\":\"https://sitegpt.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sitegpt/dfL6CRQJ3zPf3iUm/logo/light.svg?fit=max\u0026auto=format\u0026n=dfL6CRQJ3zPf3iUm\u0026q=85\u0026s=0a0dcfea4d0990c3ee53df5fdc5fbb62\"}},{\"@type\":\"WebSite\",\"@id\":\"https://sitegpt.ai/docs#website\",\"name\":\"SiteGPT Docs\",\"url\":\"https://sitegpt.ai/docs\",\"publisher\":{\"@id\":\"https://sitegpt.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot#webpage\",\"url\":\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot\",\"name\":\"Add Links to Chatbot (v0)\",\"description\":\"⚠️ DEPRECATED: This endpoint is deprecated and will be sunset on June 1, 2026. Please migrate to the v1 API endpoint (/v1/chatbots/{chatbotId}/links) for: - Advanced features (website crawling, sitemaps, YouTube) - Better performance and reliability - More granular control over content ingestion --- Add a list of URLs to the chatbot. This is the simplified v0 endpoint for backward compatibility. Note: The urlType field is optional and deprecated. ZENDESK and GITBOOK source types are no longer supported. Migration Guide: See /v1/chatbots/{chatbotId}/links endpoint documentation.\",\"dateModified\":\"2026-08-26T16:45:28.448Z\",\"isPartOf\":{\"@id\":\"https://sitegpt.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SiteGPT Docs\",\"item\":\"https://sitegpt.ai/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add Links to Chatbot (v0)\",\"item\":\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot#apireference\",\"headline\":\"Add Links to Chatbot (v0)\",\"name\":\"Add Links to Chatbot (v0)\",\"description\":\"⚠️ DEPRECATED: This endpoint is deprecated and will be sunset on June 1, 2026. Please migrate to the v1 API endpoint (/v1/chatbots/{chatbotId}/links) for: - Advanced features (website crawling, sitemaps, YouTube) - Better performance and reliability - More granular control over content ingestion --- Add a list of URLs to the chatbot. This is the simplified v0 endpoint for backward compatibility. Note: The urlType field is optional and deprecated. ZENDESK and GITBOOK source types are no longer supported. Migration Guide: See /v1/chatbots/{chatbotId}/links endpoint documentation.\",\"url\":\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot\",\"mainEntityOfPage\":{\"@id\":\"https://sitegpt.ai/docs/api-reference/chatbot-links/add-links-to-chatbot#webpage\"},\"dateModified\":\"2026-08-26T16:45:28.448Z\",\"publisher\":{\"@id\":\"https://sitegpt.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://sitegpt.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SiteGPT Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"SiteGPT Docs","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction/what-is-sitegpt"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"API Reference","versions":[{"version":"v2","default":true,"pages":[{"title":"v2","href":"/api-reference/v2/getting-started"}]},{"version":"v0","groups":[{"group":"Legacy API v0","icon":"book","pages":[{"title":"Legacy API v0","sidebarTitle":"Getting started","icon":"rocket","href":"/api-reference/getting-started"},{"title":"Move from API v0 to v2","sidebarTitle":"v0 to v2 mapping","icon":"arrow-right-arrow-left","href":"/api-reference/v0-to-v2"}]},{"group":"Chatbots","icon":"message-bot","pages":[{"openapi":"get /v0/chatbots","title":"Fetch All Chatbots","href":"/api-reference/chatbot/fetch-all-chatbots"},{"openapi":"post /v0/chatbots","title":"Create Chatbot","href":"/api-reference/chatbot/create-chatbot"},{"openapi":"get /v0/chatbots/{chatbotId}","title":"Fetch Chatbot","href":"/api-reference/chatbot/fetch-chatbot"},{"openapi":"delete /v0/chatbots/{chatbotId}","title":"Delete Chatbot","href":"/api-reference/chatbot/delete-chatbot"}]},{"group":"Appearance","icon":"palette","pages":[{"openapi":"patch /v0/chatbots/{chatbotId}/appearance","title":"Update Chatbot Appearance","href":"/api-reference/chatbot-appearance/update-chatbot-appearance"}]},{"group":"Custom Content","icon":"file-pen","pages":[{"openapi":"post /v0/chatbots/{chatbotId}/custom-content","title":"Modify Chatbot Custom Content","href":"/api-reference/chatbot-custom-content/modify-chatbot-custom-content"}]},{"group":"Follow-up Prompts","icon":"message-arrow-up","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/follow-up-prompts","title":"Fetch All Follow Up Prompts","href":"/api-reference/chatbot-follow-up-prompts/fetch-all-follow-up-prompts"},{"openapi":"post /v0/chatbots/{chatbotId}/follow-up-prompts","title":"Add Follow Up Prompt","href":"/api-reference/chatbot-follow-up-prompts/add-follow-up-prompt"},{"openapi":"get /v0/chatbots/{chatbotId}/follow-up-prompts/{followUpPromptId}","title":"Fetch Follow Up Prompt","href":"/api-reference/chatbot-follow-up-prompts/fetch-follow-up-prompt"},{"openapi":"patch /v0/chatbots/{chatbotId}/follow-up-prompts/{followUpPromptId}","title":"Update Follow Up Prompt","href":"/api-reference/chatbot-follow-up-prompts/update-follow-up-prompt"},{"openapi":"delete /v0/chatbots/{chatbotId}/follow-up-prompts/{followUpPromptId}","title":"Delete Follow Up Prompt","href":"/api-reference/chatbot-follow-up-prompts/delete-follow-up-prompt"}]},{"group":"Icons","icon":"icons","pages":[{"openapi":"post /v0/chatbots/{chatbotId}/icons","title":"Update Chatbot Icons","href":"/api-reference/chatbot-icons/update-chatbot-icons"},{"openapi":"delete /v0/chatbots/{chatbotId}/icons","title":"Delete Chatbot Icons","description":"Delete the chatbot icon","href":"/api-reference/chatbot-icons/delete-chatbot-icons"}]},{"group":"Content \u0026 Training","icon":"book-open","pages":[{"openapi":"post /v0/chatbots/{chatbotId}/links","title":"Add Links to Chatbot (v0)","href":"/api-reference/chatbot-links/add-links-to-chatbot"},{"openapi":"post /v1/chatbots/{chatbotId}/links","title":"Add Content to Chatbot","description":"Unified endpoint to add content to a chatbot. Supports multiple source types:\n- **URLS_LIST**: Add a list of URLs directly\n- **WEBSITE**: Crawl a website with configurable depth and filters\n- **SITEMAP**: Extract URLs from an XML sitemap\n- **YOUTUBE**: Add YouTube video or channel transcripts\n\nThis endpoint provides full control over crawling behavior, scraping options, and auto-sync configuration.","href":"/api-reference/chatbot-links/add-content-to-chatbot"}]},{"group":"Messages","icon":"messages","pages":[{"openapi":"post /v0/chatbots/{chatbotId}/message","title":"Send Message","href":"/api-reference/chatbot-messages/send-message"},{"openapi":"patch /v0/chatbots/{chatbotId}/messages/{messageId}","title":"Update Message","href":"/api-reference/chatbot-messages/update-message"}]},{"group":"Personas","icon":"user-tie","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/settings/personas","title":"Fetch All Chatbot Personas","href":"/api-reference/chatbot-personas/fetch-all-chatbot-personas"},{"openapi":"post /v0/chatbots/{chatbotId}/settings/personas","title":"Add Chatbot Persona","href":"/api-reference/chatbot-personas/add-chatbot-persona"},{"openapi":"get /v0/chatbots/{chatbotId}/settings/personas/{personaId}","title":"Fetch Chatbot Persona","href":"/api-reference/chatbot-personas/fetch-chatbot-persona"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/personas/{personaId}","title":"Update Chatbot Persona","href":"/api-reference/chatbot-personas/update-chatbot-persona"},{"openapi":"delete /v0/chatbots/{chatbotId}/settings/personas/{personaId}","title":"Delete Chatbot Persona","href":"/api-reference/chatbot-personas/delete-chatbot-persona"},{"openapi":"post /v0/chatbots/{chatbotId}/settings/personas/{personaId}/assign","title":"Assign Persona to Chatbot","href":"/api-reference/chatbot-personas/assign-persona-to-chatbot"}]},{"group":"Instructions","icon":"message-text","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/settings/prompts","title":"Fetch All Chatbot Prompts","href":"/api-reference/chatbot-prompts/fetch-all-chatbot-prompts"},{"openapi":"post /v0/chatbots/{chatbotId}/settings/prompts","title":"Add Chatbot Prompt","href":"/api-reference/chatbot-prompts/add-chatbot-prompt"},{"openapi":"get /v0/chatbots/{chatbotId}/settings/prompts/{promptId}","title":"Fetch Chatbot Prompt","href":"/api-reference/chatbot-prompts/fetch-chatbot-prompt"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/prompts/{promptId}","title":"Update Chatbot Prompt","href":"/api-reference/chatbot-prompts/update-chatbot-prompt"},{"openapi":"delete /v0/chatbots/{chatbotId}/settings/prompts/{promptId}","title":"Delete Chatbot Prompt","href":"/api-reference/chatbot-prompts/delete-chatbot-prompt"},{"openapi":"post /v0/chatbots/{chatbotId}/settings/prompts/{promptId}/assign","title":"Assign Prompt to Chatbot","href":"/api-reference/chatbot-prompts/assign-prompt-to-chatbot"}]},{"group":"Conversation Starters","icon":"bolt","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/conversation-starters","title":"Fetch All Conversation Starters","href":"/api-reference/chatbot-quick-prompts/fetch-all-quick-prompts"},{"openapi":"post /v0/chatbots/{chatbotId}/conversation-starters","title":"Add Conversation Starter","href":"/api-reference/chatbot-quick-prompts/add-quick-prompt"},{"openapi":"get /v0/chatbots/{chatbotId}/conversation-starters/{promptId}","title":"Fetch Conversation Starter","href":"/api-reference/chatbot-quick-prompts/fetch-quick-prompt"},{"openapi":"patch /v0/chatbots/{chatbotId}/conversation-starters/{promptId}","title":"Update Conversation Starter","href":"/api-reference/chatbot-quick-prompts/update-quick-prompt"},{"openapi":"delete /v0/chatbots/{chatbotId}/conversation-starters/{promptId}","title":"Delete Conversation Starter","href":"/api-reference/chatbot-quick-prompts/delete-quick-prompt"}]},{"group":"Settings","icon":"gear","pages":[{"openapi":"patch /v0/chatbots/{chatbotId}/settings/general","title":"Update Chatbot Settings - General","href":"/api-reference/chatbot-settings/update-chatbot-settings--general"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/advanced","title":"Update Chatbot Settings - Advanced","href":"/api-reference/chatbot-settings/update-chatbot-settings--advanced"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/chat-mode","title":"Update Chatbot Settings - Chat Mode","href":"/api-reference/chatbot-settings/update-chatbot-settings--chat-mode"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/localization","title":"Update Chatbot Settings - Localization","href":"/api-reference/chatbot-settings/update-chatbot-settings--localization"},{"openapi":"patch /v0/chatbots/{chatbotId}/settings/user-data","title":"Update Chatbot Settings - User Data","href":"/api-reference/chatbot-settings/update-chatbot-settings--user-data"}]},{"group":"Threads","icon":"message-lines","pages":[{"openapi":"get /v0/chatbots/{chatbotId}/threads","title":"Fetch All Threads","href":"/api-reference/chatbot-threads/fetch-all-threads"},{"openapi":"post /v0/chatbots/{chatbotId}/threads","title":"Create Thread","href":"/api-reference/chatbot-threads/create-thread"},{"openapi":"get /v0/chatbots/{chatbotId}/threads/{threadId}","title":"Fetch Thread","href":"/api-reference/chatbot-threads/fetch-thread"},{"openapi":"patch /v0/chatbots/{chatbotId}/threads/{threadId}","title":"Update Thread","href":"/api-reference/chatbot-threads/update-thread"},{"openapi":"post /v0/chatbots/{chatbotId}/threads/{threadId}/escalate","title":"Escalate Conversation","href":"/api-reference/chatbot-threads/escalate-conversation"}]},{"group":"Whitelabel (Deprecated)","icon":"tag","pages":[{"openapi":"get /v0/w/brands","title":"Fetch Whitelabel Brands","href":"/api-reference/whitelabel/fetch-whitelabel-brands"},{"openapi":"get /v0/w/brands/{brandId}","title":"Fetch Whitelabel Brand","href":"/api-reference/whitelabel/fetch-whitelabel-brand"},{"openapi":"post /v0/w/brands/{brandId}/users","title":"Add Whitelabel User","href":"/api-reference/whitelabel/add-whitelabel-user"},{"openapi":"get /v0/w/brands/{brandId}/users/{userId}","title":"Fetch Whitelabel User","href":"/api-reference/whitelabel/fetch-whitelabel-user"},{"openapi":"patch /v0/w/brands/{brandId}/users/{userId}","title":"Update Whitelabel User","href":"/api-reference/whitelabel/update-whitelabel-user"},{"openapi":"patch /v0/w/brands/{brandId}/users/{userId}/api-key","title":"Generate API key for Whitelabel User","href":"/api-reference/whitelabel/generate-api-key-for-whitelabel-user"}]}]}]}]},"basePath":"","title":"Add Links to Chatbot (v0) - SiteGPT Docs","buildId":"dpl_9yaRmq8qi7yyMZn9oEWmKEdYMvGZ","deploymentId":"dpl_9yaRmq8qi7yyMZn9oEWmKEdYMvGZ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bsljvftq.js","utils-BEZX0tmN.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BrDD79Na.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-2c3Nf5XI.js","snippetPresets-CWWkg29k.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-SJmWKHmz.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BYc8UL58.js","shallow-UTXCq4wY.js","getApiPlaygroundDisplay-D1ZcrmBl.js","CodeSnippet-CTS7L7R4.js","CodeSnippets-MsBYl-gd.js","Page-BxumJvVQ.js","getPastedJson-C_5Mq0uv.js","icon-D7sYgD4k.js","MethodPill-B7Q6uD_j.js","DuplicateIcon-DXGzB8u_.js","createIcon-UDYg_Gk8.js","DynamicMarkdown-BBrVIqs3.js","SectionHeading-BxanXFN4.js","axios-vUo_bRtp.js","Markdown-DAhL0GAo.js","clsx-BZ8NiN2w.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CpdUkuDP.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-sMo3-CxC.js"]}