putty
API ReferenceArtifacts

Start connecting a social account

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`.

POST
/social/connect/{platform}

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.

Authorization

bearerAuth
AuthorizationBearer <token>

A bearer token. The Account routes accept a Privy access token; the MCP transport accepts an sk- API key issued by POST /account/api-keys.

In: header

Path Parameters

platform*string

Zernio's platform slug to connect.

Request Body

application/json

The connect request body. Omit the body entirely to use the default profile.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/social/connect/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "authUrl": "string",  "profileId": "string"}