curl --request GET \
--url https://api.app.hrizn.io/v1/public/gbp/posts \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"google_post_id": "<string>",
"location_id": "<string>",
"post_type": "NEWS",
"content_text": "<string>",
"status": "posted",
"media_url": "<string>",
"posted_at": "2023-11-07T05:31:56Z",
"publish_at_utc": "2023-11-07T05:31:56Z",
"scheduled_timezone": "<string>",
"post_config": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>",
"total_count": 123
}
}Returns paginated GBP posts for the site associated with the API key.
Scope required: gbp:read
curl --request GET \
--url https://api.app.hrizn.io/v1/public/gbp/posts \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"google_post_id": "<string>",
"location_id": "<string>",
"post_type": "NEWS",
"content_text": "<string>",
"status": "posted",
"media_url": "<string>",
"posted_at": "2023-11-07T05:31:56Z",
"publish_at_utc": "2023-11-07T05:31:56Z",
"scheduled_timezone": "<string>",
"post_config": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"has_more": true,
"next_cursor": "<string>",
"total_count": 123
}
}Your Hrizn API key (prefix hzk_)
Maximum number of posts to return
1 <= x <= 100Number of posts to skip for pagination
Filter by post status
posted, scheduled, cancelled, failed, draft, deleted Filter by GBP location ID
Paginated list of GBP posts
Hide child attributes
Google's resource name for the post (null for scheduled/cancelled posts)
GBP location ID
NEWS, EVENT, OFFER, CALL_TO_ACTION posted, scheduled, cancelled, failed, draft, deleted Scheduled publication time (UTC)
IANA timezone of the scheduler (e.g. America/New_York)
Type-specific post configuration (event, CTA, offer fields)