GMB Club

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.

ConceptDescriptionExample
SphereBrand / Company / Franchisor"Auto Sud"
BubbleLocation / Point of sale"Auto Sud Marseille"
ResourcesAccounts connected to the bubbleFacebook, 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

  1. Sign in to GMB Club
  2. Select your bubble in the header
  3. Settings → API keys → New key
  4. Choose the scope: "This location" or "Whole brand"
  5. 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

text
gmb_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Usage

cURL
curl -H "X-API-Key: gmb_live_xxxx..." \
     -H "Content-Type: application/json" \
  https://app.gmb-club.com/api/v2/me

Base URL

text
https://app.gmb-club.com/api/v2

Endpoints

get/api/v2/healthNo API key

Checks that the API is operational. No authentication required.

JSON
{
  "status": "ok",
  "api_version": "2.0",
  "timestamp": "2026-07-27T18:00:00.000000Z"
}

Key identity

get/api/v2/meAPI key · read

Returns info about the API key, bubble, sphere and connected resources. Call this endpoint first.

JSON
{
  "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

get/api/v2/connectionsAPI key · read

Returns social network connection details for this bubble.

Parameters

FieldDescription
bulle_idstring · optionalRestrict 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.

JSON
[
  { "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

get/api/v2/platforms/limitsAPI key · read

Returns character and media limits for each platform.

JSON
{
  "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

post/api/v2/postsAPI key · schedule

Creates a new scheduled post or publishes immediately.

Request body (JSON)

FieldDescription
bulle_idstring · optionalRequired with a sphere key: the targeted location. Inferred automatically with a bubble key.
contentstring · optional1 to 5000 charactersPost text (1-5000 chars)
content_per_platformobject · optionalText specific to one network, replacing content on that network only: {"youtube": "…", "tiktok": "…"}. One post, one text per network.
gmb_fiche_idstring · optionalGMB listing ID (see /me)
image_urlstring · optionalSingle image URL
image_urlsstring[] · optionalJSON URL array for carousel (2-10)
platform_formatsobject · optionalFormat per platform. Instagram and Facebook: post or story. Snapchat: story, saved_story or spotlight. Absent: default format. An unknown format is rejected.
platform_optionsPlatformOptions · optionalYouTube and TikTok options per network (privacy, Short, tags, comments, commercial disclosure…). See the box below.
platform_options[].tiktokTiktokOptions · optionalTikTok options, used only when the post targets it.
platform_options.tiktok[].auto_add_musicboolean · optionaltrue lets TikTok add a trending sound. Default false.
platform_options.tiktok[].brand_organicboolean · optionalPromotes the creator's own business ('Promotional content' label).
platform_options.tiktok[].branded_contentboolean · optionalPaid 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 · optionaltrue = comments off. Default true (TikTok rule: interactions are off unless the user allows them): pass false to allow comments.
platform_options.tiktok[].disable_duetboolean · optionaltrue = Duets off. Default true: pass false to allow Duets (video only).
platform_options.tiktok[].disable_stitchboolean · optionaltrue = 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_ONLYWho 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 · optionalYouTube 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 · optionaltrue 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 · optionalCOPPA declaration: true if the video is made for children. Default false.
platform_options.youtube[].privacy_statusstring · optionalvalues: public, unlisted, privateWho 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[] · optionalKeyword 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[] · requiredArray: 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: falseIf true, publish immediately
scheduled_atstring · optionalISO 8601 date/time (default: +1h)
scheduled_facebookstring · optionalDate and time for this network only; overrides scheduled_at.
scheduled_gmbstring · optionalDate and time for this network only; overrides scheduled_at.
scheduled_instagramstring · optionalDate and time for this network only; overrides scheduled_at.
scheduled_linkedinstring · optionalDate and time for this network only; overrides scheduled_at.
scheduled_pintereststring · optionalDate and time for this network only; overrides scheduled_at.
scheduled_snapchatstring · optionalDate and time for this network only; overrides scheduled_at.
scheduled_tiktokstring · optionalDate and time for this network only; overrides scheduled_at.
scheduled_youtubestring · optionalDate and time for this network only; overrides scheduled_at.
textstring · optional1 to 5000 charactersAlias of content.
video_urlstring · optionalVideo URL
Request·JSON
{
  "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"
}
Example: a story on Instagram and Facebook·JSON
{
  "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"
}
Example: a video on YouTube and TikTok, with a text per network·JSON
{
  "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 }
  }
}
Response·JSON
{
  "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

get/api/v2/postsAPI key · read

Returns bubble posts with pagination. A post the client removed from their site (« Show on my site » unchecked in the app) is not returned.

Parameters

FieldDescription
statusstring · optionalpending · published · error
limitinteger · optional1 to 100 · default: 50Nombre max de résultats
offsetinteger · optional0 min. · default: 0Pagination offset
bulle_idstring · optionalRestrict to one location. Default: the key's location, or every location of the brand.
JSON
[
  {
    "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": []
  }
]
get/api/v2/posts/{post_id}API key · read

Retrieves a post by its identifier. Returns the same object as an element of GET /api/v2/posts.

put/api/v2/posts/{post_id}API key · schedule

Updates a pending post (status: pending only): content, schedule or format per platform.

Request body (JSON)

FieldDescription
contentstring · optional1 to 5000 characters
content_per_platformobject · optionalTexte 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 · optionalFormat 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 · optionalOptions 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 · optionalTikTok options, used only when the post targets it.
platform_options.tiktok[].auto_add_musicboolean · optionaltrue lets TikTok add a trending sound. Default false.
platform_options.tiktok[].brand_organicboolean · optionalPromotes the creator's own business ('Promotional content' label).
platform_options.tiktok[].branded_contentboolean · optionalPaid 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 · optionaltrue = comments off. Default true (TikTok rule: interactions are off unless the user allows them): pass false to allow comments.
platform_options.tiktok[].disable_duetboolean · optionaltrue = Duets off. Default true: pass false to allow Duets (video only).
platform_options.tiktok[].disable_stitchboolean · optionaltrue = 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_ONLYWho 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 · optionalYouTube 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 · optionaltrue 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 · optionalCOPPA declaration: true if the video is made for children. Default false.
platform_options.youtube[].privacy_statusstring · optionalvalues: public, unlisted, privateWho 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[] · optionalKeyword 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 · optionalNouvelle date/heure pour toutes les plateformes
Request·JSON
{
  "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" } }
}
DEL/api/v2/posts/{post_id}API key · delete

Deletes a pending or errored post.

post/api/v2/posts/{post_id}/publishAPI key · publish

Forces 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 »).

post/api/v2/social/publishAPI key · publish

Publishes or schedules a post on one or more platforms.

Request body (JSON)

FieldDescription
bulle_idstring · optionalRequired with a sphere key: the targeted location. Inferred automatically with a bubble key.
image_urlstring · optionalURL absolue d'une image à publier. Pour un carrousel, utiliser image_urls.
image_urlsstring[] · optionalListe d'URLs pour un carrousel (2 à 10 images).
platform_formatsobject · optionalFormat par plateforme : {"instagram": "story"}. Instagram et Facebook : post, story ; Snapchat : story, saved_story, spotlight.
platformsstring[] · required1 to ∞ itemsListe des plateformes cibles (facebook, instagram, linkedin, pinterest, tiktok, snapchat, youtube, gmb)
scheduled_atstring · optionalDate/heure de publication ISO 8601. Absent ou passé = publication immédiate.
textstring · optional63206 characters max. · default: Contenu textuel du post. Facultatif si aucune plateforme ne l'affiche (stories).
video_urlstring · optionalURL absolue d'une vidéo à publier.

platforms: facebook, instagram, linkedin, pinterest, tiktok, snapchat, youtube, gmb. text: up to 63206 characters, optional when no platform displays it (stories). image_url for a single image, image_urls for a carousel. platform_formats: format per platform, same values as on POST /posts. scheduled_at (ISO 8601) absent = immediate publication.

status is publishing (immediate publication) or scheduled (scheduled).

Response·JSON
{
  "post_id": "post-abc-123",
  "status": "scheduled",
  "scheduled_at": "2026-08-01T09:00:00+02:00",
  "platforms": ["facebook", "instagram"],
  "quota": {}
}
get/api/v2/social/quotaAPI key · read

The location's monthly publishing quota status. Call it before publishing to avoid a rejection.

The response is supplemented with the location's monthly quota counters.

bulle_id — Required with a sphere key (the targeted location). Optional with a bubble key.

JSON
{ "bulle_id": "abc-123" }
get/api/v2/social/posts/{post_id}API key · read

Detailed status of a post. The scheduled, published and errors objects carry one entry per platform, null if the platform is not concerned.

JSON
{
  "post_id": "post-abc-123",
  "status": "scheduled",
  "platforms": ["facebook", "instagram"],
  "content": "Nos nouveautés sont arrivées !",
  "scheduled": { "instagram": "2026-08-01T09:00:00+02:00", "facebook": "2026-08-01T09:00:00+02:00", "linkedin": null, "pinterest": null, "tiktok": null, "snapchat": null, "youtube": null, "gmb": null },
  "published": { "instagram": null, "facebook": null, "linkedin": null, "pinterest": null, "tiktok": null, "snapchat": null, "youtube": null, "gmb": null },
  "errors": { "instagram": null, "facebook": null, "linkedin": null, "pinterest": null, "tiktok": null, "snapchat": null, "youtube": null, "gmb": null }
}

List articles

get/api/v2/articlesAPI key · read

Returns generated articles for this bubble. Ideal for custom site integration.

Parameters

FieldDescription
statusstring · optionaldefault: publishedpublished · draft · all
limitinteger · optional1 to 100 · default: 10Nombre max de résultats
offsetinteger · optional0 min. · default: 0Offset pour pagination
sincestring · optionalPubliés à partir de cette date (ISO 8601), sur published_at
updated_sincestring · optionalISO 8601: articles modified since this date (filters on updated_at, sorted oldest to newest).
bulle_idstring · optionalRestrict to one location. Default: the key's location, or every location of the brand.
JSON
{
  "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
}
get/api/v2/articles/{article_id}API key · read

Retrieves full article content by ID.

JSON
{
  "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

post/api/v2/articles/{article_id}/confirmAPI key · read

Pingback 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:

JavaScript
// 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 })
});
PHP
$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);
Node.js
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}` }),
});
Python
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
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
JSON
{
  "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

get/api/v2/spheresAPI key · read

Returns the sphere (brand) attached to the API key: name, slug, default tone and language.

JSON
[
  {
    "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

get/api/v2/bullesAPI key · read

Lists the bubbles (locations) of the sphere, with their city and the number of attached Google listings.

JSON
[
  { "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

get/api/v2/bulles/{bulle_id}API key · read

Returns a bubble's details: effective tone and language (inherited from the sphere if unset), number of Google listings, connected networks.

JSON
{
  "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

get/api/v2/reviewsAPI key · read

Returns the listing's Google reviews, paginated and filterable (rating, reply status, keyword, dates), sortable by date or rating.

Parameters

FieldDescription
fiche_idstring · optionalDefault listing: optional fiche_id
min_starsinteger · optional1 to 5 · default: 1Note minimale (inclusive)
max_starsinteger · optional1 to 5 · default: 5Note maximale (inclusive)
limitinteger · optional1 to 100 · default: 25Nombre d'avis par page
pageinteger · optional1 min. · default: 1Page (indexée à 1)
keywordstring · optionalFiltre texte sur l'avis, l'auteur ou la réponse
statusstring · optionalall | responded | drafts | unresponded
date_fromstring · optionalDate min (ISO YYYY-MM-DD, inclusive)
date_tostring · optionalDate max (ISO YYYY-MM-DD, inclusive)
sort_bystring · optionaldefault: date_descdate_desc | date_asc | rating_asc | rating_desc
JSON
{
  "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

get/api/v2/reviews/summaryAPI key · read

Returns the average rating, total number of reviews and their breakdown by status (responded, drafts, unresponded).

JSON
{
  "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 }
}

Reply to a review

post/api/v2/reviews/{review_id}/replyAPI key · publish

Publishes a reply to a review directly on Google. Costly operation: supports dry_run.

Request body (JSON)

FieldDescription
dry_runboolean · optionaldefault: falsetrue = aperçu sans rien publier sur Google
textstring · required3 to 4000 charactersTexte de la réponse
Request·JSON
{
  "text": "Merci beaucoup pour votre retour, à très bientôt !",
  "dry_run": false
}
Response·JSON
{
  "posted": true,
  "review_id": "rev-abc",
  "rating": 5,
  "customer_name": "Julie A.",
  "fiche_name": "Auto Sud - Marseille Centre"
}

Review acquisition

Acquisition stats

get/api/v2/acquisition/statsAPI key · read

Returns review-request statistics over 30 days: number sent, by channel (SMS, email) and by status.

JSON
{
  "fiche_id": "gmb-fiche-123",
  "total_requests": 84,
  "by_channel": { "sms": 50, "email": 34 },
  "by_status": {},
  "last_30_days": 84
}

Send review requests

post/api/v2/acquisition/review-requestsAPI key · publish

Sends 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)

FieldDescription
contactsReviewRequestContact[] · required1 to 200 items
contacts[].channelstring · requiredsms | email
contacts[].custom_messagestring · optional1500 characters max.
contacts[].customer_emailstring · optional
contacts[].customer_namestring · required1 characters min.
contacts[].customer_phonestring · optional
dry_runboolean · optionaldefault: falsetrue = aperçu sans rien envoyer
fiche_idstring · optionalFiche GMB (défaut : celle de la clé)
Request·JSON
{
  "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
}
Response·JSON
{
  "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

get/api/v2/gmb/metricsAPI key · read

Returns the Google listing's KPIs over a period: views, searches, calls, website clicks, direction requests.

Parameters

FieldDescription
fiche_idstring · optionalDefault listing: optional fiche_id
period_daysinteger · optional1 to 90 · default: 30Période en jours (1-90)
JSON
{
  "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

get/api/v2/gmb/optimizerAPI key · read

Returns the listing's latest optimization score (0 to 100), cached. Fast read, no new audit.

JSON
{
  "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

post/api/v2/gmb/optimizer/auditAPI key · publish

Runs a full audit of the listing (Google data + AI analysis) and returns a detailed score with improvement suggestions. Costly operation: supports dry_run.

JSON
{
  "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

post/api/v2/gmb/optimizer/applyAPI key · publish

Applies a list of {field, value} changes to the Google listing (real write to Google). Costly operation: supports dry_run.

Request body (JSON)

FieldDescription
changesOptimizerChange[] · required1 to ∞ items
changes[].fieldstring · required1 characters min.
changes[].valueany · optional
dry_runboolean · optionaldefault: falsetrue = aperçu sans rien pousser vers Google
fiche_idstring · optionalFiche 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.

Request·JSON
{
  "changes": [
    { "field": "description", "value": "Garage automobile à Marseille..." }
  ],
  "dry_run": true
}
JSON
{
  "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

get/api/v2/visibility/scanAPI key · read

Returns 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:

JSON
{
  "fiche_id": "gmb-fiche-123",
  "snapshot_id": "snap-789",
  "visibility_score": 74,
  "scanned_at": "2026-07-04T10:00:00Z"
}
JSON
{ "fiche_id": "gmb-fiche-123", "snapshot": null }

SEO & keywords

SEO data

get/api/v2/seo/dataAPI key · read

Returns the listing's latest full SEO snapshot. The kind parameter selects the content: snapshot (positions, traffic, health) or competitors (identified competitors).

Parameters

FieldDescription
kindstring · optionaldefault: snapshotsnapshot · competitors
bulle_idstring · optionalRequired 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.

JSON
{
  "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": {}
}
JSON
{ "kind": "snapshot", "snapshot": null, "bulle_id": "abc-123" }
JSON
{
  "kind": "competitors",
  "bulle_id": "abc-123",
  "competitors": [],
  "snapshot_date": "2026-03-10T04:00:00Z"
}

Tracked keywords

get/api/v2/seo/tracked-keywordsAPI key · read

Lists 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.

JSON
[
  {
    "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

post/api/v2/seo/tracked-keywordsAPI key · publish

Adds a keyword to the listing's rank tracking.

Request body (JSON)

FieldDescription
bulle_idstring · optionalRequired with a sphere key: the targeted location. Inferred automatically with a bubble key.
keywordstring · required2 to 200 charactersMot-clé à suivre

bulle_id — Required with a sphere key: the targeted location. Inferred automatically with a bubble key.

Request·JSON
{ "keyword": "garage marseille centre" }
Response·JSON
{
  "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

get/api/v2/seo/search-consoleAPI key · read

Returns live Google Search Console data (impressions, clicks, position) by the requested dimensions, filters and dates.

Parameters

FieldDescription
dimensionsstring[] · optionalquery · page · date · country · device
daysinteger · optional1 to 365Fenêtre en jours (défaut 28)
start_datestring · optionalYYYY-MM-DD (prioritaire sur days)
end_datestring · optionalYYYY-MM-DD
row_limitinteger · optional1 min.Nombre de lignes max
query_containsstring · optional
query_equalsstring · optional
page_containsstring · optional
page_equalsstring · optional
countrystring · optionalCode pays (ex: fra)
devicestring · optionalDESKTOP | MOBILE | TABLET
search_typestring · optionalweb | image | video | news | discover | googleNews
bulle_idstring · optionalRequired with a sphere key (the targeted location). Optional with a bubble key.
Response·JSON
{
  "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

post/api/v2/seo/scanAPI key · publish

Runs 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.

Request·JSON
{ "dry_run": false }
Response·JSON
{
  "ran": true,
  "kind": "full",
  "status": "running",
  "job_id": "scan-3f9c2a71",
  "bulle_id": "abc-123",
  "quota_used": 3,
  "quota_limit": 10
}

Track an SEO scan

get/api/v2/seo/scan-statusAPI key

Status 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

FieldDescription
job_idstring · required8 to 64 characters
bulle_idstring · optionalÉtablissement (requis pour une clé de sphère)
JSON
{
  "status": "done",
  "result": { "snapshot": {}, "quota": {} },
  "error": null
}

Look up a keyword

post/api/v2/seo/keyword-lookupAPI key · publish

Analyzes a keyword on demand: search volume, difficulty, related keywords. Costly operation: supports dry_run.

Request body (JSON)

FieldDescription
bulle_idstring · optionalRequired with a sphere key: the targeted location. Inferred automatically with a bubble key.
dry_runboolean · optionaldefault: falsetrue = 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.

Request·JSON
{ "keyword": "vidange voiture marseille", "dry_run": false }
Response·JSON
{
  "kind": "keyword-lookup",
  "keyword": "vidange voiture marseille",
  "result": {}
}

SEO/GEO articles (create & publish)

Create articles

post/api/v2/articlesAPI key · publish

Creates 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)

FieldDescription
ai_word_count_targetinteger · optionaldefault: 1500
bulle_idstring · optionalRequired 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:

Request·JSON
{
  "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"
}
Response·JSON
{
  "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
}
JSON
{
  "title": "5 conseils pour entretenir sa voiture",
  "target_keyword": "entretien voiture marseille",
  "bulle_id": "abc-123"
}
JSON
{
  "created": [ { "id": 43, "kind": "api", "site_id": null } ],
  "count": 1,
  "generating": true
}

Update an article

put/api/v2/articles/{article_id}API key · publish

Partially updates an article (only the provided fields change). Returns 409 if the article is already published online.

Request body (JSON)

FieldDescription
categorystring · optional80 characters max.
content_htmlstring · optional
excerptstring · optional
featured_image_urlstring · optional
meta_descriptionstring · optional
meta_titlestring · optional
target_keywordstring · optional
titlestring · optional
Request·JSON
{
  "title": "Nouveau titre",
  "content_html": "<h2>...</h2>",
  "excerpt": "...",
  "meta_title": "...",
  "meta_description": "...",
  "target_keyword": "...",
  "featured_image_url": "https://...",
  "category": "Guide"
}
Response·JSON
{ "article_id": 42, "updated_fields": ["title", "meta_description"], "status": "draft" }

Publish or schedule an article

post/api/v2/articles/{article_id}/publishAPI key · publish

Publishes an article immediately, or schedules it if scheduled_at (future ISO date) is provided. Costly operation: supports dry_run.

Request·JSON
{
  "scheduled_at": "2026-07-15T09:00:00+02:00",
  "dry_run": false
}
Response·JSON
{
  "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

get/api/v2/qr-codesAPI key · read

Returns 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.

JSON
[
  {
    "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

post/api/v2/qr-codesAPI key · publish

Creates a tracked QR code pointing to a target URL, with an optional color and logo.

Request body (JSON)

FieldDescription
bulle_idstring · optionalRequired with a sphere key: the targeted location. Inferred automatically with a bubble key.
color_hexstring · optionaldefault: #000000Couleur hex, ex #E2611B
namestring · optionalNom du QR code
target_urlstring · requiredURL cible (http:// ou https://)
with_logoboolean · optionaldefault: trueIncruster 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).

Request·JSON
{
  "target_url": "https://g.page/r/xxxx/review",
  "name": "Avis Auto Sud",
  "color_hex": "#000000",
  "with_logo": true
}
Response·JSON
{
  "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

get/api/v2/sitesAPI key · read

Lists the sites connected to the bubble. Filterable by platform (wordpress, wix, shopify, prestashop, webflow).

Parameters

FieldDescription
platformstring · optionalwordpress · wix · shopify · prestashop · webflow
bulle_idstring · optionalRestrict to one location. Default: the key's location, or every location of the brand.
JSON
[
  {
    "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

get/api/v2/reportsAPI key · read

Returns already generated reports, with PDF and CSV download URLs.

Parameters

FieldDescription
bulle_idstring · optionalRestrict to one location. Default: the key's location, or every location of the brand.
typestring · optionaldefault: fichefiche
limitinteger · optional1 to 100 · default: 20
JSON
[
  {
    "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

post/api/v2/reportsAPI key · publish

Generates 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)

FieldDescription
date_endstring · requiredFin (YYYY-MM-DD)
date_startstring · requiredDébut (YYYY-MM-DD)
dry_runboolean · optionaldefault: falsetrue = aperçu sans lancer la génération
fiche_idstring · optionalFiche cible (type=fiche ; défaut : celle de la clé)
fiche_idsstring[] · optionalFiches (>=2) pour type=combine
report_namestring · optionalNom du rapport
typestring · optionaldefault: fichefiche (1 établissement) | combine (multi-fiches)
Request·JSON
{
  "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
}
Response·JSON
{ "generated": true, "type": "combine", "report_id": "rep-1", "fiches_count": 2 }

Images

Upload an image

post/api/v2/images/uploadAPI key · publish

Sends 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)

FieldDescription
bulle_idstring · optionalLocation the visual template belongs to. Required with template for a sphere key.
image_base64string · optionalContenu 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 · optionalURL HTTPS publique de l'image
Request·JSON
{ "url": "https://example.com/photo.jpg" }
// ou : { "image_base64": "data:image/png;base64,iVBORw0..." }
Response·JSON
{
  "uploaded": true,
  "image_url": "https://app.gmb-club.com/static/uploads/mcp/xxxx.webp",
  "size_bytes": 84213,
  "format": "webp"
}

Generate an image with AI

post/api/v2/images/generateAPI key · publish

Generates 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)

FieldDescription
align_with_brandboolean · optionaldefault: trueAligner l'image sur l'identité visuelle de la bulle (couleurs, style, brief métier)
bulle_idstring · optionalRequired 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 charactersDescription 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).

Request·JSON
{
  "prompt": "Un mécanicien souriant dans un garage moderne et lumineux",
  "align_with_brand": true
}
Response·JSON
{
  "generated": true,
  "image_url": "https://app.gmb-club.com/static/uploads/mcp/xxxx.webp",
  "brand_aligned": true
}

List visual templates

get/api/v2/visual-templatesAPI key · read

Returns 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

FieldDescription
bulle_idstring · optionalRestrict to one location. Default: the key's location, or every location of the brand.
JSON
{
  "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:

LimitDefault value
Per minute60
Per day1000

Error codes

CodeDescription
200Success
201Resource created
202Long operations: 202 response
400Invalid request (check Content-Type and JSON format)
401Missing or invalid API key
403Insufficient permission
404Resource not found
409State conflict (e.g. article already published)
410Resource gone at the provider (e.g. review removed from Google)
422Invalid data
429Rate limit exceeded
500Server error
502External service failed (Google, DataForSEO)
503Service 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:

422·JSON
{
  "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

Python
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']}")

Make · n8n · Zapier

Make.com setup

Use the HTTP → Make a request module.

Zapier setup

Use the Webhooks by Zapier → Custom Request action.

Security

MeasureDescription
Hashed keysStored as SHA256 hash, never in plain text
HTTPS requiredAll requests must use HTTPS
Bubble isolationEach key only accesses its bubble's data
Optional expirationKeys can have an expiration date
RevocationKeys can be revoked at any time
Rate limitingAbuse protection via Redis