---
title: "Get configuration"
method: GET
path: "/resources/mail/v1/configurations"
tags: ["Email configuration"]
---

# Get configuration

`GET /resources/mail/v1/configurations`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/mail/v1/configurations`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/mail/v1/configurations/get.ts> (a function with typed inputs; its response is checked against the schema)

This route returns the mail configuration setup on Frontegg for your SendGrid account. A vendor token is required for this route, it can be obtained from the vendor authentication route.

## Response `200`

- GetMailConfigResponseDto
  - `secret` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `extension` object[], required
  - `provider` 'sendgrid' | 'mailgun' | 'ses' | 'ses-role', required

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
