Skip to main content
POST
/
social-accounts
/
authorization-url
Generate OAuth URL
curl --request POST \
  --url https://api.woopsocial.com/v1/social-accounts/authorization-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": "<string>",
  "platform": "PINTEREST",
  "redirectUrl": "https://app.example.com/oauth/complete"
}
'
{
  "url": "<string>"
}

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
projectId
string
required

Project identifier.

platform
enum<string>
required

Identifies which social media platform this data structure targets.

Available options:
PINTEREST,
LINKEDIN,
LINKEDIN_PAGES,
INSTAGRAM,
FACEBOOK,
TIKTOK,
X,
YOUTUBE,
WOOPTEST
redirectUrl
string<uri>

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.

Example:

"https://app.example.com/oauth/complete"

Response

200 - application/json

OAuth authorization URL created.

url
string<uri>
required

Browser URL that starts the OAuth authorization flow.