Create Social Connection
Social
Create Social Connection
Create a social account linking URL.
POST
Create Social Connection
Creates a new social connection setup flow and returns it as
connect_url.
After the user completes the setup flow, call GET /social/connections to find the new social_connection_id.
Each setup flow creates one connected account slot. To connect another account on the same platform, create another social connection. If the organization cannot create another connection, the request returns an error and no setup URL is created.
Request
Body Parameters
| Field | Type | Required | Description |
|---|---|---|---|
platform | string | Yes | One of: x, linkedin, instagram, facebook, tiktok, youtube. |
connection_name | string | No | Friendly label for the connection during setup. |
redirect_url | string (url) | No | Override the post-connect redirect URL. |