---
title: Domains API
description: "Use the AI Inbx domains API. Browse endpoints, request parameters, response schemas, and code examples for your integration."
sidebar:
  label: Overview
---

{/* Generated by scripts/openapi.ts from the shared API contract. */}

Manage sending domains and DNS checks.

## Endpoints

| Method | Operation | Path |
| --- | --- | --- |
| `GET` | [List domains](/api/endpoints/domains/list-domains) | `/domains` |
| `POST` | [Create a domain](/api/endpoints/domains/create-domain) | `/domains` |
| `GET` | [Retrieve a domain](/api/endpoints/domains/retrieve-domain) | `/domains/{domain_id}` |
| `DELETE` | [Delete a domain](/api/endpoints/domains/delete-domain) | `/domains/{domain_id}` |
| `PATCH` | [Update domain tracking settings](/api/endpoints/domains/update-domain) | `/domains/{domain_id}` |
| `POST` | [Verify domain DNS records now](/api/endpoints/domains/verify-domain) | `/domains/{domain_id}/verify` |
| `GET` | [Diagnose domain DNS configuration](/api/endpoints/domains/retrieve-domain-diagnostics) | `/domains/{domain_id}/diagnostics` |

## Request essentials [#request-essentials]

Use `https://api.aiinbx.com/api/v2` as the base URL and send your API key in `Authorization: Bearer <key>`. Keep credentials on your server.

See [Authentication](/authentication) for scopes, [Conventions](/reference/conventions) for pagination and idempotency, and [Errors](/reference/errors) for recovery guidance. Each endpoint page includes its parameters, response schemas, and copyable curl, JavaScript, and Python examples.
