POST
/
api
/
v1
/
social-account
/
connect
curl --request POST \
  --url https://api.bundle.social/api/v1/social-account/connect \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "type": "TIKTOK",
  "teamId": "<string>",
  "redirectUrl": "<string>",
  "serverUrl": "<string>"
}'
{
  "url": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
Body
type
enum<string>
required
Available options:
TIKTOK,
YOUTUBE,
INSTAGRAM,
FACEBOOK,
TWITTER,
THREADS,
LINKEDIN,
PINTEREST,
REDDIT,
DISCORD,
SLACK,
MASTODON
teamId
string
required
redirectUrl
string
required
serverUrl
string

Mastodon only

Response

200
application/json
200
url
string
required

OAuth URL - Redirect user to this URL to connect social account