---
title: "Get an email delivery connection"
method: GET
path: "/v1/email-delivery-connections/{connection_id}"
tags: ["Email Delivery Connections"]
---

# Get an email delivery connection

`GET /v1/email-delivery-connections/{connection_id}`

## Request

- Base URL: `https://api.mailrith.com`
- URL: `https://api.mailrith.com/v1/email-delivery-connections/{connection_id}`
- Auth: HTTP bearer

Returns one secret-free email delivery connection linked to the authenticated workspace.

## Path parameters

- `connection_id` string, required

## Response `200`

Successful response

- object
  - `data` EmailDeliveryConnection, required
    - `self` string, required: Stable relative Public API path for retrieving this resource.
    - `id` string, required
    - `name` string, required
    - `provider` 'amazon-ses' | 'postmark' | 'sendgrid' | 'mailgun' | 'resend' | 'brevo' | 'custom-smtp', required
    - `from_email` string, email, required
    - `from_name` string, required
    - `enabled` boolean, required
    - `provider_config` EmailDeliveryProviderPublicConfig, required: Secret-free provider settings. Boolean fields only indicate whether a saved credential exists.
      - `region` string
      - `access_key_id` string
      - `has_secret_access_key` boolean
      - `has_server_token` boolean
      - `has_account_token` boolean
      - `message_stream` string, nullable
      - `has_api_key` boolean
      - `domain` string
      - `host` string
      - `port` integer
      - `secure_mode` 'starttls' | 'tls' | 'none'
      - `username` string
      - `has_password` boolean
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `404`: The connection was not found.

---

[API](https://skmtc.dev/mailrith/apis/mailrith-api.md) · [All operations](https://skmtc.dev/mailrith/apis/mailrith-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailrith/apis/mailrith-api/revisions/41f09536f2da?raw)
