Documentation développeur SendHQ

Une infrastructure e-mail aux résultats explicites.

Vérifiez un domaine, envoyez les e-mails attendus, recevez les réponses, publiez des modèles typés et inspectez la livraison sans que l’état du fournisseur soit masqué.

Envoyer un e-mail
curl https://sendhq.cc/api/v1/emails \
  -H "Authorization: Bearer $SENDHQ_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: welcome-user-42" \
  -d '{"from":"Acme <hello@example.com>","to":["customer@example.net"],"subject":"Welcome","text":"Your workspace is ready."}'

Choisissez un parcours

Commencez par ce que vous devez livrer.

Guides produit

Suivez le système complet, pas une requête isolée.

Pour commencer

Démarrage rapide

Créez une clé, vérifiez un domaine et envoyez un e-mail contrôlé avec une requête que l’on peut réessayer sans risque.

Pour commencer

Migrer depuis Resend

Faites correspondre vos envois HTTP Resend à SendHQ et tenez compte des limites de compatibilité avant la bascule.

Start here

Migrate from SendGrid

Move SendGrid Mail Send, dynamic templates, Event Webhook, suppressions, and Inbound Parse to the SendHQ API, with a prompt your coding agent can run.

Start here

Migrate from Mailgun

Move Mailgun Messages API sends, templates, webhooks, suppressions, and Routes to the SendHQ API, with a prompt your coding agent can run.

Start here

Migrate from Postmark

Move Postmark Email API sends, message streams, templates, webhooks, suppressions, and inbound processing to the SendHQ API, with a prompt your coding agent can run.

Start here

Migrate from Amazon SES

Move Amazon SES SendEmail calls, configuration-set events, the account suppression list, templates, and receipt rules to the SendHQ API, with a prompt your coding agent can run.

Start here

Migrate from AgentMail

Move AgentMail inboxes, sends, replies, threads, labels, and message webhooks for AI agents to SendHQ inboxes and the SendHQ API, with a prompt your coding agent can run.

Start here

Migrate from Mailtrap

Move Mailtrap Email Sending API calls, webhooks, and suppressions to the SendHQ API, with a prompt your coding agent can run.

Start here

Migrate from Brevo

Move Brevo transactional email API sends, templates, webhooks, and blocked contacts to the SendHQ API, with a prompt your coding agent can run.

Start here

Use SendHQ with ShipFast

Send ShipFast's sendEmail() and NextAuth magic-link emails through the SendHQ API instead of Resend and SMTP, with a prompt your coding agent can run.

Pour commencer

Authentification

Utilisez des clés API côté serveur pour les intégrations produit et des sessions navigateur pour l’administration de l’espace de travail.

Pour commencer

Erreurs et nouvelles tentatives

Analysez l’enveloppe d’erreur JSON standard et déterminez quand une nouvelle tentative est sûre.

Pour commencer

Versionnage et dépréciation

Comprenez les versions majeures dans l’URL, les ajouts compatibles, les avis de dépréciation et les périodes de fin de vie.

Envoyer

Envoi d’e-mails

Envoyez en toute sécurité des messages transactionnels, des lots, des réponses, des pièces jointes et des modèles hébergés.

Envoyer

Domaines et DNS

Provision sender identities and interpret DNS, propagation, and repair states.

Envoyer

Modèles hébergés

Créez des brouillons typés, prévisualisez le rendu exact, publiez des versions immuables et conservez la provenance des envois.

Send

Newsletters and campaigns

Keep consented contacts, target segments, write, test, schedule, and send broadcasts, read bot-filtered open and click reports, and publish a newsletter site.

Send

Events and connections

Tell SendHQ what your contacts do, from your own code, from a payment provider's webhook, or from a spreadsheet, and see what came in and which automations it started.

Recevoir

E-mails entrants

Créez des boîtes de réception, recevez les messages routés, conservez les pièces jointes et construisez des conversations chronologiques.

Recevoir

Libellés et catégories

Classez automatiquement les e-mails envoyés et reçus dans des libellés, et donnez à un agent une catégorie dont ses conversations ne sortent jamais.

Recevoir

Spam, notifications et importance

Comment SendHQ trie le courrier reçu entre principal, notifications et spam, signale les messages importants et apprend de vos corrections.

Exploiter

Délivrabilité

Comprenez les événements du fournisseur, la réputation des identités d’envoi, la montée en charge quotidienne et la récupération automatique.

Exploiter

Suppressions et désinscriptions

Empêchez toute livraison risquée vers des destinataires ayant généré un bounce, une plainte ou s’étant désinscrits.

Operate

Webhooks

Receive signed email events (sent, delivered, delayed, bounced, complained, failed, received) at your own HTTPS endpoint, with retries.

Exploiter

Facturation et limites

Understand the subscription requirement, the daily sending ramp, recipient credits, attachment transfer, and webhook-driven entitlements.

Tools

Command-line interface

Install the SendHQ CLI to send and read email, verify domains, manage inboxes and templates, and run the MCP server from a terminal, a script, or CI.

Integrations

Supabase Auth emails

Send Supabase sign-up, magic link, password reset, and email change messages through SendHQ with Supabase's Send Email hook and an Edge Function.

Contrat lisible par machine

OpenAPI 3.1, généré à partir du même catalogue que ces pages.

Utilisez la spécification pour les clients, les tests, la découverte et l’outillage des agents.

Ouvrir la spécificationParcourir les endpoints