Google

My Business Q&A API

The My Business Q&A API allows questions and answers to be posted for specific listings. Note - If you have a quota of 0 after enabling the API, please…

Developer tools#openapi#analytics#media

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The My Business Q&A API allows questions and answers to be posted for specific listings. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.

Endpoints 7

locations

  • DELETEmybusinessqanda.locations.questions.delete/v1/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringDeletes a specific question written by the current user.
  • PATCHmybusinessqanda.locations.questions.patch/v1/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&updateMask=stringUpdates a specific question written by the current user.
  • DELETEmybusinessqanda.locations.questions.answers.delete/v1/:name/answers:delete?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringDeletes the answer written by the current user to a question.
  • GETmybusinessqanda.locations.questions.list/v1/:parent?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&answersPerQuestion=0&filter=string&orderBy=string&pageSize=0&pageToken=stringReturns the paginated list of questions and some of its answers for a specified location. This operation is only valid if the specified location is verified.
  • POSTmybusinessqanda.locations.questions.create/v1/:parent?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringAdds a question for the specified location.
  • GETmybusinessqanda.locations.questions.answers.list/v1/:parent/answers?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string&orderBy=string&pageSize=0&pageToken=stringReturns the paginated list of answers for a specified question.
  • POSTmybusinessqanda.locations.questions.answers.upsert/v1/:parent/answers:upsert?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=stringCreates an answer or updates the existing answer written by the user for the specified question. A user can only create one answer per question.

API details

Base URL
https://mybusinessqanda.googleapis.com
Authentication
None declared in the description
Operations
7 operations on 5 pathsGET 2POST 2DELETE 2PATCH 1
Main resources
locations 7
Response formats
application/json
Description format
OpenAPI 3.0.0, API version v1
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the My Business Q&A API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the My Business Q&A API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “mybusinessqanda.locations.questions.delete” (DELETE /v1/:name?$.xgafv=1&access_token=string&alt=json&callback=string&fields=string&key=string&oauth_token=string&prettyPrint=true&quotaUser=string&upload_protocol=string&uploadType=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the My Business Q&A API?

The My Business Q&A API allows questions and answers to be posted for specific listings. Note - If you have a quota of 0 after enabling the API, please… It is listed under Developer tools and has 7 endpoints.

Who publishes the My Business Q&A API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the My Business Q&A API?

Requests go to https://mybusinessqanda.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the My Business Q&A API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the My Business Q&A API have?

7 operations on 5 paths (2 GET, 2 POST, 2 DELETE, 1 PATCH). The largest groups are locations.

Is forking the My Business Q&A API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.