Create Sitemap Integration
Create Sitemap integration
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
datasetIdstring
The ID of the dataset to use for this Sitemap integration
urlstring
The URL to use for this Sitemap integration
globstring
The glob rules to use for this Sitemap integration
selectorsstring
The selector rules to use for this Sitemap integration
javascriptboolean
Indicates if the Sitemap integration should use JavaScript during the spidering process
syncSchedulestring
The sync schedule to use for this Sitemap integration
expiresInnumber
Record expiry in milliseconds
curl -X POST "https://api.chatbotkit.com/v1/integration/sitemap/create" \-H "Authorization: Bearer $CHATBOTKIT_API_SECRET" \
-H "Content-Type: application/json" \
--data-binary @- << EOF {"name":"string","description":"string","meta":"object","datasetId":"string","url":"string","glob":"string","selectors":"string","javascript":"boolean","syncSchedule":"string",} EOF"expiresIn":"number"
{"id":"string"}