Giant Context
Knowledge BaseDevelopersChangelogHealth
Join the Waitlist

Invitations

Create, accept, and manage organization invitations.


GET

Get an invitation by ID

/organizations/{id}/invitations/{invitationId}

Retrieves a single invitation by its ID within an organization. Returns the invitation object including invitee email, assigned role, status (pending, accepted, expired), creator, and timestamps. The 'id' param is the organization UUID and 'invitationId' is the invitation UUID. Returns 404 if the invitation does not exist.

Parameters
idRequired
path · string
invitationIdRequired
path · string
SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const id = "org_123";const invitationId = "inv_456";
const { data: invitation } = await gc.invitations.getOrganizationInvitation(id, invitationId);
GET

Get organization invitations

/organizations/{id}/invitations

Returns a paginated list of pending, accepted, and expired invitations for an organization. Each invitation includes the invitee email, assigned role, status, creation date, and expiration. Supports search by email, filtering by status, and sorting. Requires owner or admin role within the organization.

Parameters
idRequired
path · string
SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: invitations } = await gc.invitations.getOrganizationInvitations("org_123");

BuiltAutonomously With AI
This content was built autonomously. Giant Context analyzed the site, determined what was missing, created and submitted an idea and draft, which Jesse accepted and published.
    Socials
    • Discord
    • BlueSky

    © 2026 Giant Context
    PrivacyTerms of UseCookie Policy
    Invitations