Google Business Profile Posting API
Publish updates, offers and events to Google Business Profiles, so they show on the business's Search and Maps listing.
- Update posts, offers and events
- A call-to-action button per post
- Locations connect through Google's login
- A result per platform, retries for the ones that fail
const pk = new Postkey(process.env.POSTKEY_API_KEY);
await pk.posts.create({
content: "We're open late this Friday for the street fair. Come say hi.",
mediaItems: [
{
type: "image",
url: "https://cdn.example.com/storefront.jpg"
}
],
platforms: [
{
platform: "googlebusiness",
accountId: "acc_gbp_314",
platformSpecificData: {
topicType: "STANDARD",
callToActionType: "LEARN_MORE",
callToActionUrl: "https://example.com/street-fair"
}
}
],
publishNow: true
});- Google Businesspublished
1 call · result per platform
Your first Google Business post in three steps
- 1
Connect Google Business
Your customer signs in through Google Business's own login. You get an account ID, never a password.
- 2
Get the account id
List connected accounts. The id of the new account is the accountId you post with.
- 3
Post
Send the post to /v1/posts with that accountId. The Google Business result comes back in the response and by webhook.
Every Google Business format, one endpoint
Pick a format to see the exact request and what comes back. Options that only make sense on Google Business sit under "googlebusiness".
A short update with an image and a button, shown on the Business Profile.
1POST https://api.postkey.dev/v1/posts2x-access-key: pk_live_…3Content-Type: application/json4 5{6 "content": "We're open late this Friday for the street fair. Come say hi.",7 "mediaItems": [8 {9 "type": "image",10 "url": "https://cdn.example.com/storefront.jpg"11 }12 ],13 "platforms": [14 {15 "platform": "googlebusiness",16 "accountId": "acc_gbp_314",17 "platformSpecificData": {18 "topicType": "STANDARD",19 "callToActionType": "LEARN_MORE",20 "callToActionUrl": "https://example.com/street-fair"21 }22 }23 ],24 "publishNow": true25}200 · published
Live on Google Business. If it had failed, its credits would come back.
{
"success": true,
"postId": "post_3k9d2",
"status": "published",
"platforms": [
{
"platform": "googlebusiness",
"accountId": "acc_gbp_314",
"success": true,
"platformPostUrl": "https://business.google.com/…"
}
]
}Everything you need for Google Business posting
Checked against Google Business's rules
Before anything is sent, Postkey checks it against Google Business's published limits:
Three post types, one field
Update, offer or event: set topicType and the matching fields. The rest of the request stays the same.
Buttons that bring people in
Add Book, Order, Shop, Learn more, Sign up or Call to a post, the way Google shows them on the listing.
Dates checked up front
Offers and events need a full start and end. Postkey checks them before Google sees the post.
Google login
Business owners connect through Google's own login and pick their locations. You never handle a password.
Many locations, one request
Each location is its own account. List the ones you want and each gets its own result.
Also for Google Business
Built in
Connect, publish, get told
Your users connect Google Business through a connect link. If Google Business fails inside a multi-network post, the others still go out and the Google Business credits come back.
Works with your stack
Your code
Node and Python SDKs with the same calls, or plain REST from anything that speaks HTTP.
- Node
- Python
- {}REST
No-code tools
Call the REST API from an HTTP step in n8n, Make or Zapier. One request posts to every network.
- n8n
- Make
- Zapier
AI agents & MCP
The MCP server lets Claude, Cursor and other agent tools publish and schedule posts, and read the results.
- MCP server
Beyond Google Business
Same request shape on every platform. Add an account ID and the post goes there too.
- X Posting APIText · Image · Video · Thread
- Instagram Posting APIFeed post · Reel · Story · Carousel
- Facebook Posting APIText · Photo · Video
- TikTok Posting APIVideo · Photo
- LinkedIn Posting APIText · Image · Document
- YouTube Posting APIVideo
- YouTube Shorts Posting APIShort
- Pinterest Posting APIPin
- You're hereGoogle Business Posting APIUpdate post · Offer · Event
Google Business posting questions
Something not here? Email hello@postkey.dev.
What can I post to Google Business?
Update posts, offers and events on a Business Profile. You pick one with topicType. The endpoint is the same.
Where do the posts show up?
On the business's profile in Google Search and Maps.
Can one account post to several locations?
Yes. Each location a user connects gets its own account ID, so you list the ones you want in the request.
Why was my post rejected?
Google reviews posts against its content policy. If it rejects one, the webhook says so in plain words.
Can I post to Google Business and Instagram together?
Yes. List both account IDs in one request. Each gets its own result.
Can I schedule Google Business posts instead?
Yes. Add scheduledFor to the same request. See the Google Business Scheduling API page for details.
Post to Google Business for every customer.
Get a key, connect an account, send the request above.
Free while it's early. Read the docs