Skip to Content
API referenceGoogle postsDetail of a grouped Google postGET

Detail of a grouped Google post

GET /google-post-groups/{batch_id}

Returns the per-shop detail of a grouped Google post by its batch id: the shared batch info (template, post type, schedule, aggregated status) and one entry per shop (status, published URL, error). Only shops your key can read are returned.

Requires the google_posts:read scope.

Returns a single object (no pagination). By default each shop entry carries a content_preview (first 120 characters) instead of the full text, because per-shop content can be long and groups can span many shops; pass include_content=true to get the full post_content of every shop. Answers a 404 problem when the batch does not exist or no shop of the group is accessible with your key.

Example request

curl "https://api.dokaa.app/v1/google-post-groups/BATCH_ID" \ -H "Authorization: Bearer dk_live_..."

Path parameters

  • batch_id (string, required) – The group batch id, from /google-post-groups

Query parameters

  • include_content (boolean) (default: false) – Include the full resolved post_content of every shop entry (verbose)

Responses

200 – The batch info and its per-shop entries

{ "batch": { "id": "66d0e1f2a3b4c5d6e7f8a9b0", "per_shop": false, "template": { "post_content": "Summer menu is live at {shopName}!", "event_title": null, "action_value": null, "offer_coupon_code": null, "offer_redeem_online_url": null, "offer_terms_conditions": null }, "post_type": "STANDARD", "scheduled_at": null, "created_at": "2026-08-01T10:00:00Z", "shop_count": 2, "status": "ended" }, "shops": [ { "google_post_id": "66d0e1f2a3b4c5d6e7f8a9b1", "shop_id": "64f1a2b3c4d5e6f7a8b9c0d1", "shop_name": "Pizza Marcel", "shop_slug": "pizza-marcel", "status": "ended", "content_preview": "Summer menu is live at Pizza Marcel!", "error": null, "url": "https://posts.gle/abc123", "published_at": "2026-08-01T10:05:00Z", "scheduled_at": null } ] }

401 – Missing, invalid, or revoked API key

404 – The requested resource does not exist or is not accessible

422 – Invalid request parameters

Errors are application/problem+json (RFC 9457) with type, title, status and detail fields.