Get a conversation thread by id
Changed onReturns a conversation thread: its metadata plus the inbound and outbound messages that belong to it, interleaved in time order (oldest first). A thread spans both received emails and your sends, so an agent can reconstruct an entire back-and-forth from one call instead of walking reply headers.
Each message carries a direction (inbound | outbound) and an id; fetch the full message via /emails/{id} or /sent-emails/{id} accordingly. Bodies are omitted here to keep the thread view lightweight.
Discover a thread id from the thread_id field on any email or sent-email (list or detail). The message list is capped; compare message_count against messages.length to detect truncation.
Request
- Base URLhttps://api.primitive.dev/v1
- URLhttps://api.primitive.dev/v1/threads/{id}
- AuthHTTP bearer
Query parameters
The id of an inbound email or sent email in this thread that you can read. Adds newer_inbound_count and newer_inbound to the response: the inbound mail in the thread that arrived after it. Use it before acting on a message to learn whether newer messages have arrived since. An id that is not a message in this thread you can read is a 400 validation_error.
Response
Thread detail
Changes
- warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_changedenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
agent_limitenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
already_memberenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
directory_limitenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_acceptedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_changedenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_pendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_sendingenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitation_unconfirmedenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
invitations_pendingenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
member_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
project_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status - warning
added the new
recipient_changedenum value to the/response property for the response status
- warning
- warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_busyenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_invalidenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_limit_exceededenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsafe_pathenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
archive_unsupportedenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_name_ambiguousenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
attachment_not_archiveenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_mismatchenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
latest_message_thread_unresolvedenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
sent_mail_search_unavailableenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status - warning
added the new
thread_busyenum value to the/response property for the response status
- warning