> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateScopedApiKeyInput

> Input for creating a new API key



**Kind**: `input`

## Fields

**`description`**: `String`

Optional description for the API key

---

**`displayName`**: `String!` (required)

The display name for the new API key

---

**`environmentId`**: `UUID!` (required)

The unique identifier for the environment

---

**`scopes`**: `[ApiKeyScopeInput!]!` (required)

Input for defining API key scope permissions, valid only for scoped keys



## Related topics

- [createScopedApiKey](https://docs.stigg.io/graphql-reference/mutations/createScopedApiKey.md)
- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [API Keys](https://docs.stigg.io/documentation/managing-your-account/environments/api-keys.md)
- [ApiKeyScopeInput](https://docs.stigg.io/graphql-reference/types/ApiKeyScopeInput.md)
- [ApiKeyScope](https://docs.stigg.io/graphql-reference/types/ApiKeyScope.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.