create_connect_session
Creates a short-lived dashboard handoff session to connect a social account, returns a secure connection URL for the user, and lets you poll account status as they complete the browser flow.
Instructions
Create a short-lived posterly dashboard handoff session for connecting a social account. Send the secure connection URL to the user, then poll list_accounts with view=connect_session to narrate progress. Do not ask for social media passwords or OAuth codes; posterly handles those browser steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | When true, include the raw connect session JSON for debugging. Keep false for normal user-facing agent flows. | |
| platform | Yes | Connection target such as instagram, meta, linkedin_page, twitter, google_business, telegram, bluesky, discord, mastodon, devto, hashnode, wordpress, or lemmy. | |
| auto_start | No | When true, the dashboard starts the provider flow after the user opens the URL. Defaults to true. | |
| workspace_id | No | Workspace to connect the account into. Workspace-scoped API keys ignore this. |