Public API changelog
This page lists changes to the Grona Public API, newest first. Check it before you upgrade an integration that creates or manages campaigns from your own systems.
4 November 2026
Section titled “4 November 2026”Changed Grona Embed connection details
The Public API is part of Grona Embed. Its base URL is https://services.grona.ai/api/public/v1, and you manage your key in Settings > Secrets in the Grona Embed dashboard. segmentId and segmentValue are required when you create a campaign.
7 October 2026
Section titled “7 October 2026”New Page-variable targeting
A campaign can now target any variable your page sets on window: segmentId names the variable and segmentValue is the value it must hold. Grona keeps checking the variable while the visitor stays on the page (Target by page variable).
New Multi-page targeting
Set pageTargeting to multiple to run a campaign or an A/B test on a set of pages, using a sample url, slug, condition and a list of up to 50 entries (Run on several pages). A plan without multi-page targeting returns 403 forbidden. A campaign’s url and pageTargeting are fixed once it is created.
New Preview links
Each variation in a campaign response now has a previewUrl, and the edit-link response returns one too. It opens the variation’s page with its saved changes, even while the campaign is paused.
New Variation types
Every variation in a create, list, get or update response now has a type of control or variant (Conventions).
7 September 2026
Section titled “7 September 2026”Changed Campaigns start paused
POST /campaigns now creates every campaign paused. Nothing reaches visitors until you set it live with PATCH /campaigns/{campaignId}/status.
4 September 2026
Section titled “4 September 2026”New Traffic split on create
POST /campaigns now accepts an optional trafficSplit for an A/B test, keyed by Control and Test, as whole numbers that total 100. Leave it out to split 50 and 50 (Traffic split keys).
Improved Campaign type in responses
List, get and update responses now report each campaign’s type, and an A/B test’s trafficSplit keyed by variation id. Update responses also include variations.
2 September 2026
Section titled “2 September 2026”Improved Editor link timestamps
Every editor link response now includes generatedAt, the time the link was issued.
1 September 2026
Section titled “1 September 2026”New External ids
Set your own externalId on a campaign when you create or update it, then use it wherever a path takes a campaign id. It is unique within the workspace, and a duplicate returns 409 conflict (External ids).
New Get a campaign
GET /campaigns/{campaignId} returns one campaign, by Grona’s id or your externalId.
New Script verification
POST /websites/verify-script checks a page now and reports whether the snippet is on it (Verify installations).
New Editor link validation
POST /variations/edit-link/validate takes a link you hold and returns one that works: the same link if it is still good, or a new one if not. Every editor link response now includes expiresAt (Check a link you hold).
Improved Background script check on create
POST /campaigns now returns as soon as the campaign exists, and Grona checks the website in the background. Campaigns you create, list or get carry a script object with the result, and the campaign is created whether or not the snippet is found.
Improved Update more fields
PATCH /campaigns/{campaignId} can now change an A/B test’s trafficSplit and pause or resume a campaign, as well as its name and segment. A request that fails changes nothing.
4 August 2026
Section titled “4 August 2026”New Websites added on create
POST /campaigns now adds the website to your workspace when the host of url is new to it, so you do not have to add it first (Host matching). A new website counts towards your plan’s website limit, and a request over the limit returns 403 forbidden.
28 July 2026
Section titled “28 July 2026”Improved Variations in the campaign list
GET /campaigns now returns each campaign’s variations, with each variation’s id and name. Use the id to request an editor link later.
24 July 2026
Section titled “24 July 2026”New A/B tests
Set type to abTest on create to run an A/B test on one page. Grona creates two variations, Control and Test, splits eligible visitors 50 and 50, and returns an editor link for each (Run an A/B test).
20 July 2026
Section titled “20 July 2026”New Public API v1
The first version of the Public API lets you manage Grona campaigns from your own backend. You can list, create, update, set the status of and delete campaigns, and get a link that opens a variation in the visual editor (Create campaigns, Visual editor links). Each campaign targets one page and a visitor segment.
New Secret keys
A workspace Owner or Admin generates, regenerates and revokes the workspace’s secret key from the dashboard. Grona shows the full key once (Authentication).
New Errors and rate limits
Errors use one JSON body with a stable code and a readable message (Errors). Requests are rate limited, and a 429 response carries a Retry-After header.