curl --request POST \
--url https://api.tryhamsa.com/v1/voice-agents/web-tool/version-check \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"webToolIds": [
"d949f13f-40d2-4e48-ac86-b66633070603",
"a123b456-78cd-9012-ef34-56789abcdef0"
]
}
'{
"success": true,
"message": "Success",
"data": [
{
"webToolId": "d949f13f-40d2-4e48-ac86-b66633070603",
"currentVersion": "1.0.0",
"latestVersion": "1.2.0",
"hasUpdate": true
}
]
}Checks if there are newer versions available for the specified web tools.
curl --request POST \
--url https://api.tryhamsa.com/v1/voice-agents/web-tool/version-check \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"webToolIds": [
"d949f13f-40d2-4e48-ac86-b66633070603",
"a123b456-78cd-9012-ef34-56789abcdef0"
]
}
'{
"success": true,
"message": "Success",
"data": [
{
"webToolId": "d949f13f-40d2-4e48-ac86-b66633070603",
"currentVersion": "1.0.0",
"latestVersion": "1.2.0",
"hasUpdate": true
}
]
}Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token
Array of web tool UUIDs to check for version updates.
[
"d949f13f-40d2-4e48-ac86-b66633070603",
"a123b456-78cd-9012-ef34-56789abcdef0"
]Was this page helpful?