OrganizationInvite
All pending and accepted invites for the workspace.
Table-Specific Information
SELECT
Retrieve Linear OrganizationInvite records:SELECT * FROM OrganizationInvite LIMIT 1
INSERT
To insert an OrganizationInvite record:INSERT INTO OrganizationInvite (email, role) VALUES ('[email protected]', 'member')
DELETE
To delete an OrganizationInvite record:DELETE FROM OrganizationInvite WHERE id = 'feb9ca65-ee57-4edd-818a-76b43a0e60f4'
Columns
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False |
The unique identifier of the entity. |
| createdAt | Datetime | True |
The time at which the entity was created. |
| updatedAt | Datetime | True |
The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn't been updated after creation. |
| archivedAt | Datetime | True |
The time at which the entity was archived. Null if the entity has not been archived. |
| String | False |
The email address of the person being invited to the workspace. | |
| role | String | False |
The workspace role (admin, member, guest, or owner) that the invitee will receive upon accepting the invite. |
| external | Bool | True |
Whether the invite was sent to an email address outside the workspace's verified domains. |
| acceptedAt | Datetime | True |
The time at which the invite was accepted by the invitee. Null if the invite is still pending. |
| expiresAt | Datetime | True |
The time at which the invite will expire and can no longer be accepted. Null if the invite does not have an expiration date. |
| metadata | String | False |
Extra metadata associated with the invite. |
| inviterId | String | True |
The user who created the invitation. |
| inviteeId | String | True |
The user who has accepted the invite. Null, if the invite hasn't been accepted. |