Manage app-level membership and access.
Get an app member by ID
/organizations/{id}/projects/{projectId}/apps/{appId}/members/{memberId}Retrieves the full details of a specific app member by their membership ID. Returns the member's user profile information (name, email, avatar) along with their assigned role within the app and membership timestamps.
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: appMember } = await gc.appMembers.getAppMember({ id: "id", projectId: "projectId", appId: "appId", memberId: "memberId"});Get members of an app
/organizations/{id}/projects/{projectId}/apps/{appId}/membersReturns a paginated list of all members who have been explicitly assigned roles at the app level. Each member entry includes the user's profile information (name, email, avatar) and their assigned role within the app. This is separate from organization-level or project-level membership; only users with direct app-level role assignments are returned.
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: appMembers } = await gc.appMembers.getAppMembers({ id: "id", projectId: "project-id", appId: "app-id"});