The Backend OrganizationInvitation object
The Backend OrganizationInvitation object is similar to the OrganizationInvitation object as it's the model around an Organization invitation. However, the Backend OrganizationInvitation object is different in that it's used in the Backend API and is not directly accessible from the Frontend API.
Properties
- Name
-
emailAddress - Type
string- Description
The email address of the user who is invited to the
Organization.
- Name
-
organizationId - Type
string- Description
The ID of the
Organizationthat the user is invited to.
- Name
-
privateMetadata - Type
- OrganizationInvitationPrivateMetadata
- Description
Metadata that can be read and set only from the Backend API.
- Name
-
publicMetadata - Type
- OrganizationInvitationPublicMetadata
- Description
Metadata that can be read from the Frontend API and Backend API and can be set only from the Backend API.
- Name
publicOrganizationData?.has_image- Type
boolean- Description
Whether the Organization has a profile image.
- Name
publicOrganizationData?.id- Type
string- Description
The unique identifier for the resource.
- Name
publicOrganizationData?.image_url?- Type
string- Description
Holds the default Organization profile image. Compatible with Clerk's Image Optimization.
- Name
publicOrganizationData?.name- Type
string- Description
The name of the Organization.
- Name
publicOrganizationData?.object- Type
ObjectType- Description
The type of the resource.
- Name
publicOrganizationData?.slug- Type
string- Description
The slug of the Organization.
- Name
-
role - Type
string- Description
The Role of the invited user.
- Name
-
roleName - Type
string- Description
The name of the Role of the invited user.
Feedback
Last updated on