Valyourise Logo

ValYouRise

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.

POST
/api/org-invites/{inviteId}/accept

Accepts a pending organization invite by its identifier for the authenticated user without requiring the raw invite token payload.

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