Authorize Requests
Stay organized with collections
Save and categorize content based on your preferences.
When your application requests private data, the request must be authorized by an authenticated user who has access to that data.
When your application requests public data, the request doesn't need to be authorized, but does need to be accompanied by an identifier, such as an API key.
Your application needs to identify itself every time it sends a request to
the Google Abusive Experience Report API, by including an API key with each
request.
Acquiring and using an API key
Get a Key
Or create one in the Credentials page.
After you have an API key, your application can append the query parameter
key=yourAPIKey
to all request URLs.
The API key is safe for embedding in URLs; it doesn't need any encoding.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[[["Requests for private data must be authorized by an authenticated user with access."],["Requests for public data require an identifier, such as an API key, instead of authorization."],["Every request to the Google Abusive Experience Report API requires an API key for identification."],["API keys can be obtained or created via the Google Cloud Credentials page."],["The API key can be directly embedded in URLs as a query parameter without any encoding."]]],["Applications interacting with the Google Abusive Experience Report API must include an identifier with each request. For private data, user authorization is required. For public data, an API key is needed. An API key can be obtained or created in the Credentials page. Once acquired, the API key should be appended to all request URLs using the query parameter `key=yourAPIKey`. The API key can be embedded directly in URLs without encoding.\n"]]