Changelog
Every change to the Zernio API, newest first.
Week of Oct 19, 2026
HubSpot, store orders and Wix blogs
Sync your inbox to HubSpot, read Shopify and WooCommerce orders in one format, publish to Wix, and four new Instagram endpoints.
Read the update →
Week of Oct 12, 2026
Route every event to your tenant
External ids on profiles, tenant routing in webhooks, a branded connect screen, deleting inbox conversations and Meta ad review status.
Read the update →
Week of Oct 5, 2026
Subtitles, message requests and Google Ads
Captions on videos, Facebook and Instagram message requests, safer connects, sample webhooks and a big Google Ads release. Seven changes need a look.
Read the update →
All platforms
Platforms
Areas
Creator payouts moved from transfers to payout batches
Balance transfers to pay creators are removed (now 410). Pay treasury campaign creators via payout batches, and preview charges (fee + VAT) before paying.
DetailsHide details
POST /v1/transfers has been removed and now always returns 410. If you were paying creators from your balance, switch to paying via payout batches.Treasury campaign payouts are now card-based: use
POST /v1/creator-campaigns/{campaignId}/payout-batches (one card payment per batch). GET /v1/balance no longer represents creator payout funds; payoutLockedCents / payoutLocks are deprecated and always empty/0.New: preview what a payout batch would charge with
POST /v1/creator-campaigns/{campaignId}/payout-batches/preview. Response includes amountCents, feeCents, taxCents, totalCents, taxLabel, reverseCharge.Also: payout batch responses now include
batch.releasesAt, and items add status value refunded plus refundedCents.curl -X POST "$BASE_URL/v1/creator-campaigns/$CAMPAIGN_ID/payout-batches/preview" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"excludeParticipantIds":["ptc_..."]}'Ads webhooks now include ad set events
You can now subscribe to webhook events for ad set creation and updates, and generate sample payloads for them using webhook test.
DetailsHide details
You can subscribe to ad set creation and edits and receive dedicated payloads for each event.
Add to
events:•
ad_set.created•
ad_set.updatedYou can also generate sample payloads via
POST /v1/webhooks/test using event = ad_set.created or ad_set.updated.curl -X POST "$BASE_URL/v1/webhooks/test" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"webhookId":"507f1f77bcf86cd799439011","event":"ad_set.updated"}'Media validation now returns detected format and codes
Media validation now verifies bytes and returns stable error codes plus detected format/dimensions. Update clients because type no longer includes the 'unknown' value.
DetailsHide details
POST /v1/tools/validate/media no longer returns type=unknown. Update any enum parsing/validation to handle only type = image | video | document.The endpoint now verifies media by inspecting the actual bytes (not just headers) and returns stable failure reasons via
code: MEDIA_UNDECODABLE | MEDIA_URL_UNREACHABLE | MEDIA_URL_NOT_ALLOWED. It also adds format, width, height, and inspection (decoded | header).Post validation now reports media decode failures with
errors[].code = MEDIA_UNDECODABLE in POST /v1/tools/validate/post.curl -sS -X POST "$ZERNIO_API/v1/tools/validate/media" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/image.jpg"}'Meta catalog ads now support intro cards
You can now add 1–3 static intro cards before catalog items on Meta catalog carousel ads using the new catalogIntroCards field.
DetailsHide details
POST /v1/ads/create now support intro cards via catalogIntroCards.Use
catalogIntroCards to add 1–3 static cards that appear before the catalog products in a catalog carousel.Notes:
• Meta only
• Valid only with
goal=catalog_sales and catalogFormat omitted or carousel_images_multi_items• Each card supports
imageUrl, headline, optional description, optional linkUrl, optional callToActioncurl -X POST "$ZERNIO/v1/ads/create" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{
"accountId":"...","adAccountId":"act_...","goal":"catalog_sales",
"catalogIntroCards":[{"imageUrl":"https://...","headline":"New arrivals"}]
}'Ad creation defaults updated for Meta and Google
Default values changed for several fields on ad creation and boost requests. Set budgetLevel, campaignType, retryOnServerError, rehostOnInstagramVideoRejection, and validateOnly explicitly if you depend on previous defaults.
DetailsHide details
POST /v1/ads/create and POST /v1/ads/boost when you omit certain fields.On
POST /v1/ads/create:•
budgetLevel default changed (Meta; also read by Google Demand Gen)•
campaignType default changed (Google)•
retryOnServerError default changed (Meta)On
POST /v1/ads/boost:•
retryOnServerError default changed (Meta)•
rehostOnInstagramVideoRejection default changed (Meta)•
validateOnly default changed (Meta)If you rely on prior defaults, set these fields explicitly in requests to keep behavior stable.
curl -X POST "$BASE_URL/v1/ads/create" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"accountId":"...","adAccountId":"...","campaignType":"search","budgetLevel":"adset"}'Automations API now available
Create and manage ad rules, event automations, and scheduled post automations, including previews/backtests, run history, templates (team/shared/Zernio), approvals, and controls.
DetailsHide details
Core endpoints include
GET/POST /v1/automations, PATCH/DELETE /v1/automations/{automationId}, POST /v1/automations/{automationId}/activate, POST /v1/automations/{automationId}/pause, POST /v1/automations/preview, POST /v1/automations/backtest, and run history via GET /v1/automations/{automationId}/checks and GET /v1/automations/actions.Automation
kind is ad_rule, event, or scheduled. Use GET /v1/automations/catalog to discover supported triggers/steps/metrics and the JSON schema used for validation.Templates are supported for reuse and sharing:
/v1/automations/templates (team), /v1/automations/templates/shared/{shareToken}, and /v1/automations/templates/zernio/{templateId}, with install endpoints that support multi-target installs (207 for partial success).curl -sS -X GET "https://api.zernio.com/v1/automations?limit=50" \
-H "Authorization: Bearer $ZERNIO_API_KEY"HubSpot deals can count as ad results
You can now enable useDealsAsResults on HubSpot connections to count closed-won deals as sales in ad campaign results and ad rules (requires crm.objects.deals.read).
DetailsHide details
useDealsAsResults to count closed-won deals as sales in ad campaign results and ad rules.When enabled, each closed-won deal is attributed to the ad campaign that brought its contact in
GET /v1/ads/campaign-results and in ad rules. Requires the HubSpot scope crm.objects.deals.read (otherwise 400). Turning it on backfills the last 90 days; it does not send anything to ad platforms.Set
useDealsAsResults to true or false.curl -X PATCH "$BASE_URL/v1/accounts/$ACCOUNT_ID/hubspot-settings" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"useDealsAsResults":true}'Ad rules add target and budget reallocation actions
Ad rule actions now include adjust_target and reallocate_budget. Update integrations to accept the new action enums and fields, and include target when creating adjust_target rules.
DetailsHide details
adjust_target and reallocate_budget, and activity/run/webhook payloads include additional fields for these actions.If you validate or deserialize ad rule actions, update your models to handle action
type values: pause, activate, adjust_budget, adjust_bid, adjust_target, reallocate_budget, duplicate, edit_name.For
adjust_target actions, target is now required when creating rules. Webhook payload ad_rule.triggered, rule runs, and rule activity entries may now include targetMetric, previousTarget, newTarget.The activity filter
GET /v1/ads/rules/activity also accepts type=adjust_target and type=reallocate_budget.curl -G "$ZERNIO_API/v1/ads/rules/activity" \
-H "Authorization: Bearer $TOKEN" \
--data-urlencode "type=adjust_target" \
--data-urlencode "limit=50"Events can now be attributed to campaigns
You can now attach campaign info to events so Purchases/Leads roll up into campaign results, totals, and ad rules as sales/revenue/leads/qualified_leads.
DetailsHide details
campaign on each event in POST /v1/events.When present, Zernio uses
campaign.id (then sourceUrl utm_campaign, then campaign.name) to attribute stored Purchase/Lead/QualifiedLead events to campaigns. These then count into GET /v1/ads/campaign-results, GET /v1/ads/campaign-results/totals, and ad rules as sales/revenue, leads, qualified_leads.Set
events[].campaign:•
id (platform campaign ID)•
name (campaign name, case-insensitive)curl -X POST https://api.zernio.com/v1/events \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"profileId":"p_123","events":[{"eventName":"Purchase","eventTime":1744732800,"eventId":"order_abc_123","user":{},"campaign":{"id":"cmp_456"}}]}'YouTube posts now support language metadata
You can now set YouTube default language and default audio language (BCP-47) when creating posts or updating published video metadata.
DetailsHide details
defaultLanguage and defaultAudioLanguage.Use these to specify the language of the title/description and the video’s spoken audio (BCP-47 tags, e.g.
ko, en-US). You can set them when creating a post (platformSpecificData) or update an existing published video via POST /v1/posts/{postId}/update-metadata.curl -X POST "$BASE_URL/v1/posts/_/update-metadata" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"platform":"youtube","videoId":"dQw4w9WgXcQ","accountId":"...","defaultLanguage":"ko","defaultAudioLanguage":"ko"}'Meta creatives can now set Instagram actor
You can now pass an Instagram account ID when creating a standalone Meta creative to control which Instagram identity the creative runs as.
DetailsHide details
instagramAccountId on POST /v1/ads/creatives.Use it to explicitly choose the Instagram account the creative runs as (mapped to Meta
instagram_user_id), instead of relying on the Page-linked default.Notes:
• If
instagramAccountId is provided, it is used as-is (no swapping).• If omitted, Zernio uses the Page-linked Instagram account and may retry with an authorized one; if none is available, the request can fail with 422 on
instagramAccountId.curl -X POST "$BASE_URL/v1/ads/creatives" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"accountId":"...","adAccountId":"act_...","headline":"...","body":"...","linkUrl":"https://...","imageUrl":"https://...","instagramAccountId":"1784..."}'Ads campaign filters now support not_deleted
You can now pass status=not_deleted when listing campaigns or reading the campaign tree to exclude soft-deleted (cancelled) items while keeping all other statuses.
DetailsHide details
status=not_deleted.Use it to hide soft-deleted items while keeping all other derived statuses.
not_deleted includes everything except cancelled.Applies to:
•
GET /v1/ads/campaigns query status•
GET /v1/ads/tree query statuscurl -G "https://api.zernio.com/v1/ads/campaigns" \
-H "Authorization: Bearer $TOKEN" \
--data-urlencode "accountId=$ACCOUNT_ID" \
--data-urlencode "status=not_deleted"Ad Library search now returns 429 rate limits
Ad Library searches may now respond with 429 RateLimited. Use the Retry-After header to back off before retrying, especially for Meta searches.
DetailsHide details
GET /v1/ads/library can now return 429 (RateLimited).Meta Ad Library searches are rate-limited (including shared-quota throttling). When you receive
429, read Retry-After and wait that long before retrying.Handle:
429 + Retry-After for backoff/retry logic.curl -i "$ZERNIO_API/v1/ads/library?platform=meta&q=zernio&limit=25" \
-H "Authorization: Bearer $TOKEN"Meta ad creates can retry on server errors
Meta ad creation endpoints now accept retryOnServerError and may return recoveredWrites to report objects recovered after Meta 5xx responses.
DetailsHide details
retryOnServerError, and reports any recovered objects in recoveredWrites.When Meta returns a 5xx during create and the parent read-back by name finds nothing, Zernio can re-POST the create (up to 3 times per object). Set
retryOnServerError: false to disable re-POSTs and fail with a 502 that includes details.unconfirmedWrite.Applies to:
•
POST /v1/ads/create•
POST /v1/ads/boost•
POST /v1/ads/messaging•
POST /v1/ads/call•
POST /v1/ads/ctwaOn success, responses may include
recoveredWrites (Meta-only) listing recovered objects (campaign, adset, ad) with adopted or repostedAfter.curl -X POST "$ZERNIO/v1/ads/create" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"accountId":"...","adAccountId":"act_...","name":"Test","goal":"traffic","budgetAmount":5,"budgetType":"daily","headline":"H","body":"B","callToAction":"LEARN_MORE","linkUrl":"https://example.com","imageUrl":"https://example.com/img.jpg","retryOnServerError":false}'Balance auto-recharge settings are now available
You can now read and update prepaid balance auto-recharge rules (thresholds, monthly limits, and alerts) via the API.
DetailsHide details
You can read the current rule and update it to automatically top up when balance drops below a threshold.
Key fields include
enabled, belowCents, toCents, monthlyLimitCents, alertBelowCents, plus status fields disabledReason (payment_failed or null), retryCount, nextRetryAt, monthRechargedCents.curl -X PATCH "$ZERNIO_API/v1/balance/auto-recharge" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"enabled":true,"belowCents":500,"toCents":2500}'Billing endpoints now return 402 BalanceRequired
Several messaging, calling, and provisioning endpoints now explicitly document a 402 BalanceRequired response for billing/payment-required states. Handle 402 to prompt for payment or top-up.
DetailsHide details
402 BalanceRequired response when billing/payment is required (e.g. no card on file, insufficient balance, or usage limit reached).If you rely on these endpoints, make sure your client handles
402 as a non-retryable billing state and prompts for payment/top-up.Applies to:
•
POST /v1/inbox/conversations/{conversationId}/messages•
POST /v1/twitter/retweet, /bookmark, /follow•
POST /v1/whatsapp/calls•
POST /v1/voice/calls, /voice/calls/web/dial•
POST /v1/branded-calling/identities•
POST /v1/sms/registrations•
POST /v1/whatsapp/phone-numbers/kyc•
POST /v1/phone-numbers/sip-trunks, /phone-numbers/{id}/sip-trunk•
POST /v1/verify/verificationscurl -sS -X POST "$ZERNIO_API/v1/verify/verifications" \
-H "Authorization: Bearer $ZERNIO_KEY" \
-H "Content-Type: application/json" \
-d '{"channel":"sms","to":"+15551234567"}'Balance top-ups now support tax and invoices
You can now preview VAT/tax before charging a balance top-up and fetch a paid top-up invoice. The statement endpoint is deprecated and kept as an alias.
DetailsHide details
Use
POST /v1/balance/top-ups/preview to see taxCents and totalCents for a given amountCents before charging. Top-ups now charge amountCents plus tax (VAT where it applies), and return taxCents, totalCents, taxLabel and reverseCharge.Fetch the paid top-up invoice via
GET /v1/balance/top-ups/{topupId}/invoice. GET /v1/balance/top-ups/{topupId}/statement is now deprecated and kept as an alias.curl -X POST "$ZERNIO_API/v1/balance/top-ups/preview" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"amountCents":5000}'Ledger entries now include usage and grants
Ledger entry kind enums now include usage and grant, available in ledger list responses and as kind filters.
DetailsHide details
kind now includes usage and grant.These new kinds can appear in ledger listings and can be used as filters, so integrations that validate enums or switch on
kind should handle them.Applies to:
•
GET /v1/ledger/entries (kind filter + response entries[].kind)•
GET /v1/creator-campaigns/{campaignId}/ledger (kind filter + response entries[].kind)• Creator payouts response
entries[].kindNew enum values:
usage, grantcurl -G "https://api.zernio.com/v1/ledger/entries" \
-H "Authorization: Bearer $ZERNI0_API_KEY" \
--data-urlencode "kind=usage" \
--data-urlencode "limit=50"Top-ups now have no card fee
Card-fee calculation is removed and top-ups now charge and credit exactly the requested amount. You can also fetch a paid top-up statement (PDF or hosted page).
DetailsHide details
GET /v1/balance/top-ups/card-fee has been removed (update any integrations that call it).When creating a top-up via
POST /v1/balance/top-ups, the card is now charged exactly amountCents and your balance is credited the same amount (feeCents is always 0, feeIsExact is always true for compatibility). The minimum amountCents is now 500.You can now fetch a paid top-up statement (no VAT) via
GET /v1/balance/top-ups/{topupId}/statement. Response includes format = pdf or page, plus pdfUrl/pageUrl (short-lived links).curl -sS -H "Authorization: Bearer $TOKEN" \
"https://api.zernio.com/v1/balance/top-ups/$TOPUP_ID/statement"Commerce order webhooks now include profiles
Order webhook payloads now include a profiles object so you can attribute events to the relevant Zernio profile(s).
DetailsHide details
profiles in WebhookPayloadCommerceOrder.Use
profiles to identify which Zernio profile(s) the event is associated with, which can help with routing and attribution when a store is connected across multiple profiles.Meta placementAssets now supports video IDs
You can now reuse existing Meta ad-account videos in placementAssets via defaultVideoId and rules[].videoId, avoiding re-uploads and supporting validateOnly for video placementAssets when using IDs.
DetailsHide details
placementAssets.defaultVideoId and placementAssets.rules[].videoId on POST /v1/ads/create (and POST /v1/ads/messaging).This lets you pin videos per placement without re-uploading (IDs win over URLs in the same slot), and enables
validateOnly for video placementAssets when every slot uses an existing video ID (no thumbnails).Use:
•
placementAssets.defaultVideoId - catch-all video from your ad account•
placementAssets.rules[].videoId - per-placement pinned video from your ad accountcurl -X POST "$BASE_URL/v1/ads/create" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{
"accountId":"...","adAccountId":"act_...",
"placementAssets": {"defaultVideoId":"123", "rules":[{"placements":{"publisherPlatforms":["facebook"],"facebookPositions":["story"]},"videoId":"456"}]}
}'Connect links can now be created via API
Create single-use, expiring links that let someone connect or reconnect a social account to your profile without needing a Zernio login.
DetailsHide details
POST /v1/platform-invites.This lets someone connect (or reconnect) a social account to one of your profiles without a Zernio login.
Key fields:
•
profileId (required)•
platform (required): facebook, instagram, linkedin, twitter, threads, tiktok, youtube, pinterest, reddit, bluesky, snapchat, googlebusiness•
accountId (optional) to generate a reconnect link•
loginMethod (Instagram only): instagram_login | facebook_login•
expiresInDays (optional, default 7, min 1, max 30)Response includes
invite.inviteUrl and invite.expiresAt.curl -X POST "$BASE_URL/v1/platform-invites" \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"profileId":"64f0a1b2c3d4e5f6a7b8c9d0","platform":"instagram","loginMethod":"facebook_login","expiresInDays":14}'Facebook accounts can now sync Meta ads
You can now toggle Meta ads syncing on a Facebook account using metaAdsSyncEnabled, and read the resulting setting back on accounts and account lists.
DetailsHide details
metaAdsSyncEnabled.When
metaAdsSyncEnabled=true, Zernio syncs Meta ads for the ad accounts the Facebook account can reach (similar to a metaads connection). The resulting setting is returned as metaAdsSyncEnabled on the account and in account lists.Notes:
• Facebook only (400
invalid_field_value on other platforms)• Turning on may return 403 (
reconnect_required, ads_addon_required, ads_allowance_exceeded)curl -X PUT "$BASE_URL/v1/accounts/$ACCOUNT_ID" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"metaAdsSyncEnabled":true}'Posts can now be filed under a profile
You can now set profileId when creating platform-less drafts, and list responses include posts[].profileId for those drafts to support profile-scoped draft workflows.
DetailsHide details
profileId when creating a post.This lets profile-scoped API keys and draft workflows keep platform-less drafts grouped correctly, and
GET /v1/posts now returns posts[].profileId for those drafts.Use
profileId in POST /v1/posts (ignored when platforms is set). Read posts[].profileId from GET /v1/posts.curl -X POST "$ZERNIO_API/v1/posts" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"isDraft":true,"content":"Draft idea","profileId":"64f0a1b2c3d4e5f6a7b8c9d0"}'Posts can be filed under a profile
You can now attach platform-less drafts to a profile via profileId, and reads include posts[].profileId so drafts list correctly under profile filters and profile-scoped keys.
DetailsHide details
profileId in post creation.This makes it possible to create platform-less drafts that still show up when listing posts by
profileId, and for profile-scoped API keys.Use
POST /v1/posts with isDraft=true and profileId (ignored when platforms is set). Reads from GET /v1/posts now include posts[].profileId for these drafts.curl -X POST "$ZERNIO_API/v1/posts" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"isDraft":true,"content":"Draft idea","profileId":"64f0a1b2c3d4e5f6a7b8c9d0"}'Call billing recordingSeconds removed; ad rule groups added
Call billing responses no longer include recordingSeconds, so integrations must stop reading it. Ads rules now support optional groups for evaluating campaigns together.
DetailsHide details
billing.recordingSeconds in call records.If your integration reads
recordingSeconds from call history or call detail responses, remove that dependency and rely on available cost fields like billing.recordingCostUSD, billing.billableCostUSD, and billing.totalCostUSD.Impacted responses:
•
GET /v1/calls, GET /v1/calls/{id}•
GET /v1/voice/calls•
GET /v1/whatsapp/callsAds rules now also support optional campaign grouping via
groups (returned on rules and in rule previews).curl -sS -H "Authorization: Bearer $TOKEN" \
"$BASE_URL/v1/calls?accountId=$ACCOUNT_ID&limit=1"Ad rules add month windows and calendar metrics
Ad rule conditions now support this_month/last_month windows plus day_of_month and working_day_of_month metrics, enabling calendar-aware holds and automations.
DetailsHide details
You can use
window values this_month and last_month, and new metric values day_of_month and working_day_of_month.Notes:
•
day_of_month / working_day_of_month read today in the ad account timezone (same value for every object)• They require
window: today and don’t support compareTo or op = top/bottomCall billing now returns recording seconds
Call history and call detail responses now include billing.recordingSeconds so you can see how many seconds were recorded and billed for each call.
DetailsHide details
recordingSeconds in call history and call detail responses.Use
billing.recordingSeconds to see how many seconds of a call were recorded and billed as recording, which can help reconcile recordingCostUSD vs total call duration.Returned in
billing on:•
GET /v1/whatsapp/calls•
GET /v1/voice/calls•
GET /v1/calls•
GET /v1/calls/{id}curl -G "https://api.zernio.com/v1/calls" \
-H "Authorization: Bearer $TOKEN" \
--data-urlencode "accountId=$ACCOUNT_ID" \
--data-urlencode "limit=50"Ad rules schedules now support quiet hours
You can now prevent ad rules from running during a daily quiet-hours window by setting schedule.quietHours when creating or updating a rule.
DetailsHide details
schedule.quietHours.Use it to define a daily window (in the ad account timezone) when a rule will not run; the window can wrap past midnight.
Set:
•
schedule.quietHours.from - HH:MM•
schedule.quietHours.to - HH:MMAd rules filters updated and budget level added
Ad rule filters changed (remove days_live) and a new budget_level filter is available. Actions now support maxChangesPerObject to limit repeated changes per object.
DetailsHide details
days_live filter is no longer supported, and filter typing/enums were updated.If you create or parse rules, update your integration to stop sending/expecting
{field: "days_live", op: ">="|"<", value: number} in filters.You can now filter by budget placement using
filters[].field = budget_level with op = equals and value = campaign or adset.Rule actions now also support
maxChangesPerObject (in addition to maxChangesPerDay) for pause, activate, duplicate, adjust_bid, edit_name, and adjust_budget.Top-up receipts now include invoice and receipt URLs
Receipt responses now include separate invoice and receipt links, and top-ups indicate whether an invoice exists so you can choose the right document to display or download.
DetailsHide details
invoiceUrl and receiptUrl on the receipt response.Use these to reliably fetch the exact document you need (invoice PDF vs card receipt page), instead of inferring from
format.New fields:
•
GET /v1/balance/top-ups/{topupId}/receipt adds invoiceUrl (nullable) and receiptUrl (nullable)• Top-ups now include
hasInvoice to indicate whether a Stripe invoice existscurl -s \
-H "Authorization: Bearer $ZERNI0_API_KEY" \
"https://api.zernio.com/v1/balance/top-ups/$TOPUP_ID/receipt"Ads rules filters now support IDs and days live
Ads rule filters can now target specific campaigns/ad sets/ads by platform IDs and filter by days_live, in addition to existing name/goal text matching.
DetailsHide details
filters[] for creating and reading rules.Alongside the existing name/goal text filters, you can now:
• Filter by platform IDs with
field = campaign_id | adset_id | ad_id, op = in | not_in, and values (string[])• Filter by age with
field = days_live, op = >= | <, and integer valueExisting text filters still use
field = name | campaign_name | adset_name | goal with op = contains | not_contains | equals | not_equals | starts_with.Webhooks now emit ad and campaign lifecycle events
You can now subscribe to and test new webhook events for ad and campaign creation/updates: ad.created, ad.updated, campaign.created, and campaign.updated.
DetailsHide details
ad.created, ad.updated, campaign.created, campaign.updated.You can subscribe to these via
POST /v1/webhooks/settings / PUT /v1/webhooks/settings, and you can generate sample payloads for them via POST /v1/webhooks/test using event.New payload schemas are available for these events:
WebhookPayloadAdCreated, WebhookPayloadAdUpdated, WebhookPayloadCampaignCreated, WebhookPayloadCampaignUpdated.curl -X POST "$BASE_URL/v1/webhooks/test" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"webhookId":"507f1f77bcf86cd799439011","event":"ad.created"}'Ad rules can reactivate manually paused objects
Activate actions on ad rules now accept includeManuallyPaused, letting rules reactivate objects that were paused manually (not only those paused by rules).
DetailsHide details
includeManuallyPaused.By default,
activate only reactivates objects that were paused by a rule. Set includeManuallyPaused to true to also reactivate objects that were paused manually as soon as they match.Applies to actions where
type is activate on ad rules create/read payloads.Ad rules add lifecycle alerts and bid adjustments
Ad rules now support lifecycle-based alerts (including new automation alert webhooks) and bid-cap adjustments. Update integrations that parse or validate ad rule actions due to breaking schema changes.
DetailsHide details
Breaking changes
• Ad rule
actions now include adjust_bid and may no longer match older oneOf shapes (some fields/enums were removed/narrowed). If you validate/deserialize actions, update your models to handle the new variants.•
AdRule now includes lifecycle (nullable) and POST/PATCH ad rule bodies accept lifecycle.New capabilities
• New endpoint to list a rule’s alert episodes:
GET /v1/ads/rules/{ruleId}/alerts with state = pending | open | resolved, plus limit and cursor pagination.• New webhook events:
automation.alert.opened, automation.alert.escalated, automation.alert.resolved (payload: WebhookPayloadAutomationAlert). You can also request these samples via POST /v1/webhooks/test.curl -sS -H "Authorization: Bearer $ZERNIO_API_KEY" \
"https://api.zernio.com/v1/ads/rules/$RULE_ID/alerts?state=open&limit=50"Ad rules add edit-name action and change action schema
Ad rule actions have a breaking schema change and now support an edit-name action. Activity logs and webhooks can include previousName/newName, and activity filtering supports type=edit_name.
DetailsHide details
type=adjust_budget in rule payloads/requests.If your integration reads or creates budget-change actions, update your parsing/validation to match the new action variants, and handle the new
type=edit_name action.Also updated:
•
GET /v1/ads/rules/activity filter type now includes edit_name (alongside pause, activate, adjust_budget, duplicate)• Activity entries and webhook payloads may include rename details:
previousName, newNamecurl -G "https://api.zernio.com/v1/ads/rules/activity" \
-H "Authorization: Bearer $TOKEN" \
--data-urlencode "type=edit_name" \
--data-urlencode "limit=50"Ad Rules activity can now be undone
You can now undo a prior ad rule change (pause, reactivation, or budget change) by activity entry, recording the undo as a new activity item with an applied/skipped/unknown status.
DetailsHide details
POST /v1/ads/rules/activity/{activityId}/undo.This records a new undo entry in the activity feed and attempts to revert a prior rule-applied pause, reactivation, or budget change. The undo can be refused with
409 (invalid_resource_state) if it was already undone or the object state has changed.Use
activityId from GET /v1/ads/rules/activity. The response includes undo.status: applied, skipped, or unknown (may return 202 when the platform doesn’t answer).curl -X POST \
"https://api.zernio.com/v1/ads/rules/activity/0123abcd0123abcd0123abcd-1/undo" \
-H "Authorization: Bearer $TOKEN"Ad rule templates now include goal
Ad rule templates now return a required goal value so you can categorize templates by intent (protect, scale, schedule, alert).
DetailsHide details
goal field in GET /v1/ads/rules/templates responses.Use
goal to understand what each template is intended for and to group/filter templates in your UI.goal is one of: protect, scale, schedule, alertcurl -s -H "Authorization: Bearer $TOKEN" \
"https://api.zernio.com/v1/ads/rules/templates"Ad rules now support object filters
You can now add filters to ad rules to narrow which campaigns or ad sets are evaluated, based on name or goal matching.
DetailsHide details
Use
filters (array, max 10) on create/update to match by text fields before conditions/actions run. Each filter has field, op, value.field: name, campaign_name, adset_name, goalop: contains, not_contains, equals, not_equals, starts_withcurl -X POST "$ZERNIO_API/v1/ads/rules" -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"name":"Pause test","accountId":"acc_123","adAccountId":"act_456","level":"campaign","filters":[{"field":"campaign_name","op":"contains","value":"test"}],"conditions":{...},"actions":{...}}'Nothing here breaks a working integration:
- Endpoints are versioned in the path (
/v1). - A breaking change ships only as a new path version.
- An operation is marked
deprecated: truein the OpenAPI spec before it goes.
Payment method required
What a 402 payment_required response means, which requests trigger it, and how the user adds a card without leaving the dashboard.
HubSpot, store orders and Wix blogs
Sync your inbox to HubSpot, read Shopify and WooCommerce orders in one format, publish to Wix, and four new Instagram endpoints.