Create an invite for a space. Caller must be the space owner. Returns the raw token once; only the hash is stored.
Input
Encoding
application/jsonexpiresAt
integer
Optional
Unix ms timestamp. Omit for no expiry.
maxUses
integer
Optional
Omit for unlimited uses.
minimum: 1note
string
Optional
No description available.
maxLength: 500 bytesperms
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
Encoding
application/jsoninvite
refrsvp.atmo.space.defs#inviteView
Required
No description available.
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.
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."
}