Sokko

Use Unkey with Sokko.

Connect Unkey and tell Sokko what to do. It runs the actions you ask for and reacts to what happens. No workflows, no code.
Works with 1,000+ tools · No code required
Actions

Everything Sokko can do in Unkey

Every Unkey action Sokko can run. Ask for one in a sentence and it's done.

Add Key Roles

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

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.

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.

Create API

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

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.

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.

Create Identity

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

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.

Create Permission

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

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.

Create Portal Domain

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

Create Rate Limit Namespace

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

Create Role

Create an RBAC role without attaching or creating permissions.

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.

Get API

Retrieve an API namespace by its API ID.

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.

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.

Get Identity

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

Get Permission

Retrieve one RBAC permission by its permission ID or slug.

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.

Get Portal Domain

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

Get Rate Limit Override

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

Get Role

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

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.

Get Workspace Limits

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

Get Workspace Usage

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

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.

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.

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.

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.

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.

List Identities

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

List Permissions

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

List Portal Domains

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

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.

List Rate Limit Namespaces

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

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.

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.

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.

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.

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.

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.

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.
Get connected

Add Unkey to your Slack in two minutes.

No workflows to wire up. Turn on the tools you already use, and your agent gets to work.
Add to Slack
1

Add Sokko to Slack

One click from the Slack marketplace. Your whole team gets Sokko at once.
Composio
GitHub
Supabase
Firecrawl
Tavily
Bitbucket
Sentry
Google Maps
2

Connect your tools

Sokko works with 1,000+ apps and any MCP server.
Martin
9:53 AM
@Sokko
What can you do with Unkey?
3

Put Sokko to work

@mention Sokko in any channel and it gets going. Minutes, not a weekend.

Questions, answered.

Sokko is an AI assistant that lives in your Slack. Connect your apps, ask for what you need in plain language, and Sokko takes the work off your plate.

Sign up to Sokko, ask Sokko to connect to Unkey, and approve the connection when prompted. From then on you can ask Sokko to do things in Unkey whenever you need.

No. There's nothing to build or configure. You ask Sokko in Slack the same way you'd ask a colleague, and Sokko handles the rest.

Yes. Ask once and tell Sokko when to repeat it, like every Monday at 9am, and it becomes a routine that runs without you.

Read and act on data in Unkey, and trigger workflows when something changes there. Tell Sokko the outcome you want and it handles the rest.

Yes. Sokko connects to 1,000+ apps and any MCP server, so you can ask for tasks that span Unkey and the rest of your stack in a single request.

What will your first agent do?

Create an agent, connect your tools, and give it a task. Your first 3 days are free, with $5 in AI credits to start.