Move Web Tool to Collection.

Moves a web tool into a collection or removes it from a collection (when collectionId is null).

post/v1/voice-agents/collections/move

Request

  • Base URL
    https://api.tryhamsa.com
  • URL
    https://api.tryhamsa.com/v1/voice-agents/collections/move
  • Auth
    API key in header Authorization

Request body

webToolIdstring uuid required

UUID of the web tool to move.

collectionIdstring uuid nullable

UUID of the collection to move the tool to. Set to null to remove from collection.

Example request

{
  "webToolId": "d949f13f-40d2-4e48-ac86-b66633070603",
  "collectionId": "d949f13f-40d2-4e48-ac86-b66633070603"
}

Response

Successful response

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Web tool moved successfully"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.