AI-generated Key Takeaways
-
Starting September 16, 2024, the old ID format for questions and answers will be deprecated and replaced with a new ID format, requiring updates to API calls using the
listmethod for retrieval. -
As of February 12, 2024, the
namefield for questions and answers transitioned to a new ID structure, with the API returning the updated ID in responses for compatibility. -
There is a known issue with the
locations.questions.listmethod where theorderByparameter withupvoteCountmight not correctly sort business-created questions when exceeding 50 in number. -
The Q&A API requires explicit activation through the GCP Console, with endpoints for questions and answers being relocated to new URLs under the
mybusinessqanda.googleapis.comdomain.
Change log
v1: 2025-09-15
My Business Q&A API Discontinuation
On November 3, 2025, we will be discontinuing the My Business Q&A API as we are in the process of updating the Q&A functionality and user experience. After the My Business Q&A API is discontinued on November 3, 2025, you will no longer be able to read or post questions and answers using the API. However, you can continue to access and review your existing data and reporting details through the API until it’s discontinued. Update your workflows to stop using the My Business Q&A API before November 3, 2025.
v1: 2024-09-18
old ID will no longer be accepted for locations.questions and locations.questions.answers
In case the name field includes the old ID of the question or answer, starting
2024-09-16, API will return an exception. If you are using the old ID when
calling the API, replace it with the new ID by calling the list method.
v1: 2024-02-12
name field will change for locations.questions and locations.questions.answers
Note that starting 2024-02-12, name field which includes the old ID of the
question
or answer
will be replaced with a new ID. If you are using the old ID
for the question or answer, API will return the new ID in the response object
for your request.
v1: 2023-11-13
locations.questions.list for businesses with more than 50 questions
We have a known limitation with orderBy query parameter for
locations.questions.list that doesn't sort questions created by the business
correctly using the upvoteCount order when there are more than 50 questions.
v1: 2021-11-18
API Access
The Q&A API will need to be enabled from the GCP Console. The OAuth scope remains the same.
Endpoint URL
The Questions endpoint is accessible at https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions instead of https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions.
The Answers endpoint is accessible at https://mybusinessqanda.googleapis.com/v1/locations/{locationId}/questions/{questionId}/answers instead of https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/questions/{questionId}/answers.