v1

latestOpenAPI 3.0.1MIT2026-07-26104203277.0 KB

Toggle activation of a web tool for a voice agent.

post/v1/voice-agents/web-tool/toggle-activation

Request body

voiceAgentIdstring required

The voice agent ID to toggle the activation of the web tool on.

webToolIdstring required

The web tool ID to toggle the activation of.

isActiveboolean

The value of isActive to toggle the activation of the web tool. True to activate, false to deactivate. Defaults to true.

Example request

{
  "voiceAgentId": "d949f13f-40d2-4e48-ac86-b66633070603",
  "webToolId": "d949f13f-40d2-4e48-ac86-b66633070603",
  "isActive": true
}

Response

Successful response

successboolean
message'Web tool activated successfully!' | 'Web tool deactivated successfully!'

Example response

{
  "message": "Web tool activated successfully!"
}