← Back to AgentMail
GET/v0/inboxes/{inbox_id}/threads/{thread_id}
Get Thread
Get a thread and all its messages. Returns the full conversation including message bodies, timestamps, and metadata.
AgentMail·Free
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "agentmail",
path: "/v0/inboxes/{inbox_id}/threads/{thread_id}"
});
console.log(output);