---
title: "List all SSO claim mappings"
method: GET
path: "/v1/sso-claim-mapping"
tags: ["SSO Claim Mappings"]
---

# List all SSO claim mappings

`GET /v1/sso-claim-mapping`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/sso-claim-mapping`
- Auth: none declared

Returns all configured SSO claim-to-role mappings for the organization

## Response `200`

List of claim mappings retrieved successfully

- ReadSsoClaimMapping[]
  - `claimKey` string, required: JWT claim key to match
  - `claimValue` string, required: JWT claim value to match
  - `createdAt` string, date-time, required: When the mapping was created
  - `id` string, required: Unique identifier of the claim mapping
  - `roles` SsoClaimMappingRole[], required: Organization roles to assign when claim matches
    - `id` string, required: Role identifier
    - `name` string, required: Role name
  - `teamAssignments` TeamAssignment[], required: Team assignments to apply when claim matches
    - `role` 'LEADER' | 'MEMBER', required: The role within the team
    - `teamId` string, required: The ID of the team
    - `teamName` string: Team name (response-only, enriched by server)
  - `updatedAt` string, date-time, required: When the mapping was last updated

## Other responses

- `403`: Insufficient permissions

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
