MailSlurpSentEmailsControllerApi

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

MethodHTTP requestDescription
GetSentEmailGet /sent/{id}Get sent email receipt
GetSentEmailsGet /sentGet all sent emails in paginated form
GetSentOrganizationEmailsGet /sent/organizationGet all sent organization emails in paginated form

GetSentEmail

SentEmailDto GetSentEmail(ctx, id)

Get sent email receipt

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
idstringid

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 ]

GetSentEmails

PageSentEmailProjection GetSentEmails(ctx, optional)

Get all sent emails in paginated form

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
optional*GetSentEmailsOptsoptional parametersnil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetSentEmailsOpts struct

NameTypeDescriptionNotes
inboxIdoptional.Interface of stringOptional inboxId to filter sender of sent emails by
pageoptional.Int32Optional page in inbox sent email list pagination[default to 0]
sizeoptional.Int32Optional page size in inbox sent email list pagination[default to 20]
sortoptional.StringOptional 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 ]

GetSentOrganizationEmails

PageSentEmailProjection GetSentOrganizationEmails(ctx, optional)

Get all sent organization emails in paginated form

Required Parameters

NameTypeDescriptionNotes
ctxcontext.Contextcontext for authentication, logging, cancellation, deadlines, tracing, etc.
optional*GetSentOrganizationEmailsOptsoptional parametersnil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a GetSentOrganizationEmailsOpts struct

NameTypeDescriptionNotes
inboxIdoptional.Interface of stringOptional inboxId to filter sender of sent emails by
pageoptional.Int32Optional page in inbox sent email list pagination[default to 0]
sizeoptional.Int32Optional page size in inbox sent email list pagination[default to 20]
sortoptional.StringOptional 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 ]