Skip to main content
Use custom UI when you want full control over account connection screens. You generate an OAuth URL, redirect the user, handle the callback, fetch the saved social account, and call channel endpoints when a platform needs a selected target. Endpoint: POST /api/v1/social-account/connect Test it in Swagger or the API Reference Client.
Response:
Redirect the user to url.

Connect Body

These are the available body fields for the custom flow.

Supported Types

TIKTOK, YOUTUBE, SNAPCHAT, INSTAGRAM, FACEBOOK, TWITTER, THREADS, LINKEDIN, PINTEREST, REDDIT, MASTODON, DISCORD, SLACK, BLUESKY, GOOGLE_BUSINESS

Platform-Specific Options

For Facebook and Instagram via Facebook, ask users to select all Pages and Instagram accounts they manage in Meta OAuth. Then call set-channel for the one target this team should use.

Basic Flow

  1. Call POST /api/v1/social-account/connect.
  2. Redirect the user to the returned url.
  3. Handle the callback query parameters on your redirectUrl.
  4. Fetch the social account with GET /api/v1/social-account/by-type.
  5. If socialAccount.channels contains selectable targets, show them in your UI.
  6. Call POST /api/v1/social-account/set-channel when required.
Snapchat connects the Public Profile returned by OAuth and does not need channel selection. Connect social account flow

Fetch The Connected Account

Use this after the callback to inspect the connection and available channels. Endpoint: GET /api/v1/social-account/by-type Query:
If the platform needs channel selection, read socialAccount.channels and call Set Channel.

Helper Endpoints

These endpoints are useful in a full custom UI. Channel details live in Channel Management. Callback query parameters live in Callback Parameters.