Skip to main content
A thread is one conversation. SentFromAI reconstructs threads from RFC-5322 headers (Message-ID, In-Reply-To, References), so an exchange between your agent and a customer stays together — and threads correctly in their mail client too.

List threads

Read a thread

GET /threads/{id} returns the full conversation, oldest first, with bodies and attachments inlined:

Single message

GET /messages/{id} returns one message with its delivery_status, attachments (with signed URLs), and any labels.

Keep replies in-thread

When you reply or forward, SentFromAI sets the threading headers for you. If you send a fresh POST /messages that should join an existing thread, pass in_reply_to (and optionally references) from the message you’re answering.