Abuse report API is working?

For Workers & Pages, what is the name of the domain?

example.com

What is the error message?

{ “request”: {}, “result”: “error”, “msg”: “client is not authorized to do this operation”, “err_code”: “unknown_err” }

What is the issue or error you’re encountering

When i am trying to use abuse report API getting 401

What are the steps to reproduce the issue?

Try to use abure report api on: Cloudflare API | Abuse Reports

Hello, this error indicates that the request was not sent with the proper authentication credentials. The server requires authentication to process the request.

Hello!

I was wondering if access to the API (POST /accounts/{account_id}/abuse-reports/{report_type}) requires being part of the Trusted Reporter Program, or if this API is available to everyone?

I’m asking because I encountered a similar issue to the OP, even though I tried generating different tokens with varying permissions.

Docs say it should be Trust and Safety Write

Did you try that one?

Yes, I tried this one.

I also generated both an Account-owned token and a User token, but I still ran into an authentication error. I also tested the request using both cURL and the TypeScript library, but the issue persisted.

This made me wonder if the endpoint might not be publicly available.