Skip to main content
POST
/
v0
/
chatbots
/
{chatbotId}
/
links
Add Links to Chatbot (v0)
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"
    },
    {
      "url": "https://sitegpt.ai/pricing"
    },
    {
      "url": "https://sitegpt.ai/docs"
    }
  ]
}
'
{
"success": true,
"message": "Added links to the chatbot successfully",
"data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Id of the chatbot

Body

application/json

Request body to add links to the chatbot

Request Body

List of URLs to be added to the chatbot (max 1000 per request)

Required array length: 1 - 1000 elements

Response

OK

Success Response

success
boolean

Indicates whether this is success response or error response

message
string

Overall message regarding the operation performed

data
object

Data returned from the server