---
title: "Start DNS auto-configuration"
method: POST
path: "/v1/domains/{domain}/auto-configure/start"
tags: ["Domains"]
---

# Start DNS auto-configuration

`POST /v1/domains/{domain}/auto-configure/start`

## Request

- Base URL: `https://api.novu.co`
- URL: `https://api.novu.co/v1/domains/{domain}/auto-configure/start`
- Auth: API key in header `Authorization`

Generates a signed redirect URL the customer can follow to apply Novu DNS records at their DNS provider. After the provider completes the flow, it redirects back to `redirectUri`.

## Path parameters

- `domain` string, required

## Headers

- `idempotency-key` string

## Request body

- CreateDomainConnectApplyUrlDto
  - `redirectUri` string: Dashboard URL to return to after the DNS provider consent flow completes.

## Response `201`

Created

- DomainConnectApplyUrlResponseDto
  - `applyUrl` string, required
  - `providerName` string, required
  - `redirectUri` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `409`: Conflict
- `413`: Payload Too Large
- `414`: URI Too Long
- `415`: Unsupported Media Type
- `422`: Unprocessable Entity
- `429`: The client has sent too many requests in a given amount of time.
- `500`: Internal Server Error
- `503`: The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.

---

[API](https://skmtc.dev/novu/apis/novu-api.md) - [All operations](https://skmtc.dev/novu/apis/novu-api/llms.txt) - [OpenAPI document](https://skmtc.dev/novu/apis/novu-api/revisions/6349165a6e58?raw)
