invites

Create a shareable JOIN code (org_admin). It always expires: `expiresAt` or `expiresInDays`, default 14 days, at most 365

post/api/orgs/{orgId}/invite-codes

Request

  • Base URL: https://api.wizbi.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.wizbi.ai/api/orgs/{orgId}/invite-codes
  • Auth: none declared

Path parameters

orgIdstring required

Request body

maxUsesinteger
expiresAtstring date-time
expiresInDaysinteger
role'org_admin' | 'member'
groupsstring[]

Response

Created.

idstring required
orgIdstring required
codestring required
role'org_admin' | 'member'
groupIdsstring[]
maxUsesinteger
usesinteger
expiresAtstring date-time
revokedAtstring date-time
createdBystring required
createdAtstring date-time required

Changes

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