# UserApiKey

One of the calling user's API keys. The secret is shown only once, when the key is created.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `id` | `uuid` | The key's id. |
| `name` | `string` | The name given to the key when it was created. |
| `dateCreated` | `datetime` | When the key was created, in UTC. |
| `dateExpires` | `datetime \| null` | When the key stops working, in UTC; null if it never expires. |

## Example

```json
{
  "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "name": "...",
  "dateCreated": "2026-10-26T12:00:00.0000000Z",
  "dateExpires": "2026-10-26T12:00:00.0000000Z"
}
```

## Where it's used

- [`apiKeys.list`](https://docs.maitento.com/reference/api/api-keys.md) (`GET /users/self/api-keys`)
