Skip to main content
GET
/
api
/
inboxes
/
{channelId}
/
drafts
List unsent drafts on an inbox
curl --request GET \
  --url https://core-api.getaptly.com/api/inboxes/{channelId}/drafts \
  --header 'x-token: <api-key>'
{
  "data": [
    {
      "streamId": "stm_abc",
      "uuid": "drf_123",
      "channelId": "acc-1",
      "subject": "Welcome",
      "content": "<p>Hi there</p>",
      "to": [
        {
          "value": "[email protected]"
        }
      ],
      "cc": [],
      "bcc": [],
      "attachments": [],
      "ownerId": "u_42",
      "sentBy": "u_42",
      "addedToOutboxAt": "2026-05-25T18:14:00.000Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.getaptly.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-token
string
header
required

Path Parameters

channelId
string
required

External channel meta ID (meta.id) of the inbox.

Response

List of unsent drafts on the inbox.

data
object[]