Skip to content
Product Docs

Invites

List Invites
invites.list_mine(InviteListMineParams**kwargs) -> SyncPaginatedCursor[Invite]
GET/api/v2/invites
Decline Invite
invites.decline(strinvite_id)
DELETE/api/v2/invites/{invite_id}
Accept Invite
invites.accept(strinvite_id) -> InviteAcceptResponse
POST/api/v2/invites/{invite_id}/accept
ModelsExpand Collapse
class Invite:

A pending invitation visible to the invitee.

id: str

The invite’s unique identifier.

organization_id: str

The organization the user is invited to.

organization_name: str

The organization’s display name.

role: str

The role being granted (e.g. admin, viewer).

created_at: Optional[datetime]

Creation datetime

formatdate-time
updated_at: Optional[datetime]

Update datetime

formatdate-time
class InviteAcceptResponse:

Response for accepting an invitation.

organization_id: str

The organization the user just joined.