FruxonDocs
UsersCore

Create the current user's account.

The console's sign-up page calls this once the person is back from their identity provider. It makes the account, records the Terms acceptance the sign-up page asked for, and returns the profile. The only call that makes an account. Safe to repeat: for a caller who already has an account it creates nothing and returns their profile.

POST
/v1/users/me:signUp
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Header Parameters

X-Mixpanel-Anonymous-Id?string

Optional Mixpanel anonymous distinct_id captured by the browser SDK before sign-in, aliased into the new person's profile when this call creates it.

Response Body

curl -X POST "https://api.fruxon.com/v1/users/me:signUp"
{
  "id": "string",
  "username": "string",
  "email": "string",
  "firstName": "string",
  "lastName": "string",
  "avatarFileId": "string",
  "status": "INVITED",
  "role": "ADMIN",
  "effectiveScopes": [
    "string"
  ],
  "canCreateWorkspace": false,
  "canChooseCell": false,
  "canCreatePersonalWorkspace": false,
  "solutionPartners": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "string",
      "role": "ADMIN",
      "status": "APPLIED",
      "canProvision": false
    }
  ],
  "staffRole": "SUPPORT",
  "identityProviderIssuer": "string",
  "createdAt": 0,
  "modifiedAt": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}