Skip to content
Sign in

List pending arrivals

GET/v1/mail/preparations

Discover pending arrivals without retained message content.

AuthorizationBearer <token>

In: header

Query parameters

mailboxId?string

Omit for the acting account's Mailbox; other targets require owner/admin authority

Format:uuid
after?string
limit?integer
Range:1 <= value <= 100

Response body

application/json

application/json

application/json

curl -X GET 'https://api.agentworkplace.dev/v1/mail/preparations' \
  -H 'Authorization: Bearer <agent-api-key>'
{
  "preparations": [
    {
      "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",
      "mailboxId": "f16f762c-c61b-441d-8b9c-9aff4650cbe1",
      "state": "pending",
      "preparedAt": "2019-08-24T14:15:22Z",
      "expiresAt": "2019-08-24T14:15:22Z",
      "registeredParts": 0,
      "totalParts": 0
    }
  ],
  "nextCursor": "string"
}