Report a package
POST
Tells VoiceLayer a package or one of its versions is abusive or unsafe. It lands in the operators' queue; the answer is the same whether or not the package exists.
Requires an API key with the workspace:write scope.
apiKeyheader
AuthorizationBearer <token>A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.
application/json- body
packageId*stringThe package, as <namespace>/<name>.
Length
1 <= length <= 200versionId?stringOne version; leave it out to report the whole package.
Length
1 <= length <= 200reason*stringWhat is wrong (10 to 1,000 characters).
Length
10 <= length <= 1000category?stringphishing, malware or other (the default); phishing and malware are answered on the shorter target.
Default
"other"Value in
"phishing""malware""other"Accepted: the report is in the operators' queue (the answer is the same whether or not the package exists)
application/json- response
reportId*stringcurl -X POST https://api.vlayers.ai/v1/package-abuse-reports \ -H "Authorization: Bearer $VOICELAYER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "packageId": "com.example/orders-panel", "reason": "It sends order details somewhere its summary does not name." }'Example Response
{ "reportId": "rep_0123456789abcdef01"}