Google Keep API 是一种 RESTful API,用于创建应用,以便企业管理员管理 Google Keep 记事,包括创建、列出、删除、下载记事附件以及更改记事的权限。
此 API 的一个使用情形示例是解决云访问安全代理 (CASB) 软件发现的问题。例如,如果 CASB 软件识别出包含敏感信息的记事,则可以使用 Google Keep API 来限制对该记事的权限,甚至删除该记事。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],null,["# Google Keep API Overview\n\nThe Google Keep API is a RESTful API used to create apps allowing enterprise\nadministrators to manage Google Keep notes, including creating, listing,\ndeleting, downloading note attachments, and mutating permissions of a note.\nAn example use case for the API would be to resolve issues identified by cloud\naccess security broker (CASB) software. For example, if your CASB software\nidentified a note with sensitive information, the Google Keep API could be used to\nrestrict permissions on that note, or even delete the note.\n| **Note:** For authorization, you can use [domain-wide delegation using a service account or an OAuth client ID](https://support.google.com/a/answer/162106). Domain-wide delegation with a service account is a powerful feature where the service account can impersonate any user in the domain without manual authorization on their part. Use this option when you want the domain administrator to allow your application to programmatically access any user's Google Keep data in your domain, such as for a CASB integration to audit Google Keep data across your domain. Alternatively, use domain-wide delegation with an OAuth clientID for enterprise apps where you'd want your Administrator to approve scopes for your users, but the application can only access the authenticated user's Google Keep data.\n\nNext steps\n----------\n\n- To learn about developing with Google Workspace APIs, including handling\n authentication and authorization, refer\n to [Get started as a Workspace developer](/workspace/guides/getstarted-overview).\n\n- To learn how to configure and run a simple Google Keep API app, read the\n [Quickstarts overview](/workspace/keep/api/guides/quickstarts-overview)."]]