Can't enable webhook for Google Chat app

I'm developing a Google Chat app but can't enable a webhook for it. I can create webhooks in individual spaces, but not directly linked to the app.I talked to some admins who own the service account, and even they couldn’t get this part working. I’m wondering if there’s a specific role or permission required to allow this.

Kozato_0-1748027909919.png



I’ve followed multiple resources, but none of them solved the issue:

Any help or guidance would be greatly appreciated!

0 2 250
2 REPLIES 2

To set up webhooks for a Google Chat app (not just per-space), the Cloud project’s service account needs proper IAM roles. Ask your admin to assign Chat bot Admin (roles/chat.botAdmin) or Chat service Agent(roles/chat.serviceAgent) to the service account. Also make sure the Chat API is enabled in the Cloud Console. Without those, the app won’t be able to register webhooks at the project level.

I believe there must be something else I'm missing. I already have the necessary permissions, but I still can't enable the webhook for the app.I'm using the Google Chat API and connecting it to a chatbot through a Workspace app, but the option to configure a webhook doesn't appear. I've followed everything in the documentation, but no success so far.Could you help me out? If you have any screenshots or specific instructions, that would be really helpful.