# Google Workspace Directory

Here are the scopes we ask for when syncing your Google Workspace Directory with Scribe:

**1. Needed to sync your teammates:**\
`admin.directory.user.readonly`

**2. Needed to sync your organizational units:**\
`admin.directory.orgunit.readonly`

**3. Needed to sync your domains:**\
`admin.directory.domain.readonly`

**4. Needed to sync user custom attributes created in Google Workspace:**\
`admin.directory.userschema.readonly`

**5. Needed to sync your groups:**\
`admin.directory.group.readonly`\
\
You can find what each scope gives access to on the following page: <https://developers.google.com/admin-sdk/directory/v1/guides/authorizing>

\
**From those scopes, here is the data we store in Scribe**

* Profile picture
* First name
* Surname
* Job position
* Mobile phone
* Home phone
* Work phone
* Home address
* Work address
* Other address
* Organization unit
* Custom attributes values
* Group names and memberships
* Organization unit names and memberships
* Domains hostname
* Group name and membership

{% hint style="info" %}
Scribe has read-only access to all user/organizational units/groups/domain data. We cannot edit data in your Google Workspace or read your emails. Scribe is [SOC II type 2 compliant.](https://help.scribe-mail.com/scribe/security)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.scribe-mail.com/scribe/security/integrations/google-workspace-directory.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
