signup

startSignup

Begin an agent-driven sign-up to Stable Baseline. Anonymous-callable. Returns a verification_url and a 6-character user_code that the agent must show to the user. The user opens the URL in their browser, signs in or signs up if necessary, enters the code, and clicks Authorize. The agent meanwhile polls pollSignupStatus({device_code}) every poll_interval_seconds until the status changes to authorized, at which point it receives an api_key it can use for subsequent MCP calls. The whole flow has a 10-minute TTL.

post/tools/startSignup

Request

  • Base URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1
  • URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1/tools/startSignup
  • Auth: HTTP bearer

Request body

agent_labelstring

Self-identification of the calling agent (e.g. 'Claude Desktop', 'Cursor', 'Custom CLI'). Shown to the user on the confirmation page so they know what they're authorizing.

intent'mcp_setup'

Reason for the signup. Currently only 'mcp_setup' is supported.

desired_org_namestring

Optional hint for the org name to suggest if the user has no organisation yet. Ignored for users who already have an org.

Response

Tool result (shape varies per tool — refer to the tool's docs for the exact return value).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.