DevelopmentApi
Accept organization invite
Accepts an organization invite token for the authenticated user and creates the related organization or workspace membership.
Accepts an organization invite token for the authenticated user and creates the related organization or workspace membership.
Authorization
patAuth PAT<token>
Personal Access Token
In: header
Request Body
application/json
inviteToken*string
Length
16 <= length[key: string]?never
Response Body
application/json
curl -X POST "https://loading/api/org-invites/accept" \ -H "Content-Type: application/json" \ -d '{ "inviteToken": "stringstringstri" }'{
"$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"
}Empty
Empty