admin

Create a firm's organisation and invite its first admin (operators only)

Two WorkOS calls, in this order: the organisation, then the invitation (role admin unless named). An invitation that fails after the organisation was made answers the failure with the organisation's id, and POST /v1/admin/firms/{org}/invitations finishes the job. Sends no email: the answer carries the sentence to send by hand and the download url.

post/v1/admin/firms

Request

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

Request body

namestring required
admin_emailstring required
role'admin' | 'billing' | 'member'

Response

The organisation and its first invitation.

download_urlstring required
messagestring required

Changes

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