Get the link to connect an account
A link that opens the sign-in of that network and connects the account to this workspace. The person who opens it needs no cut.pro account, so you can hand it to your own clients: create one workspace per client (POST /workspaces) and ask for the link with that workspace's X-Workspace-Id.
When the person finishes, the browser goes to return_url with status (connected or error), platform, connection_ids (comma separated, more than one when a Facebook login grants several Pages), code on errors and your state untouched. Without return_url they land on cut.pro.
A link works once and expires in 24 hours. Pass connection_id to reconnect an account whose access was revoked, keeping its id and scheduled posts.
apiKeyX-Api-Key<token>- body
platform*string"youtube""youtube""tiktok""instagram""bluesky""threads""linkedin""pinterest""facebook""twitch""kick""discord"return_url?stringWhere the person is sent when done. https, or http on localhost while you test.
urilength <= 2048state?stringAnything you need back on return_url, such as your own client id. Returned as state.
length <= 512connection_id?stringReconnect this connection instead of adding a new account.
length <= 24Response for status 200
application/json- response
url*stringexpires_at*stringcurl -X POST 'https://api.cut.pro/api/v1/connections/link' \ -H 'Content-Type: application/json' \ -d '{ "platform": "youtube"}'{ "url": "string", "expires_at": "string"}List connections GET
Returns the active social connections in this workspace: the IDs you pass as `connection_id` when creating a post. Each entry includes the platform, public profile info (username, avatar, bio) and the latest captured audience metrics (followers, posts, likes). Revoked or disconnected accounts are excluded.
Get a connection GET
Returns a single connection by ID, with the latest captured audience metrics.