Cloady Docs
API ReferenceEndpointsApplications

List a mail service's queued messages

Lists up to 100 messages in a Postfix queue, or in Stalwart's through its API, with their sender, recipients, the remote server's last reply, when the server tries again and how many attempts it has made. Requires the developer role, because it shows addresses.

GET
/api/workspaces/{workspaceSlug}/apps/{appSlug}/services/{serviceName}/mail/queue
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
appSlug*string
serviceName*string

Query Parameters

env?string

Value in

  • "production"
  • "preview"
  • "development"
region?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/apps/string/services/string/mail/queue"
{  "at": 0,  "messages": [    {      "id": "string",      "queue": "string",      "arrival": 0,      "size": 0,      "sender": "string",      "recipients": [        {          "address": "string",          "reason": "string"        }      ],      "next": 0,      "tries": 0    }  ],  "total": 0,  "notes": [    "string"  ]}