> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/apikey/_create.md).

# \_create

Creates an API Key for the requested user account.

### Parameters

#### user\_id

The ID of the user this API key is for.

#### description

A note for yourself describing the purpose of the key.

### Example

```
FM_api('ApiKey_create',	['user_id' => '32', 'description' => 'This is a test key.']);
```

### Result

#### On Success

```
{'ok':1,'md5':'2ffebac1124270b02ef3ecb71583455f','id':15}
```

The result will contain the created key's MD5 and ID.
