> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ocoya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate social connection URL

> Generate a browser URL that starts the social network connection flow for a workspace.

## Parameters

| Name          | Type   | Required | Description                                                      |
| ------------- | ------ | -------- | ---------------------------------------------------------------- |
| `workspaceId` | string | Yes      | Workspace ID from `ocoya_list_workspaces`.                       |
| `provider`    | string | Yes      | One of `facebook`, `instagram`, `x`, `linkedin`, or `pinterest`. |

## Request example

```json theme={null}
{
  "name": "ocoya_generate_social_connection_url",
  "arguments": {
    "workspaceId": "cmayvq3hk00017apshay5qezu",
    "provider": "instagram"
  }
}
```

## Returns

Returns `url`.
