Skip to content

Latest commit

 

History

History
86 lines (50 loc) · 2.52 KB

File metadata and controls

86 lines (50 loc) · 2.52 KB

MailSlurp\SentEmailsControllerApi

All URIs are relative to https://api.mailslurp.com

Method HTTP request Description
GetSentEmail Get /sent/{id} Get sent email receipt
GetSentEmails Get /sent Get all sent emails in paginated form

GetSentEmail

SentEmailDto GetSentEmail(ctx, id)

Get sent email receipt

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string id

Return type

SentEmailDto

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetSentEmails

PageSentEmailProjection GetSentEmails(ctx, optional)

Get all sent emails in paginated form

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
optional *GetSentEmailsOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetSentEmailsOpts struct

Name Type Description Notes
inboxId optional.Interface of string Optional inboxId to filter sender of sent emails by
page optional.Int32 Optional page index in inbox sent email list pagination [default to 0]
size optional.Int32 Optional page size in inbox sent email list pagination [default to 20]
sort optional.String Optional createdAt sort direction ASC or DESC [default to ASC]

Return type

PageSentEmailProjection

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]