The one URL the human opens to connect a social account: {platform}. Lasts 15 minutes, works only signed in as this account; the platform's own OAuth follows.

post/api/connections/link

Request

  • Base URL: https://shapelessai.com
  • URL: https://shapelessai.com/api/connections/link
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://shapelessai.com/api/auth/mcp/authorize, token URL https://shapelessai.com/api/auth/mcp/token, scopes: write)

Request body

platformstring required

A platform id from GET /api/platforms with oauth: true.

Response

OK

platformstring required
urlstring uri required

Hand this to the human; opens in a browser.

expiresAtstring date-time required
openstring

What to tell the human.

Changes

No recorded changes to this operation across all 2 revisions of this API.