---
title: "Set up receiving DNS on Cloudflare in one click"
method: POST
path: "/v1/domains/{id}/domain-connect/cloudflare-inbound"
tags: ["Domains"]
---

# Set up receiving DNS on Cloudflare in one click

`POST /v1/domains/{id}/domain-connect/cloudflare-inbound`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/domains/{id}/domain-connect/cloudflare-inbound`
- Auth: HTTP bearer

Like the sending version, for the MX record that turns on receiving. Not in Resend. Requires the domain:write scope.

## Path parameters

- `id` string, required

## Response `200`

The link to open

- object

## Other responses

- `401`: Invalid or missing API key
- `403`: Forbidden - domain not verified or insufficient permissions
- `404`: Resource not found
- `409`: Conflict - the resource already exists or changed meanwhile
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

[API](https://skmtc.dev/smtpfa/apis/smtpfast-api.md) · [All operations](https://skmtc.dev/smtpfa/apis/smtpfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smtpfa/apis/smtpfast-api/revisions/79dda742f53e?raw)
