API Reference

A REST API over JSON. All requests require a Bearer API key and return JSON.

Base URL

Email sending has a dedicated, versioned alias for third-party integrations. Everything else is under /api.

https://cmdsend.com/v1Emails — public, versioned
https://cmdsend.com/apiEmails, Domains, API Keys

Authentication

Every request needs an API key in the Authorization header:

Authorization: Bearer cmd_your_api_key

See the full guide in Authentication.

Request format

Send a JSON body with Content-Type: application/json on POST/PATCH requests. Response bodies are always JSON.

Errors

Non-2xx responses share a consistent shape — see the Errors reference.