register-temp

Register a New Organization

Completes registration from a verified registration token and logs the new user in: returns the access/id tokens and sets the refresh token as an httponly cookie. Two modes, by the request's organization field: a string (an existing org id) accepts that pending invite and joins the org; an object founds a new org with the user as its first admin. For email/password this also creates the auth0 identity. Temporary endpoint pending the proper registration flow.

post/v2/register-temp/register

Request

  • Base URL
    https://api.stuut.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

OR

Response

Successful Response

access_tokenstring required

Bearer access token for the new session.

expires_atstring required

ISO-8601 timestamp when the access token expires.

id_tokenstring nullable required

OIDC id token, if issued.

Changes

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