---
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.

---

[API](https://skmtc.net/github/apis/ghes.md) · [All operations](https://skmtc.net/github/apis/ghes/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/ghes/revisions/5438365412fe/schema)
