Documentation API
The GMB Club API lets you publish and schedule posts on your social networks via Zapier, Make, or your own scripts. It also lets you retrieve generated articles.
Contract read from the API's OpenAPI specification, version 2.0.
Key concepts
The v2 API uses GMB Club's hierarchical Sphere / Bubble architecture.
| Concept | Description | Example |
|---|---|---|
| Sphere | Brand / Company / Franchisor | "Auto Sud" |
| Bubble | Location / Point of sale | "Auto Sud Marseille" |
| Resources | Accounts connected to the bubble | Facebook, Instagram, GMB |
Authentication
The API uses API keys for authentication. A key can have two scopes: it covers either a single location (bubble key) or all the brand's locations (sphere key). A bubble key sees only its own location's data; a sphere key sees data for all locations, the ideal option for a multi-location website: a single key, a single integration. Call GET /api/v2/me first to find out which scope you have: the « bulle » field is filled in for a bubble key and is null for a sphere key.
Get an API key
- Sign in to GMB Club
- Select your bubble in the header
- Settings → API keys → New key
- Choose the scope: "This location" or "Whole brand"
- Configure permissions and copy the key
A "Whole brand" key covers every location, including those created later: it's the right choice for a single website that serves several locations: one secret to manage, and nothing to do when a new location opens.
Key format
gmb_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxUsage
curl -H "X-API-Key: gmb_live_xxxx..." \
-H "Content-Type: application/json" \
https://app.gmb-club.com/api/v2/meBase URL
https://app.gmb-club.com/api/v2Endpoints
/api/v2/healthNo API keyChecks that the API is operational. No authentication required.
{
"status": "ok",
"api_version": "2.0",
"timestamp": "2026-07-27T18:00:00.000000Z"
}Key identity
/api/v2/meAPI key · readReturns info about the API key, bubble, sphere and connected resources. Call this endpoint first.
{
"api_version": "2.0",
"bulle": { "id": "abc-123", "name": "Auto Sud Marseille", "city": "Marseille" },
"sphere": { "id": "xyz-789", "name": "Auto Sud", "slug": "auto-sud" },
"permissions": ["read", "schedule", "publish"],
"rate_limits": { "per_minute": 60, "per_day": 1000 },
"connected_platforms": ["facebook", "instagram", "gmb", "linkedin"],
"gmb_fiches": [{
"id": "accounts/115473832376124235338/locations/12517715818229047311",
"name": "Auto Sud - Marseille Centre",
"address": "12 rue de la Paix, 13001, Marseille",
"service_area": false
}]
}Social connections
/api/v2/connectionsAPI key · readReturns social network connection details for this bubble.
Parameters
| Field | Description |
|---|---|
bulle_idstring · optional | Restrict to one location. Default: the key's location, or every location of the brand. |
With a sphere key, bulle_id indicates which location each Facebook page or Instagram account belongs to.
[
{ "platform": "facebook", "connected": true, "name": "Auto Sud Marseille", "bulle_id": "abc-123", "expires_at": "2025-12-15T10:00:00", "needs_reconnect": false },
{ "platform": "instagram", "connected": true, "name": "autosud_marseille", "bulle_id": "abc-456", "expires_at": "2025-12-15T10:00:00", "needs_reconnect": false }
]Platform limits
/api/v2/platforms/limitsAPI key · readReturns character and media limits for each platform.
{
"character_limits": { "<plateforme>": "<int>" },
"image_limits": {
"<plateforme>": { "max_size_mb": "<int>", "carousel_min": "<int?>", "carousel_max": "<int?>" }
},
"video_limits": {
"<plateforme>": { "max_size_mb": "<int>", "max_duration_sec": "<int?>" }
}
}Create a post
/api/v2/postsAPI key · scheduleCreates a new scheduled post or publishes immediately.
Request body (JSON)
| Field | Description |
|---|---|
bulle_idstring · optional | Required with a sphere key: the targeted location. Inferred automatically with a bubble key. |
contentstring · optional1 to 5000 characters | Post text (1-5000 chars) |
content_per_platformobject · optional | Text specific to one network, replacing content on that network only: {"youtube": "…", "tiktok": "…"}. One post, one text per network. |
gmb_fiche_idstring · optional | GMB listing ID (see /me) |
image_urlstring · optional | Single image URL |
image_urlsstring[] · optional | JSON URL array for carousel (2-10) |
platform_formatsobject · optional | Format per platform. Instagram and Facebook: post or story. Snapchat: story, saved_story or spotlight. Absent: default format. An unknown format is rejected. |
platform_optionsPlatformOptions · optional | YouTube and TikTok options per network (privacy, Short, tags, comments, commercial disclosure…). See the box below. |
platform_options[].tiktokTiktokOptions · optional | TikTok options, used only when the post targets it. |
platform_options.tiktok[].auto_add_musicboolean · optional | true lets TikTok add a trending sound. Default false. |
platform_options.tiktok[].brand_organicboolean · optional | Promotes the creator's own business ('Promotional content' label). |
platform_options.tiktok[].branded_contentboolean · optional | Paid partnership promoting a third-party brand ('Paid partnership' label). Never with SELF_ONLY. |
platform_options.tiktok[].descriptionstring · optional4000 characters max. | Photo post only: description (max 4000 chars). |
platform_options.tiktok[].disable_commentboolean · optional | true = comments off. Default true (TikTok rule: interactions are off unless the user allows them): pass false to allow comments. |
platform_options.tiktok[].disable_duetboolean · optional | true = Duets off. Default true: pass false to allow Duets (video only). |
platform_options.tiktok[].disable_stitchboolean · optional | true = Stitches off. Default true: pass false to allow Stitches (video only). |
platform_options.tiktok[].photo_cover_indexinteger · optional0 min. | Photo post only: 0-based index of the cover photo. Default 0. |
platform_options.tiktok[].privacy_levelstring · optionalvalues: PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY | Who can see the post. REQUIRED when TikTok is targeted and the post is scheduled (TikTok forbids a default). Must be a level the TikTok account allows: a private account cannot publish PUBLIC_TO_EVERYONE. |
platform_options.tiktok[].titlestring · optional2200 characters max. | Caption shown on the video, hashtags included (max 2200 chars; 90 for a photo post). Default: the TikTok caption. |
platform_options[].youtubeYoutubeOptions · optional | YouTube options, used only when the post targets it. |
platform_options.youtube[].category_idstring · optional10 characters max. | Numeric YouTube category id (e.g. '22' = People & Blogs). Optional. |
platform_options.youtube[].descriptionstring · optional5000 characters max. | Video description (max 5000 chars). Default: the YouTube caption. |
platform_options.youtube[].is_shortboolean · optional | true adds #Shorts to the description. YouTube classifies a Short by its format (vertical or square, 3 minutes max), the hashtag is only a hint. |
platform_options.youtube[].made_for_kidsboolean · optional | COPPA declaration: true if the video is made for children. Default false. |
platform_options.youtube[].privacy_statusstring · optionalvalues: public, unlisted, private | Who can watch the video. REQUIRED when YouTube is targeted and the post is scheduled: nothing is ever published private by default. |
platform_options.youtube[].tagsstring[] · optional | Keyword tags (list of strings; YouTube keeps 500 characters in all). |
platform_options.youtube[].titlestring · optional100 characters max. | Video title (max 100 chars). Default: first line of the YouTube caption. |
platformsstring[] · required | Array: facebook, instagram, gmb, linkedin, pinterest, tiktok, snapchat, youtube. The platform must be connected on the location, otherwise HTTP 400 « Plateforme non connectée ». |
publish_nowboolean · optionaldefault: false | If true, publish immediately |
scheduled_atstring · optional | ISO 8601 date/time (default: +1h) |
scheduled_facebookstring · optional | Date and time for this network only; overrides scheduled_at. |
scheduled_gmbstring · optional | Date and time for this network only; overrides scheduled_at. |
scheduled_instagramstring · optional | Date and time for this network only; overrides scheduled_at. |
scheduled_linkedinstring · optional | Date and time for this network only; overrides scheduled_at. |
scheduled_pintereststring · optional | Date and time for this network only; overrides scheduled_at. |
scheduled_snapchatstring · optional | Date and time for this network only; overrides scheduled_at. |
scheduled_tiktokstring · optional | Date and time for this network only; overrides scheduled_at. |
scheduled_youtubestring · optional | Date and time for this network only; overrides scheduled_at. |
textstring · optional1 to 5000 characters | Alias of content. |
video_urlstring · optional | Video URL |
{
"content": "Discover our new arrivals! 🚗 #automobile",
"platforms": ["facebook", "instagram", "gmb"],
"image_url": "https://example.com/images/promo.jpg",
"scheduled_at": "2025-12-01T10:00:00+01:00",
"gmb_fiche_id": "gmb-fiche-123-456"
}{
"platforms": ["instagram", "facebook"],
"platform_formats": { "instagram": "story", "facebook": "story" },
"image_url": "https://example.com/images/story-9x16.jpg",
"scheduled_at": "2026-11-02T09:00:00+01:00",
"bulle_id": "abc-123"
}{
"content": "3% of reviews answered. Then 93%, without hiring anyone.",
"platforms": ["youtube", "tiktok", "facebook"],
"video_url": "https://example.com/videos/reviews.mp4",
"scheduled_at": "2026-11-02T11:30:00+01:00",
"bulle_id": "abc-123",
"content_per_platform": {
"youtube": "How this restaurant went from 3% to 93% of reviews answered",
"tiktok": "3% of reviews answered. Then 93%. And you? #reviews #restaurant"
},
"platform_options": {
"youtube": { "privacy_status": "public", "is_short": true, "made_for_kids": false,
"tags": ["google reviews", "restaurant", "local marketing"] },
"tiktok": { "privacy_level": "PUBLIC_TO_EVERYONE", "disable_comment": false,
"disable_duet": false, "disable_stitch": false, "brand_organic": true }
}
}{
"id": 42,
"content": "Discover our new arrivals! 🚗 #automobile",
"platforms": ["facebook", "instagram", "gmb"],
"status": "scheduled",
"image_url": "https://example.com/images/promo.jpg",
"scheduled_gmb": "2025-12-01T10:00:00+01:00",
"created_at": "2025-11-29T18:00:00Z",
"updated_at": "2025-11-29T18:00:00Z",
"warnings": []
}List posts
/api/v2/postsAPI key · readReturns bubble posts with pagination. A post the client removed from their site (« Show on my site » unchecked in the app) is not returned.
Parameters
| Field | Description |
|---|---|
statusstring · optional | pending · published · error |
limitinteger · optional1 to 100 · default: 50 | Nombre max de résultats |
offsetinteger · optional0 min. · default: 0 | Pagination offset |
bulle_idstring · optional | Restrict to one location. Default: the key's location, or every location of the brand. |
[
{
"id": 42,
"bulle_id": "abc-123",
"content": "Discover our new arrivals! 🚗",
"platforms": ["facebook", "gmb"],
"status": "published",
"image_url": "https://example.com/images/promo.jpg",
"image_urls": null,
"video_url": null,
"scheduled_instagram": null,
"scheduled_facebook": "2025-12-01T10:00:00+01:00",
"scheduled_gmb": "2025-12-01T10:00:00+01:00",
"scheduled_linkedin": null,
"scheduled_pinterest": null,
"scheduled_tiktok": null,
"scheduled_snapchat": null,
"scheduled_youtube": null,
"published_instagram": null,
"published_facebook": "2025-12-01T10:00:05+01:00",
"published_gmb": "2025-12-01T10:00:05+01:00",
"published_linkedin": null,
"published_pinterest": null,
"published_tiktok": null,
"published_snapchat": null,
"published_youtube": null,
"error_instagram": null,
"error_facebook": null,
"error_gmb": null,
"error_linkedin": null,
"error_pinterest": null,
"error_tiktok": null,
"error_snapchat": null,
"error_youtube": null,
"platform_refs": {
"facebook": { "post_id": "...", "url": "https://www.facebook.com/..." },
"gmb": { "post_id": "...", "url": "https://local.google.com/place?id=..." }
},
"platform_formats": null,
"content_per_platform": null,
"site_text": "Discover our new arrivals! 🚗",
"platform_options": null,
"shown_on_site": true,
"video_poster_url": null,
"created_at": "2025-11-29T18:00:00Z",
"updated_at": "2025-12-01T10:00:05Z",
"warnings": []
}
]/api/v2/posts/{post_id}API key · readRetrieves a post by its identifier. Returns the same object as an element of GET /api/v2/posts.
/api/v2/posts/{post_id}API key · scheduleUpdates a pending post (status: pending only): content, schedule or format per platform.
Request body (JSON)
| Field | Description |
|---|---|
contentstring · optional1 to 5000 characters | |
content_per_platformobject · optional | Texte propre à un réseau : {"youtube": "…"}. Les réseaux absents gardent le leur ; une chaîne vide retire le texte propre (le réseau reprend content). Refusé pour un réseau déjà publié (422). |
platform_formatsobject · optional | Format par plateforme à changer, par exemple {"instagram": "story"} (instagram et facebook : post ou story ; snapchat : story, saved_story, spotlight). Les plateformes absentes gardent leur format ; une plateforme déjà publiée ne change plus (422). Le média du post doit convenir au nouveau format : une story prend une image ou une vidéo, jamais un carrousel ni un PDF (422 sinon). |
platform_optionsPlatformOptions · optional | Options YouTube et TikTok à changer (seuls les champs envoyés comptent ; null remet le défaut). Refusées pour un réseau que le post ne vise pas ou déjà publié (422). Un post en attente garde sa confidentialité obligatoire. |
platform_options[].tiktokTiktokOptions · optional | TikTok options, used only when the post targets it. |
platform_options.tiktok[].auto_add_musicboolean · optional | true lets TikTok add a trending sound. Default false. |
platform_options.tiktok[].brand_organicboolean · optional | Promotes the creator's own business ('Promotional content' label). |
platform_options.tiktok[].branded_contentboolean · optional | Paid partnership promoting a third-party brand ('Paid partnership' label). Never with SELF_ONLY. |
platform_options.tiktok[].descriptionstring · optional4000 characters max. | Photo post only: description (max 4000 chars). |
platform_options.tiktok[].disable_commentboolean · optional | true = comments off. Default true (TikTok rule: interactions are off unless the user allows them): pass false to allow comments. |
platform_options.tiktok[].disable_duetboolean · optional | true = Duets off. Default true: pass false to allow Duets (video only). |
platform_options.tiktok[].disable_stitchboolean · optional | true = Stitches off. Default true: pass false to allow Stitches (video only). |
platform_options.tiktok[].photo_cover_indexinteger · optional0 min. | Photo post only: 0-based index of the cover photo. Default 0. |
platform_options.tiktok[].privacy_levelstring · optionalvalues: PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY | Who can see the post. REQUIRED when TikTok is targeted and the post is scheduled (TikTok forbids a default). Must be a level the TikTok account allows: a private account cannot publish PUBLIC_TO_EVERYONE. |
platform_options.tiktok[].titlestring · optional2200 characters max. | Caption shown on the video, hashtags included (max 2200 chars; 90 for a photo post). Default: the TikTok caption. |
platform_options[].youtubeYoutubeOptions · optional | YouTube options, used only when the post targets it. |
platform_options.youtube[].category_idstring · optional10 characters max. | Numeric YouTube category id (e.g. '22' = People & Blogs). Optional. |
platform_options.youtube[].descriptionstring · optional5000 characters max. | Video description (max 5000 chars). Default: the YouTube caption. |
platform_options.youtube[].is_shortboolean · optional | true adds #Shorts to the description. YouTube classifies a Short by its format (vertical or square, 3 minutes max), the hashtag is only a hint. |
platform_options.youtube[].made_for_kidsboolean · optional | COPPA declaration: true if the video is made for children. Default false. |
platform_options.youtube[].privacy_statusstring · optionalvalues: public, unlisted, private | Who can watch the video. REQUIRED when YouTube is targeted and the post is scheduled: nothing is ever published private by default. |
platform_options.youtube[].tagsstring[] · optional | Keyword tags (list of strings; YouTube keeps 500 characters in all). |
platform_options.youtube[].titlestring · optional100 characters max. | Video title (max 100 chars). Default: first line of the YouTube caption. |
scheduled_atstring · optional | Nouvelle date/heure pour toutes les plateformes |
{
"content": "Updated text!",
"scheduled_at": "2025-12-02T14:00:00+01:00",
"platform_formats": { "instagram": "story" },
"content_per_platform": { "youtube": "Text for YouTube only" },
"platform_options": { "youtube": { "privacy_status": "unlisted" } }
}/api/v2/posts/{post_id}API key · deleteDeletes a pending or errored post.
/api/v2/posts/{post_id}/publishAPI key · publishForces immediate publication of a scheduled post.
Simplified social publishing
Three endpoints designed for Make, n8n and Zapier integrations: publish, check the quota, track the status. They all require a bubble key (see « Key scope »).
List articles
/api/v2/articlesAPI key · readReturns generated articles for this bubble. Ideal for custom site integration.
Parameters
| Field | Description |
|---|---|
statusstring · optionaldefault: published | published · draft · all |
limitinteger · optional1 to 100 · default: 10 | Nombre max de résultats |
offsetinteger · optional0 min. · default: 0 | Offset pour pagination |
sincestring · optional | Publiés à partir de cette date (ISO 8601), sur published_at |
updated_sincestring · optional | ISO 8601: articles modified since this date (filters on updated_at, sorted oldest to newest). |
bulle_idstring · optional | Restrict to one location. Default: the key's location, or every location of the brand. |
{
"articles": [{
"id": 12,
"title": "5 tips for maintaining your car",
"excerpt": "Expert tips to extend your vehicle's life.",
"content_html": "<h2>Introduction</h2><p>Regular maintenance...</p>",
"featured_image_url": "https://storage.example.com/images/article-12.jpg",
"meta_title": "5 car maintenance tips | Auto Sud Marseille",
"meta_description": "Our experts share their best car maintenance tips.",
"target_keyword": "car maintenance Marseille",
"category": "Tips",
"status": "published",
"published_at": "2026-03-10T14:00:00Z",
"created_at": "2026-03-08T09:00:00Z",
"updated_at": "2026-03-12T08:30:00Z",
"slug": "5-conseils-pour-entretenir-sa-voiture",
"bulle_id": "abc-123",
"bulle_name": "Auto Sud Marseille"
}],
"total": 24, "limit": 10, "offset": 0
}/api/v2/articles/{article_id}API key · readRetrieves full article content by ID.
{
"id": 12,
"title": "5 conseils pour entretenir sa voiture",
"excerpt": "Nos conseils d'expert.",
"content_html": "<h2>Introduction</h2><p>...</p>",
"featured_image_url": "https://storage.example.com/images/article-12.jpg",
"meta_title": "5 conseils entretien | Auto Sud",
"meta_description": "Nos experts partagent leurs conseils.",
"target_keyword": "entretien voiture marseille",
"category": "Conseils",
"status": "published",
"published_at": "2026-03-10T14:00:00Z",
"created_at": "2026-03-08T09:00:00Z",
"updated_at": "2026-03-12T08:30:00Z",
"slug": "5-conseils-pour-entretenir-sa-voiture",
"bulle_id": "abc-123",
"bulle_name": "Auto Sud Marseille"
}Confirm article rendering
/api/v2/articles/{article_id}/confirmAPI key · readPingback sent by your script after rendering a fetched article. It has two effects: 1. it lets GMB Club know which articles are actually live on your site, as opposed to merely exposed by the API; 2. by sending `rendered_url`, it feeds the internal linking of your articles, the more useful effect day to day. Optional but recommended.
Optional JSON body. The `rendered_url` field (string, max 2048 chars, must start with http:// or https://) is the public URL of the page where your script has just rendered the article. It is the only address of your site that GMB Club knows: it lets your future articles cite earlier ones with a link that points to the right place. Without it, no internal linking is possible on your site: we never guess a URL, and an invented link would be a dead link. Technically optional, but strongly recommended.
200 response on successful confirmation:
// After rendering the article in the DOM
fetch(`https://app.gmb-club.com/api/v2/articles/${article.id}/confirm`, {
method: "POST",
headers: {
"X-API-Key": "gmb_live_xxxx...",
"Content-Type": "application/json"
},
body: JSON.stringify({ rendered_url: location.href })
});$ch = curl_init("https://app.gmb-club.com/api/v2/articles/{$id}/confirm");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
"rendered_url" => "https://monsite.fr/blog/article-{$id}"
]));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"X-API-Key: gmb_live_xxxx...",
"Content-Type: application/json"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);await fetch(`https://app.gmb-club.com/api/v2/articles/${id}/confirm`, {
method: "POST",
headers: {
"X-API-Key": process.env.GMB_API_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({ rendered_url: `https://monsite.fr/blog/article-${id}` }),
});import requests
requests.post(
f"https://app.gmb-club.com/api/v2/articles/{id}/confirm",
headers={"X-API-Key": "gmb_live_xxxx...", "Content-Type": "application/json"},
json={"rendered_url": f"https://monsite.fr/blog/article-{id}"},
)curl -X POST \
-H "X-API-Key: gmb_live_xxxx..." \
-H "Content-Type: application/json" \
-d '{"rendered_url": "https://monsite.fr/blog/123"}' \
https://app.gmb-club.com/api/v2/articles/42/confirm{
"article_id": 42,
"confirmed_at": "2026-05-25T14:30:00Z",
"confirmation_source": "pingback"
}Cross-cutting conventions
Three mechanisms recur across most v2 endpoints. Understanding them once saves a lot of errors.
Show reviews and posts on a website
Two ways to show a location's Google reviews and posts on a website: paste a ready-made widget, or read the API for a custom display.
Workspace
Key's sphere
/api/v2/spheresAPI key · readReturns the sphere (brand) attached to the API key: name, slug, default tone and language.
[
{
"id": "xyz-789",
"name": "Auto Sud",
"slug": "auto-sud",
"default_language": "fr",
"default_tone": "professionnel",
"created_at": "2026-01-15T09:00:00Z"
}
]Sphere's locations
/api/v2/bullesAPI key · readLists the bubbles (locations) of the sphere, with their city and the number of attached Google listings.
[
{ "id": "abc-123", "name": "Auto Sud Marseille", "city": "Marseille", "tone": "professionnel", "language": "fr", "sphere_id": "xyz-789", "created_at": "2026-01-20T11:00:00Z" },
{ "id": "abc-456", "name": "Auto Sud Aix", "city": "Aix-en-Provence", "tone": "professionnel", "language": "fr", "sphere_id": "xyz-789", "created_at": "2026-01-20T11:05:00Z" }
]Location details
/api/v2/bulles/{bulle_id}API key · readReturns a bubble's details: effective tone and language (inherited from the sphere if unset), number of Google listings, connected networks.
{
"id": "abc-123",
"name": "Auto Sud Marseille",
"city": "Marseille",
"tone": "professionnel",
"language": "fr",
"sphere_id": "xyz-789",
"created_at": "2026-01-20T11:00:00Z",
"effective_tone": "professionnel",
"effective_language": "fr",
"gmb_fiches_count": 2
}Google reviews
List reviews
/api/v2/reviewsAPI key · readReturns the listing's Google reviews, paginated and filterable (rating, reply status, keyword, dates), sortable by date or rating.
Parameters
| Field | Description |
|---|---|
fiche_idstring · optional | Default listing: optional fiche_id |
min_starsinteger · optional1 to 5 · default: 1 | Note minimale (inclusive) |
max_starsinteger · optional1 to 5 · default: 5 | Note maximale (inclusive) |
limitinteger · optional1 to 100 · default: 25 | Nombre d'avis par page |
pageinteger · optional1 min. · default: 1 | Page (indexée à 1) |
keywordstring · optional | Filtre texte sur l'avis, l'auteur ou la réponse |
statusstring · optional | all | responded | drafts | unresponded |
date_fromstring · optional | Date min (ISO YYYY-MM-DD, inclusive) |
date_tostring · optional | Date max (ISO YYYY-MM-DD, inclusive) |
sort_bystring · optionaldefault: date_desc | date_desc | date_asc | rating_asc | rating_desc |
{
"fiche": { "id": "gmb-fiche-123", "name": "Auto Sud - Marseille Centre", "address": "12 rue de la Paix, Marseille", "place_id": "ChIJ...", "average_rating": 4.6, "total_reviews": 128 },
"reviews": [{
"review_id": "rev-abc",
"customer_name": "Julie A.",
"rating": 5,
"text": "Service impeccable, je recommande !",
"review_timestamp": "2026-07-01T09:12:00Z",
"response_text": null,
"reply_date": null,
"responded": false,
"author_photo": "https://lh3.googleusercontent.com/..."
}],
"average_rating": 4.6,
"total_reviews": 128,
"filtered_count": 1,
"status_counts": { "all": 128, "responded": 90, "drafts": 12, "unresponded": 26 },
"page": 1,
"total_pages": 3
}Reviews summary
/api/v2/reviews/summaryAPI key · readReturns the average rating, total number of reviews and their breakdown by status (responded, drafts, unresponded).
{
"fiche": { "id": "gmb-fiche-123", "name": "Auto Sud - Marseille Centre" },
"average_rating": 4.6,
"total_reviews": 128,
"status_counts": { "all": 128, "responded": 90, "drafts": 12, "unresponded": 26 }
}Review acquisition
Acquisition stats
/api/v2/acquisition/statsAPI key · readReturns review-request statistics over 30 days: number sent, by channel (SMS, email) and by status.
{
"fiche_id": "gmb-fiche-123",
"total_requests": 84,
"by_channel": { "sms": 50, "email": 34 },
"by_status": {},
"last_30_days": 84
}Send review requests
/api/v2/acquisition/review-requestsAPI key · publishSends review requests by SMS and/or email to a list of contacts. Subject to monthly quotas. 202 response with a batch_id; supports dry_run.
Request body (JSON)
| Field | Description |
|---|---|
contactsReviewRequestContact[] · required1 to 200 items | |
contacts[].channelstring · required | sms | email |
contacts[].custom_messagestring · optional1500 characters max. | |
contacts[].customer_emailstring · optional | |
contacts[].customer_namestring · required1 characters min. | |
contacts[].customer_phonestring · optional | |
dry_runboolean · optionaldefault: false | true = aperçu sans rien envoyer |
fiche_idstring · optional | Fiche GMB (défaut : celle de la clé) |
{
"contacts": [
{ "customer_name": "Julie A.", "channel": "sms", "customer_phone": "+33612345678" },
{ "customer_name": "Marc D.", "channel": "email", "customer_email": "[email protected]", "custom_message": "Merci pour votre visite !" }
],
"dry_run": false
}{
"queued": true,
"queued_count": 2,
"batch_id": "batch-abc-123",
"contacts": [
{ "customer_name": "Julie A.", "channel": "sms", "contact": "+33612345678" },
{ "customer_name": "Marc D.", "channel": "email", "contact": "[email protected]" }
],
"fiche_name": "Auto Sud - Marseille Centre"
}Google listing
Google Business metrics
/api/v2/gmb/metricsAPI key · readReturns the Google listing's KPIs over a period: views, searches, calls, website clicks, direction requests.
Parameters
| Field | Description |
|---|---|
fiche_idstring · optional | Default listing: optional fiche_id |
period_daysinteger · optional1 to 90 · default: 30 | Période en jours (1-90) |
{
"fiche_id": "gmb-fiche-123",
"fiche_name": "Auto Sud - Marseille Centre",
"period_days": 30,
"kpis": {
"views_total": 5420,
"views_search": 3110,
"views_maps": 2310,
"calls": 87,
"website": 214,
"directions": 156,
"messages": 12,
"bookings": 4
},
"timeseries": [
{ "label": "2026-06-01", "vues": 180, "interactions": 22 }
],
"breakdown": {}
}Optimization score
/api/v2/gmb/optimizerAPI key · readReturns the listing's latest optimization score (0 to 100), cached. Fast read, no new audit.
{
"kind": "gmb",
"fiche_id": "gmb-fiche-123",
"fiche_name": "Auto Sud - Marseille Centre",
"display_name": "Auto Sud - Marseille Centre",
"score": 82,
"breakdown": {},
"scored_at": "2026-07-05T08:00:00Z"
}Run a full audit
/api/v2/gmb/optimizer/auditAPI key · publishRuns a full audit of the listing (Google data + AI analysis) and returns a detailed score with improvement suggestions. Costly operation: supports dry_run.
{
"kind": "gmb",
"fiche_id": "gmb-fiche-123",
"fiche_name": "Auto Sud - Marseille Centre",
"score": 82,
"breakdown": {},
"suggestions": [
{ "field": "description", "reason": "Trop courte", "suggested_value": "..." },
{ "field": "hours", "reason": "Horaires du dimanche manquants" }
],
"review_count": 128,
"avg_rating": 4.6,
"analyzed_at": "2026-07-05T08:00:00Z"
}Apply changes
/api/v2/gmb/optimizer/applyAPI key · publishApplies a list of {field, value} changes to the Google listing (real write to Google). Costly operation: supports dry_run.
Request body (JSON)
| Field | Description |
|---|---|
changesOptimizerChange[] · required1 to ∞ items | |
changes[].fieldstring · required1 characters min. | |
changes[].valueany · optional | |
dry_runboolean · optionaldefault: false | true = aperçu sans rien pousser vers Google |
fiche_idstring · optional | Fiche GMB (défaut : celle de la clé) |
Response (dry_run):
Response without dry_run: success, applied, errors, warnings, services_not_added (when present), fiche_id, fiche_name, display_name. A services or categories suggestion is merged into the listing's existing list; only a complete list in Google's format replaces it.
{
"changes": [
{ "field": "description", "value": "Garage automobile à Marseille..." }
],
"dry_run": true
}{
"dry_run": true,
"fiche_id": "gmb-fiche-123",
"fiche_name": "Auto Sud - Marseille Centre",
"changes": [ { "field": "description", "value": "Garage automobile à Marseille..." } ],
"fields": ["description"]
}Local Pack visibility score
/api/v2/visibility/scanAPI key · readReturns the listing's latest visibility scan in the Google Local Pack: score and average position around the location.
If no scan is available, the response takes the following form, not the flat form with visibility_score:
{
"fiche_id": "gmb-fiche-123",
"snapshot_id": "snap-789",
"visibility_score": 74,
"scanned_at": "2026-07-04T10:00:00Z"
}{ "fiche_id": "gmb-fiche-123", "snapshot": null }SEO & keywords
SEO data
/api/v2/seo/dataAPI key · readReturns the listing's latest full SEO snapshot. The kind parameter selects the content: snapshot (positions, traffic, health) or competitors (identified competitors).
Parameters
| Field | Description |
|---|---|
kindstring · optionaldefault: snapshot | snapshot · competitors |
bulle_idstring · optional | Required with a sphere key (the targeted location). Optional with a bubble key. |
Response
With data (the normal case), the response is flat:
When no scan has run yet for this location:
With kind=competitors:
Without a scan: competitors is [] and snapshot_date is absent.
{
"kind": "snapshot",
"snapshot_id": 42,
"bulle_id": "abc-123",
"created_at": "2026-03-10T04:00:00Z",
"website_url": "https://auto-sud-marseille.fr",
"has_ai_analysis": true,
"ranked_keywords": {},
"competitors": {},
"onpage": {},
"pagespeed": {},
"ai_analysis": {}
}{ "kind": "snapshot", "snapshot": null, "bulle_id": "abc-123" }{
"kind": "competitors",
"bulle_id": "abc-123",
"competitors": [],
"snapshot_date": "2026-03-10T04:00:00Z"
}Tracked keywords
/api/v2/seo/tracked-keywordsAPI key · readLists the keywords tracked for the listing, with their current position, change (delta) and search volume.
bulle_id — Required with a sphere key (the targeted location). Optional with a bubble key.
[
{
"id": 12,
"keyword": "garage marseille",
"last_position": 4,
"previous_position": 6,
"delta": 2,
"last_search_volume": 1300,
"last_url": "https://autosud.fr/",
"last_checked_at": "2026-07-05T06:00:00Z",
"created_at": "2026-05-01T09:00:00Z",
"history": [ { "checked_at": "2026-07-05T06:00:00Z", "position": 4 } ]
}
]Add a keyword to tracking
/api/v2/seo/tracked-keywordsAPI key · publishAdds a keyword to the listing's rank tracking.
Request body (JSON)
| Field | Description |
|---|---|
bulle_idstring · optional | Required with a sphere key: the targeted location. Inferred automatically with a bubble key. |
keywordstring · required2 to 200 characters | Mot-clé à suivre |
bulle_id — Required with a sphere key: the targeted location. Inferred automatically with a bubble key.
{ "keyword": "garage marseille centre" }{
"id": 34,
"keyword": "garage marseille centre",
"last_position": null,
"previous_position": null,
"delta": null,
"last_search_volume": null,
"last_url": null,
"last_checked_at": null,
"created_at": "2026-07-20T10:00:00Z",
"history": []
}Search Console data
/api/v2/seo/search-consoleAPI key · readReturns live Google Search Console data (impressions, clicks, position) by the requested dimensions, filters and dates.
Parameters
| Field | Description |
|---|---|
dimensionsstring[] · optional | query · page · date · country · device |
daysinteger · optional1 to 365 | Fenêtre en jours (défaut 28) |
start_datestring · optional | YYYY-MM-DD (prioritaire sur days) |
end_datestring · optional | YYYY-MM-DD |
row_limitinteger · optional1 min. | Nombre de lignes max |
query_containsstring · optional | |
query_equalsstring · optional | |
page_containsstring · optional | |
page_equalsstring · optional | |
countrystring · optional | Code pays (ex: fra) |
devicestring · optional | DESKTOP | MOBILE | TABLET |
search_typestring · optional | web | image | video | news | discover | googleNews |
bulle_idstring · optional | Required with a sphere key (the targeted location). Optional with a bubble key. |
{
"bulle_id": "abc-123",
"site_url": "https://autosud.fr/",
"start_date": "2026-06-01",
"end_date": "2026-06-30",
"dimensions": ["query"],
"search_type": "web",
"row_count": 1,
"rows": [ { "keys": ["garage marseille"], "clicks": 42, "impressions": 800, "ctr": 0.0525, "position": 4.2 } ]
}Run an SEO scan
/api/v2/seo/scanAPI key · publishRuns a full SEO scan of the listing. Subject to a monthly quota (429 if exceeded). Costly operation: supports dry_run.
bulle_id — Required with a sphere key: the targeted location. Inferred automatically with a bubble key.
{ "dry_run": false }{
"ran": true,
"kind": "full",
"status": "running",
"job_id": "scan-3f9c2a71",
"bulle_id": "abc-123",
"quota_used": 3,
"quota_limit": 10
}Track an SEO scan
/api/v2/seo/scan-statusAPI keyStatus of a scan started by POST /seo/scan: running, done or error. With done, result carries the snapshot and the quota state; with error, error carries a displayable message.
Parameters
| Field | Description |
|---|---|
job_idstring · required8 to 64 characters | |
bulle_idstring · optional | Établissement (requis pour une clé de sphère) |
{
"status": "done",
"result": { "snapshot": {}, "quota": {} },
"error": null
}Look up a keyword
/api/v2/seo/keyword-lookupAPI key · publishAnalyzes a keyword on demand: search volume, difficulty, related keywords. Costly operation: supports dry_run.
Request body (JSON)
| Field | Description |
|---|---|
bulle_idstring · optional | Required with a sphere key: the targeted location. Inferred automatically with a bubble key. |
dry_runboolean · optionaldefault: false | true = aperçu du quota sans consommer |
keywordstring · required2 characters min. | Mot-clé à analyser |
bulle_id — Required with a sphere key: the targeted location. Inferred automatically with a bubble key.
{ "keyword": "vidange voiture marseille", "dry_run": false }{
"kind": "keyword-lookup",
"keyword": "vidange voiture marseille",
"result": {}
}SEO/GEO articles (create & publish)
Create articles
/api/v2/articlesAPI key · publishCreates one or more articles for the connected sites (WordPress, Wix, Shopify, PrestaShop, Webflow). AI writing runs in the background. Subject to a quota. 201 response.
Request body (JSON)
| Field | Description |
|---|---|
ai_word_count_targetinteger · optionaldefault: 1500 | |
bulle_idstring · optional | Required with a sphere key: the targeted location. Inferred automatically with a bubble key. |
categorystring · optional80 characters max. | |
excerptstring · optional | |
featured_image_urlstring · optional | |
generate_contentboolean · optionaldefault: true | |
generate_imageboolean · optionaldefault: false | |
languagestring · optional | |
meta_descriptionstring · optional | |
meta_titlestring · optional | |
prestashop_site_idinteger · optional | |
prestashop_site_idsinteger[] · optional | |
shopify_site_idinteger · optional | |
shopify_site_idsinteger[] · optional | |
site_idinteger · optional | |
site_idsinteger[] · optional | |
target_keywordstring · required2 characters min. | |
titlestring · required3 characters min. | |
tonestring · optionaldefault: professional | |
webflow_site_idinteger · optional | |
webflow_site_idsinteger[] · optional | |
wix_site_idinteger · optional | |
wix_site_idsinteger[] · optional |
The response then carries kind = api in created[], with site_id set to null:
{
"title": "Comment entretenir sa voiture en été",
"target_keyword": "entretien voiture été",
"site_ids": [12, 34],
"wix_site_ids": [7],
"ai_word_count_target": 1500,
"generate_content": true,
"generate_image": false,
"tone": "professional",
"language": "fr",
"meta_title": "Entretien voiture été | Auto Sud",
"meta_description": "Nos conseils d'expert pour préparer l'été.",
"excerpt": "Préparez votre véhicule pour l'été.",
"category": "Conseils"
}{
"created": [ { "id": 42, "title": "Comment entretenir sa voiture en été", "site_id": 12 } ],
"skipped": [ { "wix_site_id": 7, "reason": "already_exists" } ],
"count": 1,
"generating": true
}{
"title": "5 conseils pour entretenir sa voiture",
"target_keyword": "entretien voiture marseille",
"bulle_id": "abc-123"
}{
"created": [ { "id": 43, "kind": "api", "site_id": null } ],
"count": 1,
"generating": true
}Update an article
/api/v2/articles/{article_id}API key · publishPartially updates an article (only the provided fields change). Returns 409 if the article is already published online.
Request body (JSON)
| Field | Description |
|---|---|
categorystring · optional80 characters max. | |
content_htmlstring · optional | |
excerptstring · optional | |
featured_image_urlstring · optional | |
meta_descriptionstring · optional | |
meta_titlestring · optional | |
target_keywordstring · optional | |
titlestring · optional |
{
"title": "Nouveau titre",
"content_html": "<h2>...</h2>",
"excerpt": "...",
"meta_title": "...",
"meta_description": "...",
"target_keyword": "...",
"featured_image_url": "https://...",
"category": "Guide"
}{ "article_id": 42, "updated_fields": ["title", "meta_description"], "status": "draft" }Publish or schedule an article
/api/v2/articles/{article_id}/publishAPI key · publishPublishes an article immediately, or schedules it if scheduled_at (future ISO date) is provided. Costly operation: supports dry_run.
{
"scheduled_at": "2026-07-15T09:00:00+02:00",
"dry_run": false
}{
"scheduled": true,
"article_id": 42,
"title": "Comment entretenir sa voiture en été",
"scheduled_at": "2026-07-15T09:00:00+02:00"
}QR codes
List QR codes
/api/v2/qr-codesAPI key · readReturns the bubble's tracked QR codes, with scan count and redirect type (gate).
bulle_id — Restrict to one location. Default: the key's location, or every location of the brand.
[
{
"id": 1,
"bulle_id": "abc-123",
"name": "Avis Auto Sud",
"target": "Page Google Reviews",
"scan_count": 342,
"last_scanned_at": "2026-07-18T15:00:00Z",
"is_active": true,
"gate_enabled": true,
"gate_threshold": 4,
"created_at": "2026-04-01T10:00:00Z"
}
]Create a QR code
/api/v2/qr-codesAPI key · publishCreates a tracked QR code pointing to a target URL, with an optional color and logo.
Request body (JSON)
| Field | Description |
|---|---|
bulle_idstring · optional | Required with a sphere key: the targeted location. Inferred automatically with a bubble key. |
color_hexstring · optionaldefault: #000000 | Couleur hex, ex #E2611B |
namestring · optional | Nom du QR code |
target_urlstring · required | URL cible (http:// ou https://) |
with_logoboolean · optionaldefault: true | Incruster le logo de la sphère au centre |
bulle_id — Optional: without it, a sphere key creates a QR code at the brand level (valid).
{
"target_url": "https://g.page/r/xxxx/review",
"name": "Avis Auto Sud",
"color_hex": "#000000",
"with_logo": true
}{
"id": 1,
"name": "Avis Auto Sud",
"target_url": "https://g.page/r/xxxx/review",
"short_url": "https://gmb.link/xxxx",
"png_url": "https://app.gmb-club.com/static/qr/xxxx.png",
"color_hex": "#000000",
"with_logo": true,
"scan_count": 0,
"created_at": "2026-07-20T10:00:00Z"
}Sites & reports
Connected sites
/api/v2/sitesAPI key · readLists the sites connected to the bubble. Filterable by platform (wordpress, wix, shopify, prestashop, webflow).
Parameters
| Field | Description |
|---|---|
platformstring · optional | wordpress · wix · shopify · prestashop · webflow |
bulle_idstring · optional | Restrict to one location. Default: the key's location, or every location of the brand. |
[
{
"platform": "wordpress",
"id": 1,
"site_url": "https://autosud.fr",
"site_name": "Auto Sud",
"sphere_id": "xyz-789",
"bulle_id": "abc-123",
"is_shared": false,
"has_api_key": true,
"wp_version": "6.5",
"plugin_version": "1.4.0",
"theme_name": "GeneratePress"
},
{
"platform": "wix",
"id": 2,
"site_url": "https://autosud-aix.wixsite.com",
"site_name": "Auto Sud Aix",
"sphere_id": "xyz-789",
"bulle_id": "abc-456",
"is_shared": false,
"has_token": true
}
]List reports
/api/v2/reportsAPI key · readReturns already generated reports, with PDF and CSV download URLs.
Parameters
| Field | Description |
|---|---|
bulle_idstring · optional | Restrict to one location. Default: the key's location, or every location of the brand. |
typestring · optionaldefault: fiche | fiche |
limitinteger · optional1 to 100 · default: 20 |
[
{
"fiche_name": "Auto Sud - Marseille Centre",
"report_name": "Rapport juin 2026",
"period": "2026-06",
"generated_at": "2026-07-01T08:00:00Z",
"pdf_url": "https://app.gmb-club.com/static/reports/rep-1.pdf",
"csv_url": "https://app.gmb-club.com/static/reports/rep-1.csv"
}
]Generate a report
/api/v2/reportsAPI key · publishGenerates a PDF report. type = fiche for one location, or combine with at least two fiche_ids. Asynchronous processing (~1 to 2 min): 202 response, result retrievable via GET /v2/reports.
Request body (JSON)
| Field | Description |
|---|---|
date_endstring · required | Fin (YYYY-MM-DD) |
date_startstring · required | Début (YYYY-MM-DD) |
dry_runboolean · optionaldefault: false | true = aperçu sans lancer la génération |
fiche_idstring · optional | Fiche cible (type=fiche ; défaut : celle de la clé) |
fiche_idsstring[] · optional | Fiches (>=2) pour type=combine |
report_namestring · optional | Nom du rapport |
typestring · optionaldefault: fiche | fiche (1 établissement) | combine (multi-fiches) |
{
"type": "combine",
"fiche_ids": ["gmb-fiche-123", "gmb-fiche-456"],
"date_start": "2026-06-01",
"date_end": "2026-06-30",
"report_name": "Rapport juin 2026",
"dry_run": false
}{ "generated": true, "type": "combine", "report_id": "rep-1", "fiches_count": 2 }Images
Upload an image
/api/v2/images/uploadAPI key · publishSends an image (image_base64 OR url, never both). JPEG, PNG, WebP, GIF formats, 8 MB maximum. Returns an image_url reusable in posts and articles.
Request body (JSON)
| Field | Description |
|---|---|
bulle_idstring · optional | Location the visual template belongs to. Required with template for a sphere key. |
image_base64string · optional | Contenu de l'image encodé en base64 |
post_textstring · optional5000 characters max. | Text of the post the image goes with. The template's headings are rewritten from it; a price or a date it does not give is removed, never invented. |
templatestring · optional200 characters max. | Visual template to apply to the image. The id or name of a template (GET /visual-templates), default for those the customer set to automatic, auto for the best match among all, none or omitted for no template. |
urlstring · optional | URL HTTPS publique de l'image |
{ "url": "https://example.com/photo.jpg" }
// ou : { "image_base64": "data:image/png;base64,iVBORw0..." }{
"uploaded": true,
"image_url": "https://app.gmb-club.com/static/uploads/mcp/xxxx.webp",
"size_bytes": 84213,
"format": "webp"
}Generate an image with AI
/api/v2/images/generateAPI key · publishGenerates an image with AI from a prompt. align_with_brand (on by default) applies the brand's identity. Returns an image_url.
Request body (JSON)
| Field | Description |
|---|---|
align_with_brandboolean · optionaldefault: true | Aligner l'image sur l'identité visuelle de la bulle (couleurs, style, brief métier) |
bulle_idstring · optional | Required with a sphere key: the targeted location. Inferred automatically with a bubble key. |
post_textstring · optional5000 characters max. | Text of the post the image goes with. The template's headings are rewritten from it; a price or a date it does not give is removed, never invented. |
promptstring · required5 to 2000 characters | Description de l'image |
templatestring · optional200 characters max. | Visual template to apply to the image. The id or name of a template (GET /visual-templates), default for those the customer set to automatic, auto for the best match among all, none or omitted for no template. |
bulle_id — Required with a sphere key when align_with_brand is true (the location whose brand guidelines are aligned).
{
"prompt": "Un mécanicien souriant dans un garage moderne et lumineux",
"align_with_brand": true
}{
"generated": true,
"image_url": "https://app.gmb-club.com/static/uploads/mcp/xxxx.webp",
"brand_aligned": true
}List visual templates
/api/v2/visual-templatesAPI key · readReturns the location's ready visual templates, that is the layout (banner, frame, headings) it applies to its images. A template's id goes in the template field of POST /images/generate and POST /images/upload.
Parameters
| Field | Description |
|---|---|
bulle_idstring · optional | Restrict to one location. Default: the key's location, or every location of the brand. |
{
"templates": [
{
"id": "84985c0f-0e6d-40ca-b08f-8c445a20a534",
"name": "Bandeau promo",
"usage": "Annonces de promotion",
"automatic": true,
"automatic_for_articles": false,
"preview_url": "https://app.gmb-club.com/static/uploads/visual-templates/bul-123/apercu.jpg",
"bulle_id": "bul-123"
}
],
"total": 1
}Permissions
Each API key has configurable permissions:
read- Read posts, articles, connections and info
schedule- Create and modify scheduled posts
publish- Publish immediately
delete- Delete posts
Rate Limiting
Each API key has configurable request limits:
| Limit | Default value |
|---|---|
| Per minute | 60 |
| Per day | 1000 |
Error codes
| Code | Description |
|---|---|
200 | Success |
201 | Resource created |
202 | Long operations: 202 response |
400 | Invalid request (check Content-Type and JSON format) |
401 | Missing or invalid API key |
403 | Insufficient permission |
404 | Resource not found |
409 | State conflict (e.g. article already published) |
410 | Resource gone at the provider (e.g. review removed from Google) |
422 | Invalid data |
429 | Rate limit exceeded |
500 | Server error |
502 | External service failed (Google, DataForSEO) |
503 | Service not configured or unavailable |
A 422 response says what was rejected in two ways: error sums it up in one sentence (“field: reason”), and details lists each field with loc (where it is), msg (the reason), type (the error code), input (the value received) and, when a limit is exceeded, ctx (that limit). Example for POST /api/v2/articles with a two-character title and no keyword:
{
"error": "title: String should have at least 3 characters, target_keyword: Field required",
"details": [
{
"type": "string_too_short",
"loc": ["body", "title"],
"msg": "String should have at least 3 characters",
"input": "ab",
"ctx": { "min_length": 3 }
},
{
"type": "missing",
"loc": ["body", "target_keyword"],
"msg": "Field required",
"input": { "title": "ab" }
}
]
}Code examples
import requests
API_KEY = "gmb_live_xxxx..."
BASE_URL = "https://app.gmb-club.com/api/v2"
headers = { "X-API-Key": API_KEY, "Content-Type": "application/json" }
# 1. Get key info
me = requests.get(f"{BASE_URL}/me", headers=headers).json()
print(f"Sphere: {me['sphere']['name']}")
print(f"Bubble: {me['bulle']['name']}")
# 2. Create a post
response = requests.post(f"{BASE_URL}/posts", headers=headers, json={
"content": "Post from Python!",
"platforms": ["facebook", "instagram"],
"scheduled_at": "2025-12-01T10:00:00+01:00"
})
print(response.json())
# 3. Get published articles
articles = requests.get(f"{BASE_URL}/articles", headers=headers,
params={"status": "published", "limit": 10}).json()
for article in articles['articles']:
print(f"#{article['id']}: {article['title']}")const API_KEY = "gmb_live_xxxx...";
const BASE_URL = "https://app.gmb-club.com/api/v2";
const headers = { "X-API-Key": API_KEY, "Content-Type": "application/json" };
// 1. Get key info
const me = await fetch(`${BASE_URL}/me`, { headers }).then(r => r.json());
console.log(`Sphere: ${me.sphere.name}`);
// 2. Create a post
const response = await fetch(`${BASE_URL}/posts`, {
method: "POST", headers,
body: JSON.stringify({
content: "Post from JavaScript!",
platforms: ["facebook", "gmb"],
scheduled_at: "2025-12-01T10:00:00+01:00"
})
});
console.log(await response.json());
// 3. Get published articles
const data = await fetch(`${BASE_URL}/articles?status=published&limit=10`, { headers })
.then(r => r.json());
data.articles.forEach(a => console.log(`#${a.id}: ${a.title}`));# 1. Get key info
curl -H "X-API-Key: gmb_live_xxxx..." \
https://app.gmb-club.com/api/v2/me
# 2. Create a post
curl -X POST https://app.gmb-club.com/api/v2/posts \
-H "X-API-Key: gmb_live_xxxx..." \
-H "Content-Type: application/json" \
-d '{ "content": "New post!", "platforms": ["facebook", "gmb"], "scheduled_at": "2025-12-01T10:00:00+01:00" }'
# 3. Get published articles
curl -H "X-API-Key: gmb_live_xxxx..." \
"https://app.gmb-club.com/api/v2/articles?status=published&limit=10"Make · n8n · Zapier
Make.com setup
Use the HTTP → Make a request module.
Zapier setup
Use the Webhooks by Zapier → Custom Request action.
Security
| Measure | Description |
|---|---|
| Hashed keys | Stored as SHA256 hash, never in plain text |
| HTTPS required | All requests must use HTTPS |
| Bubble isolation | Each key only accesses its bubble's data |
| Optional expiration | Keys can have an expiration date |
| Revocation | Keys can be revoked at any time |
| Rate limiting | Abuse protection via Redis |

/api/v2/social/publishAPI key · publishPublishes or schedules a post on one or more platforms.
Request body (JSON)
bulle_idstring · optionalimage_urlstring · optionalimage_urlsstring[] · optionalplatform_formatsobject · optionalplatformsstring[] · required1 to ∞ itemsscheduled_atstring · optionaltextstring · optional63206 characters max. · default:video_urlstring · optionalplatforms: facebook, instagram, linkedin, pinterest, tiktok, snapchat, youtube, gmb.text: up to 63206 characters, optional when no platform displays it (stories).image_urlfor a single image,image_urlsfor a carousel.platform_formats: format per platform, same values as on POST /posts.scheduled_at(ISO 8601) absent = immediate publication.statusispublishing(immediate publication) orscheduled(scheduled).