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"
}
'
{
  "url": "<string>"
}

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

Social platform supported by WoopSocial.

Available options:
PINTEREST,
LINKEDIN,
LINKEDIN_PAGES,
INSTAGRAM,
FACEBOOK,
TIKTOK,
X,
YOUTUBE

Response

200 - application/json

OAuth authorization URL created.

url
string<uri>
required

Browser URL that starts the OAuth authorization flow.