DevelopmentApi
Accept organization invite by id
Accepts a pending organization invite by its identifier for the authenticated user without requiring the raw invite token payload.
Accepts a pending organization invite by its identifier for the authenticated user without requiring the raw invite token payload.
Authorization
patAuth PAT<token>
Personal Access Token
In: header
Path Parameters
inviteId*string
Response Body
application/json
curl -X POST "https://loading/api/org-invites/string/accept"{
"$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