API operation · mail group
POST
/mail/queue/{id}/release
First published 14 Oct 2026
0.2.0Unchanged since publicationRelease a held message back into the queue
Who may call it
AdministratorResellerCustomer
Token scope, any of
mailallAnswers200 OK
Postfix resumes delivery attempts after the message is released. A successful request returns MailQueueHold.
A reseller can release the message only if its sender or a recipient belongs to one of the reseller's domains or one of their customers' domains. 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 POST "$API/mail/queue/1/release" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"count": 1,
"held": true,
"id": 1
}Errors
6 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 required404Message <id> is not in the queue404No such user: <owner>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.0 on 14 Oct 2026.
urbestack.com/docs/api/post-mail-queue-id-release/