List scheduled mailbox sends
Lists the caller's private scheduled sends in this mailbox. Items leave this list when sent, held, failed, or returned to Drafts.
GET
Lists the caller's private scheduled sends in this mailbox. Items leave this list when sent, held, failed, or returned to Drafts.
apiKeyheader
x-api-key<token>id*stringMatch
^mbx_[0-9a-hjkmnp-tv-z]{16,24}$limit?|nullcursor?stringMailboxScheduledSendPage
application/json- response
items*array<>nextCursor*string|nullimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.mailboxes.listScheduledSends({
"id": "example"
});Example Response
{
"items": [
{
"id": "string",
"mailboxId": "string",
"threadId": "string",
"draftId": "string",
"draftRevision": 1,
"draftSummary": {
"to": [
"string"
],
"subject": "string"
},
"status": "queued",
"scheduledFor": "string",
"holdReason": "threadChanged",
"revision": 1,
"baseSeq": 0,
"heldAtSeq": 0,
"actionId": "string",
"problem": {
"code": "string",
"message": "string"
},
"createdAt": "string",
"updatedAt": "string"
}
],
"nextCursor": "string"
}