Loading...

Knowledge Base

Set Up a Google Workspace Admin Account Using the API

When you want to set up an admin account for a Google Workspace order using the API. This article explains required account details, supported regions, response details, and transfer-related limitations.

Setup Admin account

Description

Adds the Admin account for an existing Google Workspace Order.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredThe OrderId for which the Admin account is to be setup.
email-addressStringRequiredEmail address for the Admin account
first-nameStringRequiredFirst name for the Admin account
last-nameStringRequiredLast name for the Admin account
alternate-email-addressStringRequiredAlternate email address of the Customer
nameStringRequiredName of the Customer
companyStringRequiredCompany name of the Customer
zipStringRequiredZip code of the Customer

HTTP Method

POST

Example Test URL Request

India

https://test.httpapi.com/api/gapps/in/admin/add.json?auth-userid=0&api-key=key&order-id=0&email-address=abc@domain.com&first-name=abc&last-name=abc&name=abc&alternate-email-address=xyz@domain.com&company=test&zip=0

South East Asia & Egypt

https://test.httpapi.com/api/gapps/se/admin/add.json?auth-userid=0&api-key=key&order-id=0&email-address=abc@domain.com&first-name=abc&last-name=abc&name=abc&alternate-email-address=xyz@domain.com&company=test&zip=0

Rest of the World

hhttps://test.httpapi.com/api/gapps/gbl/admin/add.json?auth-userid=0&api-key=key&order-id=0&email-address=abc@domain.com&first-name=abc&last-name=abc&name=abc&alternate-email-address=xyz@domain.com&company=test&zip=0

 

Response

Returns "Success" as the status of the response if the Admin Account is setup successfully.
In case of any error, an "error" key with error description (as value) will be returned.

Note:
The admin setup call is only required if you are registering a new Google Workspace order. In the event of transfer, the admin account created with the existing provider will be used. The admin setup is no longer required while transferring the order.