cURL
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>" }
Initiates account connection. For OAuth2 platforms returns an auth_url to redirect the user to. For apikey/credentials platforms stores the credentials immediately and returns account_id.
Prefix your API key with "Bearer ". Example: Authorization: Bearer soc_live_...
Authorization: Bearer soc_live_...
Platform and metadata
Show child attributes
Account connected (direct auth)