AI-generated Key Takeaways
-
The API allows for the batch creation of Contact objects using an HTTP POST request.
-
The request requires a parent path parameter specifying the network code where contacts will be created.
-
The request body contains an array of up to 100 CreateContactRequest objects, each representing a contact to be created.
-
A successful response body will contain an array of the Contact objects that were created.
-
Authorization requires the
https://www.googleapis.com/auth/admanagerOAuth scope.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- CreateContactRequest
- Try it!
API to batch create Contact
objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/contacts:batchCreate
Path parameters
| Parameters | |
|---|---|
parent
|
Required. The parent resource where |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"requests"
:
[
{
object (
|
| Fields | |
|---|---|
requests[]
|
Required. The |
Response body
Response object for contacts.batchCreate
method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"contacts"
:
[
{
object (
|
| Fields | |
|---|---|
contacts[]
|
The |
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview .
CreateContactRequest
Request object for contacts.create
method.
| JSON representation |
|---|
{
"parent"
:
string
,
"contact"
:
{
object (
|
| Fields | |
|---|---|
parent
|
Required. The parent resource where this |
contact
|
Required. The |

