gbp:write
The gbp:write scope allows you to create, schedule, cancel, reschedule, and delete Google Business Profile posts.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /public/gbp/posts | Create or schedule a post |
POST | /public/gbp/posts/{id}/cancel | Cancel a scheduled post |
POST | /public/gbp/posts/{id}/reschedule | Reschedule a post |
DELETE | /public/gbp/posts/{id} | Delete a post |
Create a GBP post
Request body
| Field | Type | Required | Description |
|---|---|---|---|
location_id | string | Yes | GBP location ID |
content_text | string | Yes | Post body text |
post_type | string | Yes | NEWS, EVENT, OFFER, or CALL_TO_ACTION |
media_url | string | No | Image URL |
publish_at_utc | string | No | ISO 8601 UTC time to schedule (omit for immediate) |
scheduled_timezone | string | No | Required with publish_at_utc (e.g. America/Chicago) |
event_title | string | No | Required for EVENT/OFFER types |
start_date | string | No | YYYY-MM-DD |
start_time | string | No | HH:MM |
end_date | string | No | YYYY-MM-DD |
end_time | string | No | HH:MM |
action_type | string | No | CTA type: ORDER, BOOK, SHOP, LEARN_MORE, SIGN_UP, CALL |
action_url | string | No | CTA destination URL |
coupon_code | string | No | Offer coupon code |
redeem_url | string | No | Offer redemption URL |
terms_conditions | string | No | Offer terms |
Example
Cancel a scheduled post
scheduled can be cancelled.
Example
Reschedule a post
scheduled or failed post to a new time.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
publish_at_utc | string | Yes | New UTC time (must be in the future) |
scheduled_timezone | string | Yes | IANA timezone |
Example
Delete a post
Example
Status codes
| Status | Description |
|---|---|
200 | Success (cancel, reschedule, delete) |
201 | Post created/scheduled |
400 | Validation error or invalid state transition |
401 | Missing or invalid API key |
403 | API key lacks gbp:write scope |
404 | Post not found |
429 | Rate limit exceeded |
500 | Internal error |
