API-referentie
Inkomende e-mail
Maak adressen aan en werk met ontvangen gesprekken.
Geen operaties gevonden voor dit filter.
/domains/:id/inbound/setupOntvangst van inkomende e-mail via SES inrichten
Ontvangst van inkomende e-mail via SES inrichten
curl https://sendhq.cc/api/v1/domains/id_value/inbound/setup \
-X POST \
-H "Authorization: Bearer $SENDHQ_API_KEY"{
"domain": "inbound.example.com",
"status": "dns_pending",
"record": {
"type": "MX",
"name": "inbound.example.com",
"value": "10 inbound-smtp.us-east-1.amazonaws.com"
}
}/domains/:id/inbound/verifyMX-routering voor inkomende e-mail verifiëren
MX-routering voor inkomende e-mail verifiëren
curl https://sendhq.cc/api/v1/domains/id_value/inbound/verify \
-X POST \
-H "Authorization: Bearer $SENDHQ_API_KEY"{
"domain": "inbound.example.com",
"status": "ready",
"record": {
"type": "MX"
}
}/inboxesEen inkomend adres aanmaken
Een inkomend adres aanmaken
curl https://sendhq.cc/api/v1/inboxes \
-X POST \
-H "Authorization: Bearer $SENDHQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain_id":"dom_…","local_part":"support","name":"Support"}'{
"id": "inb_…",
"address": "support@inbound.example.com",
"status": "active"
}/inboxesInkomende adressen opvragen
Inkomende adressen opvragen
curl https://sendhq.cc/api/v1/inboxes \
-X GET \
-H "Authorization: Bearer $SENDHQ_API_KEY"{
"data": [],
"count": 0
}/inboxes/:idEen inkomend adres ophalen
Een inkomend adres ophalen
curl https://sendhq.cc/api/v1/inboxes/id_value \
-X GET \
-H "Authorization: Bearer $SENDHQ_API_KEY"{
"id": "inb_…",
"address": "support@example.com",
"status": "active"
}/inboxes/:idEen inbox hernoemen, inschakelen of uitschakelen
Een inbox hernoemen, inschakelen of uitschakelen
curl https://sendhq.cc/api/v1/inboxes/id_value \
-X PATCH \
-H "Authorization: Bearer $SENDHQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Customer support","status":"active"}'{
"id": "inb_…",
"status": "active"
}/inboxes/:id/forwardingOntvangen e-mail van een inbox doorsturen naar een ander adres
Zet `forward_to` op een e-mailadres, of op null om doorsturen uit te schakelen. Het eigen adres van de accounteigenaar wordt direct geactiveerd; elk ander adres ontvangt een bevestigingsmail (verstuurd vanaf het geverifieerde domein van de inbox en geteld als één ontvanger) en het doorsturen blijft in afwachting tot de link is bevestigd. Doorgestuurde kopieën worden verstuurd vanaf het inboxadres met de oorspronkelijke afzender als Reply-To, respecteren suppressies en de limieten van het abonnement en worden nooit opnieuw doorgestuurd.
curl https://sendhq.cc/api/v1/inboxes/id_value/forwarding \
-X PUT \
-H "Authorization: Bearer $SENDHQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"forward_to":"team@example.net"}'{
"id": "inb_…",
"address": "support@example.com",
"forwardTo": "team@example.net",
"forwardStatus": "pending"
}/inboxes/:idEen inbox verwijderen en de berichten bewaren
Een inbox verwijderen en de berichten bewaren
curl https://sendhq.cc/api/v1/inboxes/id_value \
-X DELETE \
-H "Authorization: Bearer $SENDHQ_API_KEY"{
"ok": true
}