Zernio's OAuth redirect target
Where Zernio sends the browser after a connect. On success it appends `connected`, `profileId`, `accountId` and `username`; the route records the account on the caller's profile and redirects to the dashboard. On failure it appends `error` and `platform` (plus optional `error_message`, `is_user_fixable`, `reason`, `dashboard_url`, `missing_scopes`, `error_reason`, `platform_error*`). **This route is public**: it is Zernio's server, not the user's browser, that follows the redirect, and there is no session on that request. The caller's identity comes from the `state` Zernio echoed back from the connect URL, and the account id is scoped to the caller's own Zernio profile, so a forged callback can only ever write an account onto the profile whose key created it.
Where Zernio sends the browser after a connect. On success it appends connected, profileId, accountId and username; the route records the account on the caller's profile and redirects to the dashboard. On failure it appends error and platform (plus optional error_message, is_user_fixable, reason, dashboard_url, missing_scopes, error_reason, platform_error*). This route is public: it is Zernio's server, not the user's browser, that follows the redirect, and there is no session on that request. The caller's identity comes from the state Zernio echoed back from the connect URL, and the account id is scoped to the caller's own Zernio profile, so a forged callback can only ever write an account onto the profile whose key created it.
Response Body
text/html
application/json
application/json
curl -X GET "https://example.com/social/connect/callback""string"Start connecting a social account POST
Asks Zernio for an OAuth URL for one platform and returns it. The dashboard opens `authUrl` in a new tab; Zernio redirects back to `/social/connect/callback` with `connected`, `profileId`, `accountId` and `username` appended. The platform slugs are Zernio's own: `facebook`, `instagram`, `linkedin`, `twitter`, `tiktok`, `youtube`, `threads`, `reddit`, `pinterest`, `bluesky`, `googlebusiness`, `telegram`, `snapchat`, `discord`, `slack`, `whatsapp`.
Disconnect a social account DELETE
Disconnects one account in the caller's own Zernio account and drops it from the stored list. An account that is not on the caller's profile answers the same 404 as one that does not exist. Zernio keeps its own record of the disconnect and bills the freed slot accordingly.