API operation · mail group
GET
/mail/queue/{id}/deliver
First published 17 Oct 2026
0.2.8Unchanged since publicationGet the progress of a traced delivery attempt
Who may call it
AdministratorResellerCustomer
Token scope, any of
mailreadallAnswers200 OK
Poll this operation during a traced attempt started by POST /mail/queue/{id}/deliver. The delivery object contains the SMTP conversation and per-recipient status lines captured in the mail log since the attempt began.
The running field is false when no trace is active for the queue ID, including when no trace was requested or its wait expired. The API returns 400 if id falls outside the required format of 6 to 20 uppercase hexadecimal characters.
As a command
Run as root on the serverParameters
idpath ·string, matching ^[A-F0-9]{6,20}$RequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X GET "$API/mail/queue/1/deliver" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"delivery": {
"before": {
"attempt_count": 1,
"attempts": [
{
"at": "text",
"delay": 1,
"dsn": "text",
"relay": "text",
"reply": "text",
"status": "active",
"to": "text"
}
],
"hops": [
"text"
],
"last_at": "text",
"last_reply": "text",
"last_status": "text",
"log_lines": [
"text"
],
"message": {
"arrival_time": 1,
"forced_expire": 1,
"id": 1,
"queue": "text",
"recipients": [
{
"address": "info@example.com",
"delay_reason": "text"
}
],
"sender": "text",
"size": 1
},
"next_hop": "text",
"read_at": "text",
"subject": "text",
"subjects_logged": true
},
"delivering": true,
"done": true,
"hops": [
"text"
],
"id": 1,
"lines": [
{
"at": "text",
"dir": "out",
"pid": 1,
"text": "text"
}
],
"noise": 1,
"read_at": "text",
"results": [
{
"at": "text",
"delay": 1,
"dsn": "text",
"relay": "text",
"reply": "text",
"status": "active",
"to": "text"
}
],
"running": true,
"traced": true,
"wait": 1,
"waited": 1
}
}Errors
4 errors, each a status and a sentence400--id is required400A queue id is 6 to 20 uppercase hexadecimal characters400The mail stack is not installed on this server401Authentication requiredNo 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.8 on 17 Oct 2026.
urbestack.com/docs/api/get-mail-queue-id-deliver/