Create a workspace invite code

Requires invite:write/member:write token scope or owner/admin member role. The raw code is returned once; SuperSkill stores only a hash.

post/workspaces/{slug}/invites

Request

  • Base URL: https://superskill.sh/api
  • URL: https://superskill.sh/api/workspaces/{slug}/invites
  • Auth: HTTP bearer

Path parameters

slugstring required

Request body

role'member' | 'viewer'
maxUsesinteger
expiresInSecondsinteger
emailstring email

Response

Workspace invite code

codestring
shareUrlstring uri

Crawler-visible workspace preview URL. The raw invite code is present only in the URL fragment.

nextstring

Changes

No recorded changes to this operation across all 1 revision of this API.