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.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Body
application/jsonWhat every request needs
Account API key from the Whop dashboard.
Your Zernio profile ID
Optional parameters2 fields
Optional state passthrough for the connect flow.
Optional URL to redirect to after successful connection, echoed back as redirectUrl.
Responses
Success· the request worked
Errors· the request failed
Connect Webflow with a site API token
Connects one Webflow site using a site API token. Zernio checks the token's scopes, reads its site, and stores the token encrypted. Create the token in the site's Site settings > Apps & integrations > API access, with Sites read-only and CMS read and write access. ### What it supports Webflow is a connect-only blog platform: each CMS collection with a rich text field is a blog in the Blogs API (`/v1/accounts/{accountId}/blogs`). It does not support social posts, inbox, analytics or ads. - Publishing an article needs a site that has been published once. - Reconnecting the same site and profile updates the connection in place.
Get Wix site install URL
Returns the Wix installer link for the Zernio app. ### Flow 1. The user picks one of their Wix sites there and approves the app. 2. Wix returns the browser to Zernio's internal callback, which connects that site. 3. The callback redirects to `redirect_url` (or the dashboard when omitted). ### What the account supports 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.