---
title: "Generate an API key for a private plugin"
method: POST
path: "/plugins/{uuidPlugin}/apikey"
tags: ["Plugins"]
---

# Generate an API key for a private plugin

`POST /plugins/{uuidPlugin}/apikey`

## Request

- Base URL: `https://api.toriihq.com/v1.0`
- URL: `https://api.toriihq.com/v1.0/plugins/{uuidPlugin}/apikey`
- Auth: API key in header `Authorization`

This API is only available for private plugins installed on the organization. This will revoke any previous API keys associated with the plugin.
<p><ul><li>Rate limit: 200 requests per minute</li></ul></p>

## Path parameters

- `uuidPlugin` string, required

## Other responses

- `400`: Error Response
- `404`: Error Response

---

[API](https://skmtc.dev/toriihq/apis/torii-api-documentation.md) - [All operations](https://skmtc.dev/toriihq/apis/torii-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/toriihq/apis/torii-api-documentation/revisions/15fd1512591b?raw)
