Mint a short-lived workspace gate code

Requires a signed-in user session. The code is for Telegram, Discord or entitlement gate verification and does not create membership by itself.

post/workspaces/{slug}/join-code

Request

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

Path parameters

slugstring required

Request body

source'telegram' | 'discord' | 'entitlement' required
policyIdstring
ttl_secondsinteger

Response

Workspace join code

codestring required
sourcestring required
subject_typestring required
subject_idstring required
expires_atstring date-time required
nextstring required

Changes

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