Skip to content
Product Docs

Invites

List Invites
client.Invites.ListMine(ctx, query) (*PaginatedCursor[Invite], error)
GET/api/v2/invites
Decline Invite
client.Invites.Decline(ctx, inviteID) error
DELETE/api/v2/invites/{invite_id}
Accept Invite
client.Invites.Accept(ctx, inviteID) (*InviteAcceptResponse, error)
POST/api/v2/invites/{invite_id}/accept
ModelsExpand Collapse
type Invite struct{…}

A pending invitation visible to the invitee.

ID string

The invite’s unique identifier.

OrganizationID string

The organization the user is invited to.

OrganizationName string

The organization’s display name.

Role string

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

CreatedAt TimeOptional

Creation datetime

formatdate-time
UpdatedAt TimeOptional

Update datetime

formatdate-time