---
title: "Configure sending DNS for an already-owned managed email domain on an owned app"
method: POST
path: "/api/mcp/tools/configure_email_domain_dns"
tags: ["tools"]
---

# Configure sending DNS for an already-owned managed email domain on an owned app

`POST /api/mcp/tools/configure_email_domain_dns`

## Request

- Base URL: `https://finestructure.ai`
- URL: `https://finestructure.ai/api/mcp/tools/configure_email_domain_dns`
- Auth: HTTP bearer

Configure sending DNS for an already-owned managed email domain on an owned app. Uses the existing provider onboarding gates. Does not buy a domain, expand sending limits or bypass DNS ownership checks. Changes public DNS; confirm the selected app and domain first.

## Request body

- object
  - `app_id` string, required
  - `domain` string, required

## Response `200`

Tool executed successfully

- ToolResult
  - `ok` boolean, required
  - `tool` string, required
  - `result` object, required

## Other responses

- `400`: Invalid arguments for this tool
- `401`: Missing or invalid bearer token
- `402`: Not enough credits on the account
- `403`: Token scope does not permit this tool
- `404`: Unknown tool name
- `429`: Rate limit exceeded, retry after the indicated delay
- `500`: Internal error while executing the tool

## Changes

- **2026-10-19** `02c50ed5fd70`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/finestructure/apis/fine-structure-api/changes/api/mcp/tools/configure_email_domain_dns/post.md)

---

[API](https://skmtc.dev/finestructure/apis/fine-structure-api.md) · [All operations](https://skmtc.dev/finestructure/apis/fine-structure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finestructure/apis/fine-structure-api/revisions/02c50ed5fd70?raw)
