Skip to main content
POST
/
accounts
/
connect
Connect a social account
curl --request POST \
  --url https://api.social-api.ai/v1/accounts/connect \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "metadata": {},
  "platform": "<string>"
}
'
{
  "account_id": "<string>",
  "platform": "<string>",
  "username": "<string>"
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer soc_live_...

Body

application/json

Platform and metadata

metadata
object
platform
string

Response

Account connected (direct auth)

account_id
string
platform
string
username
string