Package io.mailtrap.api.inbound
Interface InboundThreads
- All Known Implementing Classes:
InboundThreadsImpl
public interface InboundThreads
Interface representing the Mailtrap Inbound Email API for conversation threads.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a thread.Get a single thread with its messages embedded (oldest first).List conversation threads in an inbox.
-
Method Details
-
list
List conversation threads in an inbox.- Parameters:
inboxId- the inbox IDlastId- pagination cursor from a previous response (nullfor the first page)- Returns:
- a page of threads
-
get
Get a single thread with its messages embedded (oldest first).- Parameters:
inboxId- the inbox IDthreadId- the thread ID- Returns:
- the thread
-
delete
Delete a thread.- Parameters:
inboxId- the inbox IDthreadId- the thread ID
-