---
title: "Create a new api key"
method: POST
path: "/apikey"
tags: ["Authentication"]
---

# Create a new api key

`POST /apikey`

Create a new api key with the specified parameters. The new key is returned

## Query parameters

- `role` 'ADMIN' | 'FINANCE' | 'SALES' | 'DEAL_DESK' | 'BILLING_CLERK' | 'REVENUE_CLERK' | 'READ_ONLY' | 'EXECUTIVE' | 'CRM' | 'IMPORT'
- `expiry` integer
- `userId` string
- `entityId` string

## Response `200`

successful operation

- string

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/versions/c30f5b9fbfab/schema)
