# Manage API keys

Source: https://developer.nylas.com/docs/reference/api/manage-api-keys/

The Manage API Keys endpoints let you create, list, and delete API keys from your Nylas application outside of the Nylas Dashboard.

## Nylas Service Account

<div id="admonition-warning">⚠️ <b>Before you can use the Manage API Keys endpoints, you need to create a Nylas Service Account</b>. If you have a contract with us, you can <a href="/docs/support/#contact-nylas-support">contact Nylas Support</a> for more information.</div>

After Nylas Support creates a Service Account for your application, they send you a JSON file with the following information:
</br></br>

```json
{
  "type": "service_account",
  "private_key_id": "<API_KEY_GUID>",
  "private_key": "<API_KEY_SECRET>",
  "organization_id": "<ORGANIZATION_GUID>",
  "region": "us"
  "permissions": ["apikey.create", "apikey.delete", "apikey.get"]
}
```

You use the information in this file to generate the headers that sign your requests (for example, the `X-Nylas-Signature` header uses your private key's RSA, a 2048-bit key, and an SHA-256 hashed string of the path, method, timestamp, nonce, and payload.). Be sure to [store this information securely](/docs/dev-guide/best-practices/#store-secrets-securely).


## Endpoints

- **GET** `/v3/admin/applications/{application_id}/api-keys` - [Get all API keys](https://developer.nylas.com/docs/reference/api/manage-api-keys/get-api-keys/)
- **POST** `/v3/admin/applications/{application_id}/api-keys` - [Create API key](https://developer.nylas.com/docs/reference/api/manage-api-keys/create-api-key/)
- **GET** `/v3/admin/applications/{application_id}/api-keys/{api_key_id}` - [Get API key](https://developer.nylas.com/docs/reference/api/manage-api-keys/get-api-key/)
- **DELETE** `/v3/admin/applications/{application_id}/api-keys/{api_key_id}` - [Delete API key](https://developer.nylas.com/docs/reference/api/manage-api-keys/delete-api-key/)
