Connect account

Computes a five-minute browser authorization URL bound to the authenticated profile without connecting or changing an account. Open the returned URL in a separate browser step to authorize the provider; then list accounts to verify connection. Depending on platform, the browser uses provider OAuth or a PostOnce-hosted credential or signer flow. Never enter provider credentials in chat.

post/v1/accounts/connect/{platform}

Request

  • Base URL: https://postonce.to/api/public
  • URL: https://postonce.to/api/public/v1/accounts/connect/{platform}
  • Auth: HTTP bearer

Path parameters

platform'bluesky' | 'facebook' | 'farcaster' | 'nostr' | 'telegram' | 'instagram' | 'linkedin' | 'pinterest' | 'reddit' | 'snapchat' | 'threads' | 'tiktok' | 'twitter' | 'vimeo' | 'youtube' required

Social platform to connect.

Response

Account connection URL created successfully.

Example response

{
  "data": {
    "hosted_url": "https://postonce.to/dashboard/accounts?connect=twitter&source=public_api",
    "authorization_url": "https://www.tiktok.com/v2/auth/authorize/?client_key=...",
    "mode": "oauth_authorization_url",
    "platform": "twitter"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.