Skip to main content

Overview

To authenticate with NextDNS, you need:
  1. API Key — the API key of your NextDNS account.
This guide will show you how to get it.

Prerequisites

  • A NextDNS account. If you don’t have one, sign up. The API is available on the Free plan.

Step 1: Generate your API key

  1. Sign in to NextDNS. Click your email address in the top-right corner, then click Account.
NextDNS dashboard with the account menu open and the Account item highlighted
  1. On the Account page, scroll to the API section at the bottom and click Generate API key.
NextDNS Account page with the Generate API key button in the API section
  1. Copy the API key with the copy button.
NextDNS Account page showing the generated API key and its copy button

Step 2: Enter your API key in the Connect UI

  1. Open the form where you need to authenticate with NextDNS.
  2. Enter your API Key in the designated field.
  3. Submit the form, and you should be successfully authenticated.
NextDNS Connect UI form with the API Key field You are now connected to NextDNS.