Skip to main content
GET
/
api
/
v1
/
email
/
threads
/
{threadId}
/
messages
Get messages for an email thread
curl --request GET \
  --url https://prod.featherhq.com/api/v1/email/threads/{threadId}/messages \
  --header 'X-API-Key: <api-key>'
{
  "thread": {
    "id": "<string>",
    "agentId": "<string>",
    "agentVersionId": "<string>",
    "organizationId": "<string>",
    "toEmail": "<string>",
    "fromEmail": "<string>",
    "fromName": "<string>",
    "subject": "<string>",
    "isActive": true,
    "messages": [
      {
        "id": "<string>",
        "threadId": "<string>",
        "direction": "INBOUND",
        "status": "QUEUED",
        "messageId": "<string>",
        "fromAddress": "<string>",
        "toAddress": "<string>",
        "ccAddresses": "<string>",
        "subject": "<string>",
        "inReplyTo": "<string>",
        "bodyText": "<string>",
        "bodyHtml": "<string>",
        "providerMessageId": "<string>",
        "errorCode": "<string>",
        "errorMessage": "<string>",
        "bounceType": "<string>",
        "sentAt": "<string>",
        "deliveredAt": "<string>",
        "openedAt": "<string>",
        "bouncedAt": "<string>",
        "createdAt": "<string>",
        "updatedAt": "<string>"
      }
    ],
    "pagination": {
      "limit": 10,
      "nextCursor": "<string>"
    }
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

threadId
string<uuid>
required

Query Parameters

limit
string
cursor
string
direction
enum<string>
Available options:
INBOUND,
OUTBOUND
status
enum<string>
Available options:
QUEUED,
SENDING,
SENT,
DELIVERED,
OPENED,
BOUNCED,
FAILED,
SPAM,
RECEIVED

Response

Email thread messages

thread
object
required