curl --request GET \
--url https://api.app.hrizn.io/v1/public/gbp/posts/{id} \
--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"
}
}Returns details for a single GBP post by ID.
Scope required: gbp:read
curl --request GET \
--url https://api.app.hrizn.io/v1/public/gbp/posts/{id} \
--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"
}
}Your Hrizn API key (prefix hzk_)
Post ID
Post details
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)