Skip to main content

Overview

Organization API keys enable B2B partners to access your workspace’s products through their own API credentials. These keys are scoped to specific products and have configurable rate limits.

Create API Key

Create a new API key for an organization.
The full API key is only returned once during creation. Store it securely as it cannot be retrieved later.

Request body

array
default:"[]"
Array of permission scopes for the API key
array
default:"[]"
Array of product UUIDs the key can access. Empty array means access to all products.
string
ISO 8601 datetime when the key expires. Null for no expiration.
object
Rate limiting configuration for the key

Request example

Response

List API Keys

List all API keys for an organization. Note that the full key value is not returned - only the prefix.

Request example

Response

Revoke API Key

Revoke an organization’s API key. This immediately invalidates the key.

Request example

Response

API Key Format

Organization API keys follow this format:
  • org_ - Fixed prefix identifying this as an organization key
  • {prefix} - 8 character identifier (shown in listings)
  • {secret} - 32 character cryptographically secure random string
Example: org_a1b2c3d4_8kNp2qX4vR9mJ7tY3wL1nC5bD6fG8hK0

Security Best Practices

  • Store API keys in secure environment variables, never in code
  • Use the minimum required scopes for each integration
  • Set expiration dates for temporary access
  • Regularly audit and rotate keys
  • Revoke keys immediately when a partner relationship ends