
Admin SDK API
Admin SDK API
Google Workspace Admin SDK API programmatically manages Workspace organizations — users, groups, devices, domains, audit logs, organizational units.
Industry-standard enterprise directory management
Only available to Workspace customers (not personal Google accounts)
Create a service account in Workspace Admin Console with domain-wide authority delegated. POST /admin/directory/v1/users to create a user.
Uptime · 30-day window
About this API
Admin SDK is Google Workspace's enterprise-management API family, including Directory (users/groups/devices), Reports (audit logs/usage reports), Calendar Resource (meeting room management), and other sub-APIs. It's the entry point for all Workspace automation — typical uses: hire automation (HR system syncs Workday employee → auto-calls Directory API to create account, add to appropriate groups, configure email aliases), termination flow (employee leaves → immediately suspend account, transfer Drive files, revoke devices), and compliance audit (monthly Reports export for anomalous logins). Workspace is a core GCP enterprise product; nearly every Workspace customer uses Admin SDK for automation.
What you can build
- 1Sync employees from HR to Workspace (auto-provision on hire/leave)
- 2Bulk manage group members
- 3Audit employee logins and file access
- 4Device management (Chromebook config)
Strengths & limitations
Strengths
- Industry-standard enterprise directory management
- Rich audit + reporting capabilities
- Deep integration with Workspace products (Gmail, Drive, Meet)
Limitations
- Only available to Workspace customers (not personal Google accounts)
- Requires super admin or appropriate admin role to call
Example request
curl https://google.com/<endpoint>Getting started
Create a service account in Workspace Admin Console with domain-wide authority delegated. POST /admin/directory/v1/users to create a user.
FAQ
Service account or OAuth user token?+
Admin-level operations: service account with domain-wide delegation. Read-only personal data: OAuth user token.
Can it manage external users?+
Cannot create external users, but can invite them to groups (contact groups) for collaboration.
Technical details
- Auth type
- unknown
- Pricing
- unknown
- Protocols
- REST
- SDKs
- python, javascript, go, java, csharp
- Response time
- 46 ms
- Last health check
- 5/12/2026, 7:37:30 AM
More from Google
Retrieve AdMob accounts, apps, ad units, ad sources, and generate mediation or network reports.
Work with AdSense Host accounts, ad clients, ad units, reports, and ad code generation from one API surface.
Programmatically manage Apigee organizations, API proxy deployments, attributes, certificates, and hybrid operations.
Google BigQuery API is the REST interface to GCP's flagship data warehouse — execute SQL queries, manage datasets/tables, stream inserts, and use built-in ML.
Control Binary Authorization attestors and policy checks for container images deployed to GKE and Anthos.
Fetch Business Profile location metrics, daily time series, and monthly search keyword impressions.
Google Calendar API lets apps create, read, and update calendar events programmatically — the go-to integration for scheduling apps.
Chrome Management API manages enterprise Chrome browsers and Chrome OS devices — policy deployment, extension control, user activity reports.