Skip to main content
GET
/
api
/
v1
/
email
/
drafts
List email drafts
curl --request GET \
  --url https://prod.featherhq.com/api/v1/email/drafts \
  --header 'X-API-Key: <api-key>'
{
  "drafts": [
    {
      "id": "<string>",
      "threadId": "<string>",
      "messageId": "<string>",
      "fromAddress": "<string>",
      "toAddress": "<string>",
      "ccAddresses": "<string>",
      "subject": "<string>",
      "inReplyTo": "<string>",
      "bodyText": "<string>",
      "bodyHtml": "<string>",
      "classificationScore": 123,
      "classifiedAt": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "thread": {
        "id": "<string>",
        "agentId": "<string>",
        "agentVersionId": "<string>",
        "toEmail": "<string>",
        "fromEmail": "<string>",
        "fromName": "<string>",
        "subject": "<string>"
      }
    }
  ],
  "pagination": {
    "limit": 10,
    "nextCursor": "<string>"
  }
}

Authorizations

X-API-Key
string
header
required

Query Parameters

limit
string
cursor
string
agentId
string<uuid>

Response

List of email drafts

drafts
object[]
required
pagination
object
required