DevelopmentApi
Create organization invite
Creates a pending organization invite for an email address and returns the one-time invite token used by the onboarding flow.
Creates a pending organization invite for an email address and returns the one-time invite token used by the onboarding flow.
Authorization
patAuth PAT<token>
Personal Access Token
In: header
Path Parameters
orgId*string
Request Body
application/json
email*string
Match
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailworkspaceRole?string
Value in
"workspace_admin" | "workspace_user"workspaceId?string
expiresInHours?integer
Range
1 <= value <= 336[key: string]?never
Response Body
application/json
curl -X POST "https://loading/api/orgs/string/invites" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }'{
"invite": {
"$id": "string",
"organizationId": "string",
"email": "user@example.com",
"normalizedEmail": "string",
"inviteTokenHash": "string",
"status": "pending",
"workspaceRole": "workspace_admin",
"workspaceId": "string",
"invitedByUserId": "string",
"expiresAt": "string",
"acceptedByUserId": "string",
"acceptedAt": "string"
},
"inviteToken": "string",
"organizationId": "string"
}Empty
Empty
Create organization POST
Creates a new organization, provisions its backing Appwrite team, and assigns the current user as the initial organization admin.
Create org scrape job POST
Creates a new organization scrape job, validates concurrency constraints, and attempts to enqueue the background function.