> ## Documentation Index
> Fetch the complete documentation index at: https://docs.macroscope.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get workspace contact

> The workspace's administrative contact email

Returns the workspace's **Administrative Contact Email** from workspace settings, which Macroscope uses for policy updates, support issues and important account information. Returns `404` when the workspace does not have this setting.

## Authorization

Requires an **Admin** API key, or an [OAuth sign-in](https://docs.macroscope.com/api-reference/mcp.md#permissions) with **Admin** access by a person who is a workspace admin. Read and Write keys get `403`, and a sign-in with Read or Write access gets an `insufficient_scope` challenge for `macroscope:admin`.

**Authorization** `string` *required*

`Bearer <key>`. See [Authentication](https://docs.macroscope.com/api#authentication).

## Path parameters

**workspaceType** `string` *required*

`GITHUB_ORGANIZATION` or `GITHUB_USER`.

**workspaceId** `string` *required*

Numeric GitHub ID of the organization or user.

## Response

**contact** `WorkspaceContact`

Omitted when the workspace has no contact.

**properties**

**email** `string`

The address.

**verified** `boolean`

Whether GitHub had verified the address when it was set. Omitted when `false`.

**primary** `boolean`

Whether it was the primary GitHub address of the person who set it. Omitted when `false`.

## Errors

<table>
  <colgroup>
    <col width="100" />

    <col width="698" />
  </colgroup>

  <thead>
    <tr>
      <th>HTTP</th>
      <th>Meaning</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`403`</td>
      <td>Your credential or your permissions do not allow reading the contact</td>
    </tr>

    <tr>
      <td>`404`</td>
      <td>The workspace does not have this setting</td>
    </tr>
  </tbody>
</table>

See [Errors](https://docs.macroscope.com/api#errors) for the rest.

```bash cURL theme={null}
curl https://api.macroscope.com/api/v1/workspaces/GITHUB_ORGANIZATION/12345678/contact \
  -H "Authorization: Bearer $MACROSCOPE_API_KEY"
```

```json 200 theme={null}
{
  "contact": {
    "email": "it@acme.com",
    "verified": true
  }
}
```

```json 401 theme={null}
{ "code": 16, "message": "unauthenticated" }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.