Skip to content
Docs

Make a connect link

POST
/api/workspaces/{ws}/connect-links

A signed link that connects a tool (or, with connectionId, reconnects one) in one click, for anyone in the workspace who can add tools. Post it in chat. It works for 24 hours.

Authorization

session
cookiebetter-auth.session_token<token>

Set by POST /api/auth/sign-in/email.

Path Parameters

ws*string

The workspace id (from GET /api/me).

Request Body

application/json
  1. body
type*string
Length1 <= length <= 40
connectionId?string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
why?string
Lengthlength <= 300

Response Body

{ url, label, expiresAt }.

application/json
Example Request
curl -X POST 'https://app.useroster.work/api/workspaces/string/connect-links' \  -H 'Content-Type: application/json' \  -d '{  "type": "string"}'
Example Response
{  "url": "https://roster.example.com/connect/eyJ3cyI6…",  "label": "Connect Linear",  "expiresAt": "2026-11-04T09:00:00.000Z"}