Method: contactGroups.create

Create a new contact group owned by the authenticated user.

HTTP request

POST https://people.googleapis.com/v1/contactGroups

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "contactGroup": {
    object (ContactGroup)
  }
}
Fields
contactGroup

object (ContactGroup)

Required. The contact group to create.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/contacts

For more information, see the Authorization guide.

Try it!