Email Settings
Get sender email delivery health
Returns sender identity and projected transport health for the current organization, or emailsettings:null when no settings row exists. Stored health from another transport becomes unknown. Incomplete custom SMTP activates fallback; responsibility and action_required indicate who can resolve it. Requires permission: one of manage_email.
GET
/
admin
/
email
/
settings
/
delivery-health
Get sender email delivery health
curl --request GET \
--url https://api.gratona.com/v1/admin/email/settings/delivery-health \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/admin/email/settings/delivery-health"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/admin/email/settings/delivery-health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gratona.com/v1/admin/email/settings/delivery-health",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.gratona.com/v1/admin/email/settings/delivery-health"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.gratona.com/v1/admin/email/settings/delivery-health")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/email/settings/delivery-health")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"emailsettings": {
"from_address": "support@example.org",
"from_name": "Example Nonprofit",
"delivery_health": {
"status": "healthy",
"transport": "platform_smtp",
"responsibility": "gratona",
"action_required": false,
"failure_reason": "smtp_authentication",
"fallback_active": false,
"fallback_reason": "incomplete_custom_smtp",
"last_failure_at": "2026-10-20T10:00:00Z",
"last_accepted_at": "2026-10-20T12:00:00Z"
}
}
}{
"message": "Unauthorized",
"status": "error"
}⌘I
Get sender email delivery health
curl --request GET \
--url https://api.gratona.com/v1/admin/email/settings/delivery-health \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.gratona.com/v1/admin/email/settings/delivery-health"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gratona.com/v1/admin/email/settings/delivery-health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gratona.com/v1/admin/email/settings/delivery-health",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.gratona.com/v1/admin/email/settings/delivery-health"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.gratona.com/v1/admin/email/settings/delivery-health")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gratona.com/v1/admin/email/settings/delivery-health")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"emailsettings": {
"from_address": "support@example.org",
"from_name": "Example Nonprofit",
"delivery_health": {
"status": "healthy",
"transport": "platform_smtp",
"responsibility": "gratona",
"action_required": false,
"failure_reason": "smtp_authentication",
"fallback_active": false,
"fallback_reason": "incomplete_custom_smtp",
"last_failure_at": "2026-10-20T10:00:00Z",
"last_accepted_at": "2026-10-20T12:00:00Z"
}
}
}{
"message": "Unauthorized",
"status": "error"
}