Z
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…
Z
Webhooks now support Ads ad set lifecycle events.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"}'
Z
Media validation responses changed: 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…
Z
Meta catalog ads created via 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…
Z
Default behaviors changed for ad creation requests on 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…
Z
Automations are now available via the API: you can create and manage ad rules, event automations, and scheduled post automations, plus preview/backtest ad rules and track runs/actions.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…
Z
HubSpot settings now support 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…
Z
Ad rules now support new action types 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…
Z
Conversion events can now be tied to an ad campaign via 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…
Z
YouTube posts now support setting video language metadata via 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…
Z
Meta standalone creatives now support 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…
Z
You can now override the Instagram actor when creating Meta standalone creatives via instagramAccountId on POST /v1/ads/creatives.Use this to force which Instagram account the creative runs as (mapped to Meta instagram_user_id) instead of relying on the Page-linked default.Set instagramAccountId to an id from GET /v1/ads/instagram-accounts. If the ad account can’t use it, the request fails with 400 on instagramAccountId.curl -X POST "$BASE_URL/v1/ads/creatives" \ -H "Authorization: Bearer…
Z
Campaign listing and the campaign tree now support 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"
Z
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"
Z
Meta ad creation now supports safer recovery from Meta 5xx responses via 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•…
Z
Balance auto-recharge settings are now available via the API.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…
Z
Several endpoints now document an explicit 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…
Z
Top-up tax previews now include country in the 200 response of POST /v1/balance/top-ups/preview.Use country (two-letter code) to see which country Stripe Tax placed the tax in based on the billing address. It can be null when Stripe Tax returned no address.curl -X POST "$BASE_URL/v1/balance/top-ups/preview" \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{"amountCents":500}'
Z
Ledger entry 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:…
Z
Top-ups no longer have a card fee, and 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…
Z
Commerce order webhooks now include 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.
Z
Meta placement-customized creatives now support reusing existing videos via 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•…
Z
You can now create single-use connect links with 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,…
Z
Facebook accounts can now enable Meta ads sync directly on the posting account via 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…
Z
Drafts with no platforms can now be filed under a profile via 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…
Z
Drafts with no platforms can now be filed under a specific profile using 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:…
Z
Call billing no longer includes 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…
Z
Ad rules now support month-based windows and calendar-based metrics in conditions.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/bottom
Z
Call billing now includes 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…
Z
Ad rules schedules now support quiet hours via 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:MM