Admin SDK API logo

Admin SDK API

Admin SDK API

Google Workspace Admin SDK API programmatically manages Workspace organizations — users, groups, devices, domains, audit logs, organizational units.

Visit site ↗Health checked 9h ago
Use it when

Industry-standard enterprise directory management

Watch for

Only available to Workspace customers (not personal Google accounts)

First check

Create a service account in Workspace Admin Console with domain-wide authority delegated. POST /admin/directory/v1/users to create a user.

Auth
CORS
No
HTTPS
Yes
Signup
?
Latency
46 ms
Protocol
REST
Pricing

Uptime · 30-day window

Probes: 1Uptime: 100%Avg latency: 46ms
01

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.

02

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)
03

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
04

Example request

Generic template — replace <endpoint> with the real path from the docs.
curl https://google.com/<endpoint>
05

Getting started

Create a service account in Workspace Admin Console with domain-wide authority delegated. POST /admin/directory/v1/users to create a user.

06

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.

07

Technical details

CORS: NoHTTPS: YesSignup: ?Open source: No
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
08

Tags

09

More from Google