rsvp.atmo.space.invite.redeem

Redeem an invite token. The JWT issuer becomes a member of the space with the invite's perms.

Repository @atmo.rsvp did:plc:b63bmauox6z5rbibwrhxrdnw namespace authority
Details · procedure
Kindprocedure
Authorityinvite.space.atmo.rsvp
Indexed

Procedure

procedure · POST

Input

application/json

token

requiredstring

Output

application/json

perms

requiredstring
  • knownValues: read | write

spaceUri

requiredstring · at-uri

Errors

InvalidInvite

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Create an invite for a space. Caller must be the space owner. Returns the raw token once; only the hash is stored.

  • Redeem an invite from admin.createInvites: the caller joins the customers space with read access, and the address the invite went to is paired with the caller's account. Redeeming as an account that is already a customer succeeds and spends nothing. Any signed-in account may call this; the token is the authority.

  • Revoke an invite. Owner only. Invites are identified by their tokenHash (visible in list output).