Z
Salesforce integrations now support Opportunity-based conversion reporting and Salesforce upserts in workflows.You can now toggle:• useOpportunitiesInResults — count closed-won Opportunities as sales in campaign results/ad rules (also backfills last 90 days)• reportOpportunitiesToAds — send newly closed-won Opportunities as Purchase events (source salesforce) to event destinationsWorkflows add a new node type salesforce_upsert_contact (nodes[].type enum now includes salesforce_upsert_contact)…
Z
WhatsApp hosted signup can now enforce the exact phone number being connected via expectedPhoneNumber on GET /v1/connect/{platform}.When using platform=whatsapp with signup=hosted, set expectedPhoneNumber (E.164) to ensure the user can only connect that number; picking a different number ends the flow with 409 NUMBER_MISMATCH and nothing is saved.expectedPhoneNumber is ignored on non-hosted flows, and ignored for Zernio-provisioned numbers.curl -G "https://api.zernio.com/v1/connect/whatsapp" \…
Z
IMAP discovery can now return a new unsupportedReason value: forwarding_only.This indicates the domain only forwards email (e.g., Cloudflare Email Routing) and does not store mail, so users should connect the destination mailbox it forwards to.When route is unsupported, check unsupportedReason:• proton_requires_bridge• forwarding_only
Z
HubSpot settings now support contact defaults and expose contact sync issues.Use contactDefaults to provide required HubSpot contact properties when Zernio creates new contacts (keyed by HubSpot internal property name). The response now includes syncIssue when HubSpot refuses contact creation due to missing required properties.Key fields:• contactDefaults (object map) — replaces the whole map; send {} to clear• syncIssue.code = REQUIRED_CONTACT_PROPERTIES• syncIssue.properties — required…
Z
Salesforce is now supported as a connected CRM account.You can start an OAuth connect flow (authorization code + PKCE) and then read/update what Zernio syncs to the connected org (person creation, message logging, delivery marks, and whether new people become lead or contact).New endpoints:• GET /v1/connect/salesforce with profileId, optional environment (production | sandbox), optional redirect_url• GET /v1/accounts/{accountId}/salesforce-settings• PATCH …
Z
HubSpot settings now support delivery status logging via logDeliveryStatus.When enabled, Zernio updates the HubSpot timeline entry for each logged outgoing WhatsApp/SMS/RCS message as it’s delivered, read, or fails (including failure reason/code). Only applies while logMessages is on.Use:• logDeliveryStatus - boolean (defaults to true)curl -X PATCH "$BASE_URL/v1/accounts/$ACCOUNT_ID/hubspot-settings" \ -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \ -d…
Z
You can now fetch all open ad rule alerts for an ad account in one call via GET /v1/ads/rules/alerts.This returns only open alerts across every rule on the specified ad account, newest first. Each alert includes ruleId so you can trace it back to the rule.Required query params:• accountId (ads connection)• adAccountId (platform ad account ID)Pagination:• limit (1–100, default 50)• cursor (use nextCursor)curl -G "https://api.zernio.com/v1/ads/rules/alerts" \ -H "Authorization: Bearer $TOKEN" \…
Z
Events now include pairedEventId in the response.This helps identify the other stored copy of the same conversion when both a website tag (web) and a server send stored it under different event ids (same event name, shared identifier, within 30 minutes).Use pairedEventId (string|null) to de-duplicate or cross-reference events in GET /v1/events. Note: it is always null when fetching a single event via GET /v1/events/{eventId}.
Z
Tracking sites now support serving the tag from your own domain via a proxy using proxyPath.Set proxyPath on a site (e.g. /zt) to have the snippet load from your first domain (e.g. https://<domain>/zt/z.js). The site response now includes proxy with path and a secret used to sign what your proxy forwards; set proxyPath to null to remove it.Key fields:• Request: proxyPath (pattern ^/[A-Za-z0-9_-]{1,32}$)• Response: site.proxy.path, site.proxy.secretcurl -X PATCH…
Z
WhatsApp phone-number selection in the headless connect flow now supports sending the OAuth token via X-Temp-Token (instead of tempToken in query/body), and adds connectFlow for the Zernio-hosted picker.For GET and POST /v1/connect/whatsapp/select-phone-number, tempToken is now optional as long as you provide one of: tempToken, X-Temp-Token, or connectFlow.Use X-Temp-Token to avoid putting tokens in URLs (query strings often end up in logs).curl -X GET "$B…
Z
Ad rule preview can now return 409 when keyword/search-term rules are still loading daily history from Google.If you call POST /v1/ads/rules/{ruleId}/preview while history is loading, you may receive 409 with error code history_loading. The error message indicates how many days have been loaded so far; retry later.curl -X POST "$ZERNIO_API/v1/ads/rules/$RULE_ID/preview" \ -H "Authorization: Bearer $TOKEN"
Z
LinkedIn organization lookup now accepts the OAuth temp token via header X-Temp-Token on GET /v1/connect/linkedin/organizations.You can now avoid putting tokens in the query string. The tempToken query parameter is now optional when X-Temp-Token is provided.Use either:• X-Temp-Token (preferred)• tempToken (query)curl -G "https://api.zernio.com/v1/connect/linkedin/organizations" \ -H "X-Temp-Token: $TEMP_TOKEN" \ --data-urlencode "orgIds=12345678,87654321"
Z
LinkedIn organization lookup now accepts the OAuth temp token via header X-Temp-Token on GET /v1/connect/linkedin/organizations.You can keep using tempToken in the query string, but it’s now optional if you send X-Temp-Token (preferred to avoid tokens in URLs/logs).Use either:• X-Temp-Token (header)• tempToken (query)curl -G "https://api.zernio.com/v1/connect/linkedin/organizations" \ -H "X-Temp-Token: $TEMP_TOKEN" \ --data-urlencode "orgIds=12345678,87654321"
Z
Ad rule run results now include evaluation.unreadObjects on AdRuleRun.This helps explain “no match” runs by reporting how many objects couldn’t be evaluated because a condition value couldn’t be read (for example, not enough historical data to compute a usual baseline).Use evaluation.unreadObjects (integer) when evaluation is present to distinguish “nothing matched” from “couldn’t evaluate some objects”.
Z
Ad rules and automations now support Google Ads keywords and search terms as rule subjects.Use level / subjects.each with keyword or search_term. Keyword and search term rules are Google-only; keyword rules can notify and pause, while search term rules are notify-only.New filter fields are available for these subjects, including match_type (EXACT/PHRASE/BROAD), plus search-term-only search_term_status and blocked_by_negative.If you consume ad_rule.triggered webhooks or rule run history, note…
Z
Automation checks and ad rule runs now return additional outcome values: daily_limit and paused.Use these to distinguish between runs that matched but hit maxChangesPerDay (daily_limit) vs runs that didn’t execute due to free-run/payment-method limits (paused, see error).Applies to:• GET /v1/automations/{automationId}/checks → checks[].outcome• GET /v1/ads/rules/{ruleId}/runs → runs[].outcome
Z
Instagram Stories insights now include link sticker taps via linkClicks.You can read linkClicks in:• GET /v1/accounts/{accountId}/instagram/stories when includeExpired=true (under data[].metrics.linkClicks)• GET /v1/accounts/{accountId}/instagram/stories/{storyId}/insights (under data.metrics.linkClicks)Note: Meta reports linkClicks for Facebook Login accounts only; it will be 0 for Instagram Login accounts.curl -s \ "https://api.zernio.com/v1/accounts/$AC…
Z
WhatsApp template listing can now return 429 when Meta rate-limits template reads for a WABA.When this happens, the response includes a Retry-After header (seconds) indicating when to retry.Handle:• 429 - back off and retry after Retry-Aftercurl -i "https://api.zernio.com/v1/whatsapp/templates?accountId=acc_123" \ -H "Authorization: Bearer $TOKEN"
Z
Auto top-up settings validation is now stricter when updating the rule.When calling PATCH /v1/balance/auto-recharge:• toCents now has a minimum of 1000 (at least $10)• belowCents now has a maximum of 9999500If you send values outside these bounds, the request will fail with 400.curl -X PATCH "$BASE_URL/v1/balance/auto-recharge" \ -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \ -d '{"belowCents":500,"toCents":1000}'
Z
Action required: GET /v1/usage metering responses changed the shape of scope when projecting onto a profile.If you use metering mode with profileId, scope is now a UsageProfileRef object (includes profileId and externalId) instead of a profile-only object. Update any response parsing that assumes scope is just { profileId }.New: you can now scope metering by externalId (set on profiles) via externalId, and attribution groups for groupBy=profile now include profileId and externalId.curl -sS -H…
Z
Enabling SMS on a phone number can now return 409 when the number is a Zernio number that isn’t active yet or was released.This lets you distinguish an invalid_resource_state from other failures and retry only after the number becomes active.New response:• 409 - number not active yet or released (code: invalid_resource_state)curl -X POST "$ZERNIO_API/v1/phone-numbers/$ID/sms" \ -H "Authorization: Bearer $API_KEY"
Z
LINE account health now reports webhook status via lineWebhook in GET /v1/accounts/{accountId}/health.This lets you detect when a LINE channel is connected but not delivering inbound events (webhooks turned off or pointing elsewhere) and surface actionable guidance to reconnect or fix settings.Key fields:• lineWebhook.active: false when Webhooks are off in LINE settings; null when LINE couldn’t be read• lineWebhook.destination: zernio | another_zernio_account | other | missing | null•…
Z
Added GET /v1/ads/rules/hourly-windows to check if an ad account supports hourly windows for ad rules.Hourly windows (last_complete_hour, last_3h, today_so_far) only work on some Meta and Google ad accounts; on unsupported accounts, hourly conditions evaluate as unknown and won’t match.Query with accountId and adAccountId; response returns hourlyWindows (boolean).curl -G "https://api.zernio.com/v1/ads/rules/hourly-windows" \ -H "Authorization: Bearer $TOKEN" \ --data-urlencode…
Z
Calendar event listing can now return partial window slices when the provider can’t answer for the full requested range.On a degraded read, the response includes partial: true plus coveredFrom / coveredTo to show what portion of your requested window this page covers. Continue paging with pagination.nextCursor until it’s null, and merge results by id (slice edges may duplicate).curl -G "https://api.zernio.com/v1/calendar/events" \ -H "Authorization: Bearer $TOKEN" \ --data-urlencode…
Z
Calendar event reminders have changed: each reminders.overrides[] entry must now include minutes when creating or updating events.You can also set reminders.overrides[].method to popup (default) or email. Google supports up to 5 overrides; Outlook keeps only the first popup override and rejects email with 400 reminder_method_unsupported.minutes is now validated to be between 0 and 40320.curl -X POST "$BASE_URL/v1/calendar/events" \ -H "Authorization: Bearer $TOKEN" -H "Content-Type:…
Z
Microsoft email accounts now report how Sent Items are synced via sentItemsSync on account health, and capabilities.sentItems on analytics accounts.This helps you detect when Outlook can’t provide a Sent Items subscription and Zernio falls back to polling (higher latency) vs push delivery.Key values:• sentItemsSync: push | poll (Microsoft only)• capabilities.sentItems.mode: push | poll (+ typicalDelaySeconds)
Z
Email folder listing now returns a cached result when the provider doesn’t respond, instead of failing.When this happens, the response includes stale (true) and asOf (timestamp of the cached read). A matching X-Zernio-Stale-As-Of header is also returned on stale responses.curl -s -H "Authorization: Bearer $TOKEN" \ "https://api.zernio.com/v1/email/folders?accountId=$ACCOUNT_ID"
Z
GET /v1/calendar/events can now return a cached (stale) event list when the calendar provider doesn’t answer, instead of failing.In this case the response includes stale: true and asOf, and the X-Zernio-Stale-As-Of header is set to the same timestamp.Key fields:• stale - present only on a stale list• asOf - when the stale list was last read from the providercurl -sS -H "Authorization: Bearer $TOKEN" \ "https://api.zernio.com/v1/calendar/events?emailAccount…
Z
Workflow runs and sequence enrollments can now return 403 when a team has exceeded its free monthly automation runs without a payment method.Handle 403 with code automation_runs_allowance_exceeded on:• POST /v1/workflows/{workflowId}/executions• POST /v1/workflows/{workflowId}/trigger• POST /v1/sequences/{sequenceId}/enrollAutomation checks also add a new outcome value: paused (the check did not run; see error for details). This appears in GET automation checks and the…
Z
Added Get WeChat server config for connected WeChat Official Accounts.Use GET /v1/accounts/{accountId}/wechat-server-config to retrieve the Server Configuration values for Safe mode: server.url, server.token, server.encodingAESKey, and server.encryptionMode (safe). AppSecret is never returned.Requires write access; read-only team members, read-only API keys, and OAuth access tokens receive 403.curl -sS -H "Authorization: Bearer $ZERNIOTOKEN" \ "https://api…