# UserApiCreateResponse

A new API key. The secret is returned only here: store it now, as it can't be read again.

**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, used to revoke it. |
| `secret` | `string` | The key's secret. Authenticate with `Authorization: ApiKey <your user id> <secret>`. |

## Example

```json
{
  "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "secret": "..."
}
```

## Where it's used

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