Skip to main content
POST
/
v1
/
voice-agents
/
collections
/
move
Move Web Tool to Collection.
curl --request POST \
  --url https://api.tryhamsa.com/v1/voice-agents/collections/move \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "webToolId": "d949f13f-40d2-4e48-ac86-b66633070603",
  "collectionId": "d949f13f-40d2-4e48-ac86-b66633070603"
}
'
{
  "success": true,
  "message": "Web tool moved successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tryhamsa.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Body

application/json
webToolId
string<uuid>
required

UUID of the web tool to move.

Example:

"d949f13f-40d2-4e48-ac86-b66633070603"

collectionId
string<uuid> | null

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

Example:

"d949f13f-40d2-4e48-ac86-b66633070603"

Response

Successful response

success
boolean
Example:

true

message
string
Example:

"Web tool moved successfully"