How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AgentMail pods > threads API

The pods > threads API from AgentMail — 4 operation(s) for pods > threads.

AgentMail pods > threads API is one of 29 APIs that AgentMail publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include pods > threads. The published artifact set on APIs.io includes an OpenAPI specification, an AsyncAPI specification, API documentation, and an API reference.

This API exposes 6 operations across 4 paths, and defines 71 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 4 base URLs: https://api.agentmail.to, https://x402.api.agentmail.to, https://mpp.api.agentmail.to, https://api.agentmail.eu.

6 operations 4 paths 71 schemas 1 DELETE4 GET1 PATCH

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.agentmail.to
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

AgentMail pods > threads API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (Bearer).

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 1 DELETE, 4 GET, 1 PATCH. Each is listed below with its method, path, parameters, and response codes.

pods > threads 6
GET
/v0/pods/{pod_id}/threads
List Threads
list 15 params → 200404
GET
/v0/pods/{pod_id}/threads/search
Search Threads
search 7 params → 200400404
GET
/v0/pods/{pod_id}/threads/{thread_id}
Get Thread
get 3 params → 200404
PATCH
/v0/pods/{pod_id}/threads/{thread_id}
Update Thread
update 3 params body → 200400404422
DELETE
/v0/pods/{pod_id}/threads/{thread_id}
Delete Thread
delete 3 params → 200404
GET
/v0/pods/{pod_id}/threads/{thread_id}/attachments/{attachment_id}
Get Attachment
get-attachment 4 params → 200404

Schemas 71

The contract defines 71 schemas that model the data the API accepts and returns. The most detailed are type_messages_Message (23 properties), type_threads_Thread (17 properties), type_threads_SearchThreadItem (17 properties), type_threads_ThreadItem (16 properties). Each schema is shown below with its type and property counts.

type_threads_ThreadItem
object
16 properties 11 required
type__Labels
array
Labels to filter by.
type_messages_MessageSize
integer
Size of message in bytes.
type__Before
string
Timestamp before which to filter by.
type_threads_ThreadReceivedTimestamp
string
Timestamp of last received message.
type_attachments_AttachmentId
string
ID of attachment.
type_attachments_AttachmentSize
integer
Size of attachment in bytes.
type_attachments_Attachment
object
6 properties 2 required
type_threads_ThreadSubject
string
Subject of thread.
type_messages_MessageHeaders
object
Headers in message.
type_messages_MessageCreatedAt
string
Time at which message was created.
type_messages_MessageLabels
array
Labels of message.
type_threads_SearchThreadHighlights
object
Matched fragments per field on a thread search result, with matched terms wrapped in . A field key is present only when the query matched that field, so the pr…
4 properties
type__IncludeUnauthenticated
boolean
Include unauthenticated in results.
type_threads_ThreadSize
integer
Size of thread in bytes.
type_threads_ThreadTimestamp
string
Timestamp of last sent or received message.
type_messages_MessageUpdatedAt
string
Time at which message was last updated.
type__ErrorFix
string
The concrete next action that resolves the error.
type__Count
integer
Number of items returned.
type_threads_ThreadLabels
array
Labels of thread.
type__ValidationErrorResponse
object
6 properties 2 required
type__IncludeTrash
boolean
Include trash in results.
type_messages_MessageAttachments
array
Attachments in message.
type__IncludeSpam
boolean
Include spam in results.
type_threads_ThreadAttachments
array
Attachments in thread.
type_attachments_AttachmentContentId
string
Content ID of attachment.
type__ErrorName
string
Name of error.
type_messages_MessageText
string
Plain text body of message.
type_messages_MessageCc
array
Addresses of CC recipients. In format username@domain.com or Display Name .
type__ErrorResponse
object
5 properties 2 required
type_messages_MessageId
string
ID of message.
type_threads_ThreadUpdatedAt
string
Time at which thread was last updated.
type_messages_MessageTimestamp
string
Time at which message was sent or drafted.
type__ErrorMessage
string
Error message.
type__IncludeBlocked
boolean
Include blocked in results.
type_messages_MessageSubject
string
Subject of message.
type__PageToken
string
Page token for pagination.
type_messages_MessageTo
array
Addresses of recipients. In format username@domain.com or Display Name .
type_threads_UpdateThreadRequest
object
2 properties
type__Limit
integer
Limit of number of items returned.
type_pods_PodId
string
ID of pod.
type__ErrorCode
string
Stable, machine-readable error code in snakecase (for example, notfound or missingpermission). Branch on this rather than the message text.
type_threads_ThreadRecipients
array
Recipients in thread. In format username@domain.com or Display Name .
type_threads_SearchThreadItem
object
17 properties 11 required
type__Query
string
Full-text search query. Matched against the sender, recipients, and subject (substring) and the message body (tokenized full text).
type_attachments_AttachmentFilename
string
Filename of attachment.
type__After
string
Timestamp after which to filter by.
type_messages_MessagePreview
string
Text preview of message.
type_messages_MessageFrom
string
Address of sender. In format username@domain.com or Display Name .
type_messages_MessageBcc
array
Addresses of BCC recipients. In format username@domain.com or Display Name .
type_attachments_AttachmentResponse
object
8 properties 4 required
type_threads_ListThreadsResponse
object
4 properties 2 required
type_threads_SearchThreadsResponse
object
4 properties 2 required
type_threads_ThreadMessageCount
integer
Number of messages in thread.
type_messages_MessageInReplyTo
string
ID of message being replied to.
type_messages_MessageReferences
array
IDs of previous messages in thread.
type_threads_ThreadSenders
array
Senders in thread. In format username@domain.com or Display Name .
type_attachments_AttachmentContentDisposition
string
Content disposition of attachment.
type_messages_Message
object
23 properties 10 required
type_inboxes_InboxId
string
The ID of the inbox.
type_threads_ThreadPreview
string
Text preview of last message in thread.
type_attachments_AttachmentContentType
string
Content type of attachment.
type_threads_ThreadSentTimestamp
string
Timestamp of last sent message.
type_threads_ThreadCreatedAt
string
Time at which thread was created.
type_threads_Thread
object
17 properties 12 required
type_messages_MessageHtml
string
HTML body of message.
type_threads_ThreadLastMessageId
string
ID of last message in thread.
type__Ascending
boolean
Sort in ascending temporal order.
type_threads_UpdateThreadResponse
object
2 properties 2 required
type_threads_ThreadId
string
ID of thread.
type__ErrorDocs
string
Link to the error reference entry for this code.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

agentmail-pods-threads-api-openapi.yml Raw ↑

Other APIs AgentMail publishes across the network.

AgentMail agent API
AgentMail api-keys API
AgentMail auth API
AgentMail domains API
AgentMail drafts API
AgentMail inboxes > api-keys API
AgentMail inboxes API
AgentMail inboxes > drafts API
AgentMail inboxes > events API
AgentMail inboxes > lists API
AgentMail inboxes > messages API
AgentMail inboxes > metrics API
Where this information came from

This is an independent, third-party profile of AgentMail pods > threads API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.