---
title: "Create Google Chat integration"
method: POST
path: "/integration/googlechat/create"
tags: ["Google Chat Integration"]
---

# Create Google Chat integration

`POST /integration/googlechat/create`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/integration/googlechat/create`
- Auth: HTTP bearer

## Request body

- object: A bot configuration that can be applied without a dedicated bot instance.
  - `alias` string, nullable: The unique alias for the instance
  - `name` string: The associated name
  - `description` string: The associated description
  - `meta` Meta: Meta data information
  - `blueprintId` string, nullable: The ID of the blueprint
  - `botId` string, nullable: The ID of the bot this configuration is using
  - `serviceAccountKey` string: The Google service account JSON key for sending messages via the Chat REST API
  - `projectNumber` string: The Google Cloud project number used to verify incoming event JWT audience claims
  - `contactCollection` boolean: Whether to collect contacts
  - `sessionDuration` number: The session duration for the Google Chat integration
  - `attachments` boolean: Whether file attachment processing is enabled
  - `autoRespond` string: Configure automatic response behavior. Use '@all' to respond to all messages, '@agent <instructions>' for agent-powered decisions, or custom instructions for lightweight LLM filtering. Null/empty defaults to DMs and direct messages only.
  - `allowFrom` string: Restrict which Google Chat users can interact with this integration. Accepts user resource names (users/USER_ID) or * to allow all. One per line.

## Response `200`

The Google Chat integration was created successfully

- object
  - `id` string, required: The ID of the Google Chat Integration

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
