# Get customer IT email configuration

<div class="api-op" data-api-operation>
<div class="api-op__main">

<p class="api-endpoint"><span class="method method-get">GET</span> <code>/v1/it_email_configuration</code></p>

Nothing configured yet answers 404 resource_not_found (never an empty body); PUT creates it.

<dl class="api-facts"><div><dt>Scope</dt><dd><code>environment:read</code></dd></div><div><dt>Auth</dt><dd>Secret key (<code>sk_…</code>)</dd></div><div><dt>Since</dt><dd>1.0</dd></div></dl>

## Headers

<ul class="api-fields">
<li class="api-field">
<p class="api-field__head"><code class="api-field__name">OhAuthCat-Version</code> <span class="api-field__type">string</span></p>
Minor version; defaults to the environment's pin.
</li>
</ul>

## Responses

<ul class="api-responses">
<li class="api-response"><span class="api-status api-status--ok">200</span> <span>OK <span class="api-field__type">ITEmailConfiguration</span></span></li>
<li class="api-response"><span class="api-status api-status--neutral">default</span> <span>Any other error, including <a href="/errors/internal_error/">internal_error</a>. Every code is in the error catalogue. <span class="api-field__type">Error</span></span></li>
</ul>

Errors share one shape; see the [error code catalogue](/errors/).

</div>
<div class="api-op__code">

**curl**

```sh wrap
curl -X GET \
  "https://api.ohauthcat.com/v1/it_email_configuration" \
  -H "Authorization: Bearer $OHAUTHCAT_API_KEY"
```

**Node**

```javascript wrap
const response = await fetch(
  "https://api.ohauthcat.com/v1/it_email_configuration",
  {
    method: "GET",
    headers: {
      Authorization: `Bearer ${process.env.OHAUTHCAT_API_KEY}`,
    },
  },
);
const data = await response.json();
```

**Python**

```python wrap
import os
import requests

response = requests.get(
    "https://api.ohauthcat.com/v1/it_email_configuration",
    headers={"Authorization": f"Bearer {os.environ['OHAUTHCAT_API_KEY']}"},
)
data = response.json()
```

```json title="Response 200" wrap
{
  "id": "01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
  "object": "it_email_configuration",
  "provider": "ses",
  "from": "example_from",
  "sender_domain": "cdom_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
  "dns_verified": true,
  "region": "example_region",
  "smtp_host": "example_smtp_host",
  "smtp_port": 1,
  "templates": [
    {
      "category": "setup_invitation",
      "subject": "example_subject",
      "text": "example_text",
      "html": "example_html"
    }
  ],
  "updated_at": "2026-01-15T09:30:00Z"
}
```

</div>
</div>
