rsvp.atmo.space.invite.create

atmo.rsvp

Documentation

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

main procedure

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

Input

Encodingapplication/json
expiresAt integer Optional

Unix ms timestamp. Omit for no expiry.

maxUses integer Optional

Omit for unlimited uses.

minimum: 1
note string Optional

No description available.

maxLength: 500 bytes
perms string Optional

No description available.

spaceUri stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

Output

Encodingapplication/json
token string Required

Raw token. Shown once — cannot be retrieved later.

Errors

NotFound
Forbidden
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "spaceUri"
      ],
      "properties": {
        "note": {
          "type": "string",
          "maxLength": 500
        },
        "perms": {
          "type": "string",
          "default": "write",
          "knownValues": [
            "read",
            "write"
          ]
        },
        "maxUses": {
          "type": "integer",
          "minimum": 1,
          "description": "Omit for unlimited uses."
        },
        "spaceUri": {
          "type": "string",
          "format": "at-uri"
        },
        "expiresAt": {
          "type": "integer",
          "description": "Unix ms timestamp. Omit for no expiry."
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "NotFound"
    },
    {
      "name": "Forbidden"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "token",
        "invite"
      ],
      "properties": {
        "token": {
          "type": "string",
          "description": "Raw token. Shown once — cannot be retrieved later."
        },
        "invite": {
          "ref": "rsvp.atmo.space.defs#inviteView",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Create an invite for a space. Caller must be the space owner. Returns the raw token once; only the hash is stored."
}

Lexicon Garden

@