Report a package

POST
/v1/package-abuse-reports

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.

Authorization

apiKey
headerAuthorizationBearer <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.

Request Body

application/json
  1. body
packageId*string

The package, as <namespace>/<name>.

Length1 <= length <= 200
versionId?string

One version; leave it out to report the whole package.

Length1 <= length <= 200
reason*string

What is wrong (10 to 1,000 characters).

Length10 <= length <= 1000
category?string

phishing, malware or other (the default); phishing and malware are answered on the shorter target.

Default"other"
Value in"phishing""malware""other"

Response Body

Accepted: the report is in the operators' queue (the answer is the same whether or not the package exists)

application/json
  1. response
reportId*string
Example Request
curl -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"}