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

# CreateCompanyApiKeyInput

> A new company API key. It gets no more than the calling key has: only capability groups the calling key holds, only workspaces it can reach, and no later expiry.



**Kind**: `input`

## Fields

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

The key's name, unique among the company's active company API keys.

---

**`capabilityGroups`**: `[ApiKeyCapabilityGroup!]!` (required)

What the key may do. Each group must be one the calling key holds.

---

**`workspaceUids`**: `[String!]!` (required)

The uids of the workspaces the key can reach. Each must be one the calling key can reach.

---

**`expiresAt`**: `DateTime`

When the key stops working. Required when the calling key expires, and no later than it; leave it out for a key that never expires.



## Related topics

- [Administration API: API keys](https://docs.paradime.io/developers/graphql-api/admin-api/api-keys.md)
- [Administration API: Conventions](https://docs.paradime.io/developers/graphql-api/admin-api/conventions.md)
- [Administration API](https://docs.paradime.io/developers/graphql-api/admin-api/index.md)
- [Onboard a workspace with the API](https://docs.paradime.io/guides/set-up-and-configure/onboard-a-workspace-with-the-api.md)
- [API Keys](https://docs.paradime.io/developers/api-keys.md)


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