The invitation is kept in the organization's space where its PDS has spaces, else in its public records. Invited again, an invitation that lapsed starts over.
Input
application/jsonmember
stringdid
Required
The account to invite.
org
stringdid
Required
The organization.
role
string
Optional
Their role; member when absent.
maxLength: 64 bytesOutput
application/jsonfirst
boolean
Required
Whether this made the account an organization.
had
string
Optional
The role they had before, if they had one.
admin, memberorg
string
Required
The organization's handle, or its DID when none resolves back to it.
private
boolean
Required
Whether the invitation is in the organization's space, which only it and its members read; else in its public records.
role
string
Required
Their role now.
admin, memberwas
string
Optional
Where they stood before: invited, lapsed (invited over 7 days ago), or a public or hidden member. Absent when they were not invited.
invited, lapsed, public, hiddenwho
string
Required
The invitee's handle, or their DID when none resolves back to it.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "The invitation is kept in the organization's space where its PDS has spaces, else in its public records. Invited again, an invitation that lapsed starts over.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"member": {
"description": "The account to invite.",
"format": "did",
"type": "string"
},
"org": {
"description": "The organization.",
"format": "did",
"type": "string"
},
"role": {
"description": "Their role; member when absent.",
"knownValues": [
"admin",
"member"
],
"maxLength": 64,
"type": "string"
}
},
"required": [
"org",
"member"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"first": {
"description": "Whether this made the account an organization.",
"type": "boolean"
},
"had": {
"description": "The role they had before, if they had one.",
"knownValues": [
"admin",
"member"
],
"maxLength": 64,
"type": "string"
},
"org": {
"description": "The organization's handle, or its DID when none resolves back to it.",
"maxLength": 300,
"type": "string"
},
"private": {
"description": "Whether the invitation is in the organization's space, which only it and its members read; else in its public records.",
"type": "boolean"
},
"role": {
"description": "Their role now.",
"knownValues": [
"admin",
"member"
],
"maxLength": 64,
"type": "string"
},
"was": {
"description": "Where they stood before: invited, lapsed (invited over 7 days ago), or a public or hidden member. Absent when they were not invited.",
"knownValues": [
"invited",
"lapsed",
"public",
"hidden"
],
"maxLength": 64,
"type": "string"
},
"who": {
"description": "The invitee's handle, or their DID when none resolves back to it.",
"maxLength": 300,
"type": "string"
}
},
"required": [
"org",
"who",
"role",
"first",
"private"
],
"type": "object"
}
},
"type": "procedure"
}