Generates a browser authorization URL for connecting a new social account to a project.
This endpoint is useful for multi-user integrations where your application lets your own users, clients, or brands connect their social accounts to WoopSocial without giving them access to your WoopSocial account.
A common flow is:
projectId, the target platform,
and a redirectUrl in your application.url in your user’s browser.redirectUrl
with result query parameters.projectId and socialAccountIds from the redirect, or call
GET /social-accounts?projectId=..., to store or confirm the connected account
in your application.When redirectUrl is provided, the browser is redirected back to that URL after
the OAuth callback is handled.
On success, WoopSocial appends these query parameters to redirectUrl:
status=successprojectId: the project identifier from the requestplatform: the connected social platformsocialAccountIds: comma-separated connected social account identifiers. This may contain one or more IDs depending on the platform OAuth flow.On failure, WoopSocial appends these query parameters to redirectUrl:
status=errorprojectId: the project identifier from the requestplatform: the requested social platformerror: an OAuth callback error codeIf the OAuth callback state is missing or expired, WoopSocial cannot safely
determine the original redirectUrl, so the callback returns an HTTP error
instead of redirecting.
The redirect never includes OAuth tokens or credentials.
Documentation Index
Fetch the complete documentation index at: https://docs.woopsocial.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Project identifier.
Identifies which social media platform this data structure targets.
PINTEREST, LINKEDIN, LINKEDIN_PAGES, INSTAGRAM, FACEBOOK, TIKTOK, X, YOUTUBE, WOOPTEST Optional URL in your application to return the browser to after OAuth completes.
Use this for multi-user integrations where your users connect their own social accounts through your app. WoopSocial appends OAuth result query parameters to this URL so your app can finish the connection flow.
The redirect does not include tokens or credentials.
"https://app.example.com/oauth/complete"
OAuth authorization URL created.
Browser URL that starts the OAuth authorization flow.