# veryfront__create_api_key

Create an API key and return its secret once.

Risk: credential\_bearing.

## Arguments

| Name                | Type   | Required | Description                                                                                                                                                                                              |
| ------------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name`              | string | Yes      | Name for the API key                                                                                                                                                                                     |
| `project_reference` | string |          | Project ID or slug. Creating a project-scoped key requires project.api\_keys.manage. Omit for a user-level key; a project-scoped API-key caller retains its enforced project when this field is omitted. |
| `expires_at`        | string |          | Expiration date in ISO 8601 format                                                                                                                                                                       |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__create_api_key",
    "arguments": {
      "name": "<name>"
    }
  }
}
```
