API operation · mail group
GET
/domains/{name}/mail/greylist
First published 19 Nov 2026
0.2.30Unchanged since publicationList sender domains with mail currently held by greylisting for this domain
Who may call it
AdministratorResellerCustomer
Token scope, any of
mailreadallAnswers200 OK
The 200 response contains greylist, which lists each sender domain and the number of messages currently held from it for the recipient domain. Greylisting defers mail that looks suspicious.
Administrators, the customer who owns the domain and that customer's reseller can call this operation with a token that has the mail scope.
As a command
Run as root on the serverParameters
namepath ·DomainNameRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X GET "$API/domains/example.com/mail/greylist" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"greylist": {
"available": 1,
"domain": "example.com",
"senders": [
{
"domain": "example.com",
"let_through": 1,
"messages": 1,
"verified": 1
}
]
}
}Errors
6 errors, each a status and a sentence400--<k> is a whole number up to <max>400--match is text without control characters, 200 characters at most400--state is waiting, ready, let_through or passed400state is one of: 401Authentication required403Only an administrator can view the complete list of held senders.No error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.30 on 19 Nov 2026.
urbestack.com/docs/api/get-domains-name-mail-greylist/