Method: projects.contacts.create

Adds a new contact for a resource.

HTTP request

POST https://essentialcontacts.googleapis.com/v1alpha1/{parent=projects/*}/contacts

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource to save this contact for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}

Authorization requires the following IAM permission on the specified resource parent:

  • essentialcontacts.contacts.create

Request body

The request body contains an instance of Contact.

Response body

If successful, the response body contains a newly created instance of Contact.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.