---
title: "Get the customization template for an OIDC subject claim for an organization"
method: GET
path: "/orgs/{org}/actions/oidc/customization/sub"
tags: ["oidc"]
---

# Get the customization template for an OIDC subject claim for an organization

`GET /orgs/{org}/actions/oidc/customization/sub`

Gets the customization template for an OpenID Connect (OIDC) subject claim.

OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.

## Path parameters

- `org` string, required

## Response `200`

A JSON serialized template for OIDC subject claim customization

- OidcCustomSub — Actions OIDC Subject customization
  - `include_claim_keys` string[], required — Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.
  - `use_immutable_subject` boolean — Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format.

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
