Chatbot Links
Add Links to Chatbot
API Documentation
Chatbot Appearance
Chatbot Custom Content
Chatbot Follow Up Prompts
Chatbot Icons
Chatbot Links
Chatbot Messages
Chatbot Personas
Chatbot Prompts
Chatbot Quick Prompts
Chatbot Settings
Chatbot Threads
Chatbot Links
Add Links to Chatbot
Add links to the chatbot
POST
/
v0
/
chatbots
/
{chatbotId}
/
links
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"links": [
{
"url": "https://sitegpt.ai",
"urlType": "WEB"
},
{
"url": "https://sitegpt.ai/pricing",
"urlType": "WEB"
},
{
"url": "https://sitegpt.ai/login",
"urlType": "WEB"
},
{
"url": "https://sitegpt.ai/contact-us",
"urlType": "WEB"
},
{
"url": "https://sitegpt.ai/terms",
"urlType": "WEB"
}
]
}'
{
"success": true,
"message": "Added links to the chatbot successfully",
"data": {}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the chatbot
Body
application/json
Request body to add links to the chatbot
Request Body
Response
200
application/json
OK
Success Response
Was this page helpful?
curl --request POST \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"links": [
{
"url": "https://sitegpt.ai",
"urlType": "WEB"
},
{
"url": "https://sitegpt.ai/pricing",
"urlType": "WEB"
},
{
"url": "https://sitegpt.ai/login",
"urlType": "WEB"
},
{
"url": "https://sitegpt.ai/contact-us",
"urlType": "WEB"
},
{
"url": "https://sitegpt.ai/terms",
"urlType": "WEB"
}
]
}'
{
"success": true,
"message": "Added links to the chatbot successfully",
"data": {}
}