Create a connect link
POST/:workspaceUuid/accounts/connect-links
Creates a single-use link (valid 15 minutes) to connect a new account on an OAuth network to this workspace: ask the user to open it in their browser while logged in to PostBoost, wait until they confirm, then call list-accounts to get the new account id.
The link signs no one in: only the user who created it, while a workspace admin, can use it.
Telegram, Discord and Slack need no browser: connect them with connectChannel. Mastodon,
Pixelfed and Bluesky ask for a server or handle first, so the user connects them in the app.
Workspace admins only; at most 10 links per minute.
Request
Responses
- 201
- 401
- 403
- 422
- 429
Link created. The URL is shown only once.
Missing or invalid API token.
Access denied. Returned when the caller is not a member of the workspace, lacks the role
the endpoint needs, or the workspace's plan does not include API access (capability api).
Validation failed.
Too many connect links in the last minute.