Get Wix site install URL
Returns the Wix installer link for the Zernio app. The user picks one
of their Wix sites there and approves the app; Wix then returns the
browser to Zernio's internal callback, which connects that site and
redirects to redirect_url (or the dashboard when omitted). Wix is a
connect-only blog platform: the connected account powers the Blogs
API (/v1/accounts/{accountId}/blogs) and does not support social
posts, inbox, analytics or ads. The site needs the Wix Blog app.
Access tokens renew by themselves; removing the Zernio app from the
site in Wix disconnects the account.
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
Your Zernio profile ID (get from /v1/profiles).
Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as myapp://callback; relative and unsafe URLs return 400.
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.connect.getWixConnectUrl({ query: { profileId: 'profile_abc123', },});console.log(data);{ "authUrl": "http://example.com", "state": "string"}Connect a Whop account
Connect a Whop account with an Account API key from the Whop dashboard (Developer > API keys). The key only has to be able to read its own account: Zernio calls `GET /accounts/me` once to learn the account id (`biz_...`) and name, then stores the key. What the connection unlocks today is the Whop Pixel through the tracking-tags API: the account id is the pixel, so `GET /v1/accounts/{accountId}/tracking-tags` lists it and `POST .../tracking-tags/{biz_...}/install` puts it on a Shopify store or WordPress site. Whop campaigns are not managed through Zernio. One Whop account per profile.
List posts
Returns a paginated list of posts. Published posts include platformPostUrl with the public URL on each platform. A query parameter that is not listed here returns 400 naming it and the accepted parameters, so a misspelled filter never silently returns the unfiltered list.