cloadyDocs
API ReferenceEndpointsWorkspaces

List mail waiting to be delivered

Lists up to 100 messages from the workspace's domains that Cloady Mail hasn't delivered yet, with each recipient's last reply from the receiving server and the next attempt. Delivered mail leaves the queue. Needs the admin role.

GET
/api/workspaces/{workspaceSlug}/mail/queue
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/mail/queue"
{  "messages": [    {      "id": "string",      "from": "string",      "subject": "string",      "size": -9007199254740991,      "createdAt": "string",      "recipients": [        {          "address": "string",          "status": "scheduled",          "reply": "string",          "nextAttemptAt": "string",          "attempts": -9007199254740991        }      ]    }  ],  "total": -9007199254740991}