platform

Create an Auth0 user and add them to an organization.

Requires editor on the members-users module instance (derived from the POST method by the parent router gate). The user is created natively in Auth0 (database connection + invite / Change Password email), added to the target organization, and the matching user → member → organization FGA tuple is written so the dock's authorization view stays in lockstep with Auth0.

When groupId is provided the user is also added to the specified group.

post/api/platform/users

Request

  • Base URL
    https://app.gocrisp.com (the document declares no server; this is the origin it was published from)
  • URL
    https://app.gocrisp.com/api/platform/users
  • Auth
    OAuth 2
    Authorization code: https://login.gocrisp.com/authorize
    Token URL: https://login.gocrisp.com/oauth/token

Request body

emailstring required
organizationIdstring required
namestring nullable
passwordstring nullable
groupIdstring nullable
groupIdsstring[]

Response

Successful response, including any rejected FGA tuple operations.

userIdstring required
emailstring nullable
namestring nullable
picturestring nullable
loginCountinteger
lastLoginstring nullable
createdAtstring nullable
emailVerifiedboolean nullable
needsInvitationboolean nullable
inviteEmailStatus'sent' | 'unconfirmed' | 'failed'

Whether Auth0's logs confirm a Change Password email was queued.

POST /dbconnections/change_password returns 200 even when no mail is sent. sent means a later scpr log; unconfirmed means Auth0 accepted the call but no scpr/fcpr log appeared; failed means Auth0 rejected the call or logged fcpr.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the request property