Your Zernio key
X, Instagram, Facebook, LinkedIn, YouTube, Threads, Pinterest and Google Business run on your own Zernio account: add its API key once, and the same POST /v1/posts, analytics, comments and messages work there.
Why your own key
Zernio is a posting service with approved apps for each of those networks. With your own key, the accounts live in your Zernio account, under Zernio’s terms, and Zernio bills them to you: its first 2 accounts are free. postpeg doesn’t resell Zernio or add a margin on top, and accounts on your key don’t count toward your postpeg plan’s account limit.
Create a Zernio key
- Sign up at zernio.com.
- Open Settings → API keys and create a key. Copy it; Zernio shows it once.
- Analytics, comments and direct messages on those networks need Zernio’s analytics or inbox add-on on your Zernio plan. Publishing doesn’t.
Add it to postpeg
In the dashboard: Accounts → Other networks. Or with the API:
PUT/v1/zernio-key
curl -X PUT https://api.postpeg.com/v1/zernio-key \
-H "Authorization: Bearer $POSTPEG_KEY" \
-H "Content-Type: application/json" \
-d '{
"api_key": "sk_live_…"
}'{
"connected": true,
"last4": "9f2c",
"checked_at": "2026-10-01T09:12:40.000Z"
}postpeg checks the key with Zernio before saving it, stores it encrypted, and only ever shows its last 4 characters. GET /v1/zernio-key returns the same status.
Connect accounts
With a key saved, POST /v1/accounts/connect works for every network, exactly as described in profiles and accounts. The owner approves access on the network’s own screen, which names Zernio’s app, since the connection is made in your Zernio account. TikTok never needs a key.
Replace or remove it
- A new key from the same Zernio account keeps every account working.
- A key from another Zernio account, or
DELETE /v1/zernio-key, marks the accounts connected with the old keyreconnect_required; their scheduled posts fail until they’re reconnected. - A key Zernio rejects later (revoked, or the plan lapsed) fails the post once, with the reason, and flags the account. Add a valid key and reconnect.
Errors
Connecting a network without a key saved:
{
"type": "https://postpeg.com/errors/zernio_key_required",
"title": "Zernio key required",
"status": 409,
"detail": "Instagram runs on your own Zernio account. Create one at zernio.com (the first 2 accounts are free), then add its API key with PUT /v1/zernio-key.",
"code": "zernio_key_required",
"request_id": "8f14e45f-ceea-467a-9575-1f2a5c3e6b0d"
}