Introducing Dench MCP
Unkey logo

Integrate Unkey with your AI CRM

Unkey provides API key management, authorization, rate limiting, usage analytics, and related platform APIs.

Explore Triggers and Actions

Add Key Roles

Add existing roles to a customer API key without removing its current roles or direct permissions.

ActionTry it

Consume Multiple Rate Limits

Irreversibly consume quota for up to 100 independent Unkey rate limits. Every namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect the aggregate passed value and every item's passed value because exceeded limits still return HTTP 200.

ActionTry it

Consume Rate Limit

Irreversibly consume quota for one identifier in an existing Unkey rate-limit namespace. The namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect success rather than the HTTP status.

ActionTry it

Create API

Create an API namespace for organizing and issuing customer API keys.

ActionTry it

Create API Key

Create a customer API key in an API namespace and return its one-time plaintext key value. Roles must already exist in the workspace. Handle the returned key as a secret; add direct permissions afterward with CREATE_OR_ADD_KEY_PERMISSIONS.

ActionTry it

Create Existing-Key Portal Session

Create an end-user portal session with key read, key reroll, and analytics access for existing keys, then return its single-use redirect URL. This action does not grant the keys:create capability.

ActionTry it

Create Identity

Create an identity that groups customer API keys under one external entity with shared metadata and rate limits.

ActionTry it

Create or Add Key Permissions

Create any missing workspace permissions for the supplied slugs, reuse existing workspace permissions, and attach all supplied slugs directly to a customer API key without removing existing direct or role-based access.

ActionTry it

Create Permission

Create an RBAC permission with a unique slug for assignment to roles or customer API keys.

ActionTry it

Create Portal

Create a keyspace-backed customer portal for free API Management. This action does not create portals backed by paid Compute apps. The provider marks this endpoint as unreleased and subject to change.

ActionTry it

Create Portal Domain

Attach a custom domain to an Unkey portal, start asynchronous DNS verification, and return the records that must be published.

ActionTry it

Create Rate Limit Namespace

Create a named rate-limit namespace and return the rlns_ namespace ID used by quota inspection and consumption tools.

ActionTry it

Create Role

Create an RBAC role without attaching or creating permissions.

ActionTry it

Create Role and Permissions

Create an RBAC role, create any missing workspace permissions for the supplied slugs, reuse existing workspace permissions, and attach all of them to the new role.

ActionTry it

Get API

Retrieve an API namespace by its API ID.

ActionTry it

Get API Key

Retrieve metadata, status, permissions, roles, and usage settings for a customer API key by key ID. This action never requests or returns plaintext key material.

ActionTry it

Get API Request Metrics

Count requests served by the Unkey API for the connected workspace per time bucket, split into successful, client-error, and server-error totals.

ActionTry it

Get Identity

Retrieve an identity by its Unkey identity ID or external ID.

ActionTry it

Get Permission

Retrieve one RBAC permission by its permission ID or slug.

ActionTry it

Get Portal

Retrieve one customer portal by portal ID, slug, keyspace ID, or app ID; provide exactly one selector. The provider marks this endpoint as unreleased and subject to change.

ActionTry it

Get Portal Domain

Retrieve one portal custom domain, including its verification status and required DNS records.

ActionTry it

Get Rate Limit Override

Retrieve one rate-limit override by namespace and its exact identifier pattern.

ActionTry it

Get Role

Retrieve one RBAC role and its assigned permissions by role ID or name.

ActionTry it

Get Workspace Flags

Get feature flags for the connected workspace, keyed by flag slug, including each flag's current value and opt-in or opt-out availability.

ActionTry it

Get Workspace Limits

Return every workspace plan limit and its current usage where available.

ActionTry it

Get Workspace Usage

Return billable API operations, Compute usage, and active gateway keys for the current UTC month or one requested recent calendar month.

ActionTry it

Identify API Key

Identify a customer API key from its complete plaintext value and return the key's metadata, status, permissions, roles, usage settings, and identity.

ActionTry it

Inspect Multiple Rate Limits

Inspect up to 100 independent Unkey rate limits with cost zero. This does not consume quota, but Unkey still tracks each non-idempotent check. Every namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect the aggregate passed value and every item's passed value because exceeded limits still return HTTP 200.

ActionTry it

Inspect Rate Limit

Inspect quota for one identifier in an existing Unkey rate-limit namespace with cost zero. This does not consume quota, but Unkey still tracks the non-idempotent check. The namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect success rather than the HTTP status.

ActionTry it

List API Keys

List one page of customer API keys in an API namespace, optionally filtered by external identity. Plaintext key values are never requested.

ActionTry it

List API Requests

List one page of recent Unkey API requests for the connected workspace, newest first. The required request and response header/body fields are returned as local redaction placeholders so log-read access cannot expose application payloads or response credentials.

ActionTry it

List Identities

List one page of identities in the connected Unkey workspace, optionally filtering by identity ID or external ID.

ActionTry it

List Permissions

List one page of RBAC permissions in the connected Unkey workspace, optionally filtering by permission text.

ActionTry it

List Portal Domains

List all custom domains attached to one Unkey portal, including each domain's verification status and required DNS records.

ActionTry it

List Portal Sessions

List one page of end users with revocable sessions on a portal, including pending and active sessions. This administration operation authenticates with the connected workspace root key, not a portal session cookie. The provider marks this endpoint as unreleased and subject to change.

ActionTry it

List Rate Limit Namespaces

List one page of readable rate-limit namespaces in the connected Unkey workspace, newest first, with optional text search.

ActionTry it

List Rate Limit Overrides

List one page of custom rate-limit overrides configured in a namespace, including each identifier pattern, request limit, and window duration.

ActionTry it

List Roles

List one page of RBAC roles and their assigned permissions in the connected Unkey workspace, optionally filtering by role ID, name, or description.

ActionTry it

Query Rate Limit Analytics

Run a read-only SQL query against Unkey rate-limit analytics for the connected workspace. This action only queries the rate-limit dataset.

ActionTry it

Query Verification Analytics

Run a read-only SQL query against Unkey key-verification analytics for the connected workspace. This action only queries the key-verification dataset.

ActionTry it

Verify and Consume API Key

Verify a customer API key while explicitly consuming a positive number of credits and any requested rate-limit quota. Inspect valid and code because an HTTP success can still report a failed verification.

ActionTry it

Verify Portal Domain

Restart asynchronous DNS verification for a pending or failed portal domain after correcting its records. This request is safe to retry; an already verified domain is accepted without starting another workflow.

ActionTry it

Verify, Migrate, and Consume API Key

Verify a customer API key using a provider-configured on-demand migration that may create or migrate a missing legacy key. This operation consumes the requested positive credit cost and any explicit rate-limit costs. Inspect valid and code because HTTP success can still mean invalid.

ActionTry it

How the Unkey integration works

The Unkey integration connects Dench directly to Unkey, so agents can read and act on your Unkey data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

43 actions are available for agents to invoke on your behalf. Every call runs through Unkey's own authorization, scoped to the account you connect.

Set up Unkey in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Unkey and click Connect — you'll authorize access through Unkey's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Unkey in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Unkey integration work with Dench?

The Dench Unkey integration connects your AI CRM to Unkey, so AI agents can work with your Unkey data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Unkey via Dench?

The Unkey integration currently exposes 43 actions, including Add Key Roles, Consume Multiple Rate Limits, Consume Rate Limit, Create API, Create API Key, and Create Existing-Key Portal Session. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Unkey to Dench?

No. You connect Unkey from your Dench workspace using Unkey's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Unkey integration secure?

Connections are authorized through Unkey's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Unkey connection from your workspace settings at any time.