Toggle activation of a knowledge base item for a voice agent.
post/v1/voice-agents/knowledge-base/toggle-activation
Request
- Base URLhttps://api.tryhamsa.com
- URLhttps://api.tryhamsa.com/v1/voice-agents/knowledge-base/toggle-activation
- AuthAPI key in header Authorization
Request body
Example request
{
"voiceAgentId": "d949f13f-40d2-4e48-ac86-b66633070603",
"knowledgeBaseItemId": "d949f13f-40d2-4e48-ac86-b66633070603",
"isActive": true
}Response
Successful response
Example response
{
"message": "Item activated successfully!",
"messageKey": "ItemActivatedSuccessfully"
}Changes
No recorded changes to this operation across all 2 revisions of this API.