gbp:read
The gbp:read scope allows you to list and retrieve Google Business Profile posts managed through Hrizn.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /public/gbp/posts | List GBP posts |
GET | /public/gbp/posts/{id} | Get a single GBP post |
List GBP posts
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 25 | Max posts to return (1-100) |
offset | integer | 0 | Skip this many posts |
status | string | — | Filter: posted, scheduled, cancelled, failed, draft, deleted |
location_id | string | — | Filter by GBP location ID |
Example
Response
Get a single GBP post
Example
Status codes
| Status | Description |
|---|---|
200 | Success |
401 | Missing or invalid API key |
403 | API key lacks gbp:read scope |
404 | Post not found |
429 | Rate limit exceeded |
500 | Internal error |
