Documentatie voor developers van SendHQ

E-mailinfrastructuur met expliciete uitkomsten.

Verifieer een domein, verstuur verwachte e-mail, ontvang antwoorden, publiceer getypeerde templates en bekijk de bezorging zonder dat de status bij de provider verborgen blijft.

Een e-mail versturen
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."}'

Kies een route

Begin met de taak die je moet opleveren.

Productgidsen

Volg het volledige systeem, niet één losse request.

Begin hier

Snelstart

Maak een sleutel aan, verifieer een domein en verstuur een gecontroleerde e-mail met een request die veilig opnieuw kan worden geprobeerd.

Begin hier

Overstappen van Resend

Zet HTTP-verzendingen van Resend om naar SendHQ en houd vóór de overstap rekening met de grenzen van de compatibiliteit.

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.

Begin hier

Authenticatie

Gebruik server-side API-sleutels voor productintegraties en browsersessies voor het beheer van je workspace.

Begin hier

Fouten en retries

Parse de standaard JSON-foutenvelope en bepaal wanneer een retry veilig is.

Begin hier

Versiebeheer en uitfasering

Begrijp hoofdversies in de URL, compatibele toevoegingen, uitfaseringsmeldingen en sunsetperiodes.

Verzenden

E-mail verzenden

Verstuur veilig transactionele berichten, batches, antwoorden, bijlagen en gehoste templates.

Verzenden

Domeinen en DNS

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

Verzenden

Gehoste templates

Maak getypeerde concepten, bekijk de exacte uitvoer, publiceer onveranderlijke releases en behoud de herkomst van verzendingen.

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.

Ontvangen

Inkomende e-mail

Maak inboxen aan, ontvang gerouteerde berichten, bewaar bijlagen en bouw chronologische gesprekken op.

Ontvangen

Labels en buckets

Sorteer verzonden en ontvangen e-mail automatisch in labels en geef een agent een bucket die zijn gesprekken nooit verlaten.

Ontvangen

Spam, updates en belangrijkheid

Hoe SendHQ ontvangen e-mail sorteert in primair, updates en spam, belangrijke berichten markeert en leert van correcties.

Beheren

Deliverability

Begrijp provider-events, de reputatie van afzenderidentiteiten, dagelijks opschalen en automatisch herstel.

Beheren

Suppressies en afmeldingen

Voorkom onveilige bezorging aan ontvangers die hebben gebounced, geklaagd of zich hebben afgemeld.

Operate

Webhooks

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

Beheren

Facturering en limieten

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.

Machineleesbaar contract

OpenAPI 3.1, gegenereerd uit dezelfde catalogus als deze pagina's.

Gebruik de specificatie voor clients, tests, discovery en tooling voor agents.

Specificatie openenEndpoints bekijken