Get a thread API

GET /v1/threads/{threadId} returns the sent and received mail of one conversation, oldest first.

View as MarkdownLast updated
http
GET /v1/threads/{threadId}

Needs the Read (messages:read) scope. threadId is a received email's thread_id.

FieldMeaning
id · agent_idThread and agent IDs
started_byWho started the conversation
subjectThe thread subject
created_at · last_message_atWhen it started and when the last message came
messagesSent and received mail, oldest first. Each entry has a direction (outbound or inbound).
quarantined.countHow many messages in this thread were quarantined

A missing thread returns 404 thread_not_found. Send replies with the reply API.

Feedback on this page? Write to support@atmark.ai.