DeveloperAPI ReferenceInvitesRegister
/api/invites/register
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/invites/register" \ -H "Content-Type: application/json" \ -d '{ "token": "string", "username": "string", "password": "stringst" }'{
"success": true,
"user": {
"id": "string",
"username": "string",
"displayName": "string",
"role": "admin"
},
"token": "string",
"expiresAt": "string",
"role": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}