Back to all articles
API Best Practices

What are API Subaccounts?

November 12, 2024

What are Subaccounts?

Subaccounts are a design pattern to divide an organization's API access based on business units (ie. departments, teams), allowing for larger organizations to have finer-grain control and tracking over their API integrations.

A Subaccount API Key (also known as Subkey) is a "virtual" API key that created alongside the Subaccount, and grants that Subaccount (potentially limited) access to the API. Calls from Subaccount keys will all be summed and counted against the organization's overall quotas and rate limits. This means API usage must still be governed and monitored at the organization-level.

An analogous concept in the world of finance is virtual credit cards which are used to better track purchases/spend at a department level, but can also be safely deleted when compromised without the original credit card being compromised or having to be replaced.

Benefits of Subaccounts

  • Tailored Reporting: Analytics and reports are presented at the Subaccount key level, meaning your dashboards/reports are automatically scoped to your department.
  • Fine-grain Permissions: Managers of the API can typically assign stricter controls to the Subaccounts (ex. lower quotas or rate limits) based on the expected usage of that subdivision/department. Some APIs even provide the ability to restrict access to certain APIs for Subaccounts.
  • Security: In addition to being able to limit API access at the Subkey level - a Subkey is ideally only used within a single department's code. This significantly reduces the amount of work needed to successfully roll the Subkey - as the surface area of the change(s) will be limited to that department.
  • Account Sharing: Sharing access to an API with the appropriate permissions and access controls is easier with Subaccounts. If you're already part of a Subaccount, you can simply invite a coworker and they will automatically have the correct access.
  • Budget Tracking: Accessing 3rd party APIs can be expensive, and many large organizations need to be able to break down costs at a department level for accounting purposes. Subaccounts (especially 1st party offerings) allow for billing reports at the department level - and may even let departments pay their own bills independently.

Which Companies Offer Subaccounts?

  • Email and communication APIs like Twilio, Vonage, Mailjet, and Mailgun, which makes sense given almost all departments need to send emails or text messages.
  • Stock Trading and Crypto Exchange APIs like Binance and BitMEX use Subaccounts to scope trading abilities and access to certain financial instruments/derivatives.

Should I Offer Subaccounts?

If your API is commonly used across organizations (ex. it performs a common and essential business function like email, image management, analytics) then consider building a 1st party implementation of Subaccounts within your product. I actually already created a guide to building Subaccount Keys that should have you up-and-running in 30 minutes.

What If an API Doesn't Offer Subaccounts?

If an API you are integrating with does not offer Subaccounts - you can actually build a lightweight api integration platform and issue/manage Subkeys within your organization.

Tags:#API Best Practices#API Key Authentication#Tutorial

Related Articles

Continue learning from the Zuplo Learning Center.

API Key Authentication

How to Implement API Key Authentication: A Complete Guide

Learn how to implement API key authentication from scratch — generation, secure storage, validation, rotation, and per-key rate limiting with practical code examples.

API Documentation

Developer Portal Comparison: Customization, Documentation, and Self-Service

Compare developer portal platforms — Zuplo/Zudoku, ReadMe, Redocly, Stoplight, and SwaggerHub — across customization, auto-generated docs, self-service API keys, and theming.

On this page

What are Subaccounts?Benefits of SubaccountsWhich Companies Offer Subaccounts?Should I Offer Subaccounts?What If an API Doesn't Offer Subaccounts?

Scale your APIs with
confidence.

Start for free or book a demo with our team.
Book a demoStart for Free
SOC 2 TYPE 2High Performer Spring 2025Momentum Leader Spring 2025Best Estimated ROI Spring 2025Easiest To Use Spring 2025Fastest Implementation Spring 2025

Get Updates From Zuplo

Zuplo logo
© 2026 zuplo. All rights reserved.
Products & Features
API ManagementAI GatewayMCP ServersMCP GatewayDeveloper PortalRate LimitingOpenAPI NativeGitOpsProgrammableAPI Key ManagementMulti-cloudAPI GovernanceMonetizationSelf-Serve DevX
Developers
DocumentationBlogLearning CenterCommunityChangelogIntegrations
Product
PricingSupportSign InCustomer Stories
Company
About UsMedia KitCareersStatusTrust & Compliance
Privacy PolicySecurity PoliciesTerms of ServiceTrust & Compliance
Docs
Pricing
Sign Up
Login
ContactBook a demoFAQ
Zuplo logo
DocsPricingSign Up
Login