Create invite codes.
Input
Encoding
application/jsoncodeCount
integer
Required
No description provided.
forAccounts
array
Optional
No description provided.
useCount
integer
Required
No description provided.
Output
Encoding
application/jsoncodes
array
Required
No description provided.
Try It
Direct PDS XRPC methods (com.atproto.*) are disabled in Try It for security reasons.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"codeCount",
"useCount"
],
"properties": {
"useCount": {
"type": "integer"
},
"codeCount": {
"type": "integer",
"default": 1
},
"forAccounts": {
"type": "array",
"items": {
"type": "string",
"format": "did"
}
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"codes"
],
"properties": {
"codes": {
"type": "array",
"items": {
"ref": "#accountCodes",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"description": "Create invite codes."
}