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

MethodHTTP requestDescription
DeleteAllSentEmailsDelete /sentDelete all sent email receipts
DeleteSentEmailDelete /sent/{id}Delete sent email receipt
GetAllSentTrackingPixelsGet /sent/tracking-pixels
GetSentEmailGet /sent/{id}Get sent email receipt
GetSentEmailHTMLContentGet /sent/{id}/htmlGet sent email HTML content
GetSentEmailTrackingPixelsGet /sent/{id}/tracking-pixels
GetSentEmailsGet /sentGet all sent emails in paginated form
GetSentOrganizationEmailsGet /sent/organization

DeleteAllSentEmails

DeleteAllSentEmails(ctx, )

Delete all sent email receipts

Required Parameters

This endpoint does not need any parameter.

Return type

(empty response body)

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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

DeleteSentEmail

DeleteSentEmail(ctx, id)

Delete sent email receipt

Required Parameters

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

Return type

(empty response body)

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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

GetAllSentTrackingPixels

PageTrackingPixelProjection GetAllSentTrackingPixels(ctx, optional)

Get all sent email tracking pixels in paginated form

Required Parameters

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

Optional Parameters

Optional parameters are passed through a pointer to a GetAllSentTrackingPixelsOpts struct

NameTypeDescriptionNotes
pageoptional.Int32Optional page in sent email tracking pixel list pagination[default to 0]
sizeoptional.Int32Optional page size in sent email tracking pixel list pagination[default to 20]
sortoptional.StringOptional createdAt sort direction ASC or DESC[default to ASC]
searchFilteroptional.StringOptional search filter
sinceoptional.TimeFilter by created at after the given timestamp
beforeoptional.TimeFilter by created at before the given timestamp

Return type

PageTrackingPixelProjection

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

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

GetSentEmail

SentEmailDto GetSentEmail(ctx, id)

Get sent email receipt

Required Parameters

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

Return type

SentEmailDto

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

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

GetSentEmailHTMLContent

string GetSentEmailHTMLContent(ctx, id)

Get sent email HTML content

Required Parameters

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

Return type

string

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/html

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

GetSentEmailTrackingPixels

PageTrackingPixelProjection GetSentEmailTrackingPixels(ctx, id, optional)

Get all tracking pixels for a sent email in paginated form

Required Parameters

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

Optional Parameters

Optional parameters are passed through a pointer to a GetSentEmailTrackingPixelsOpts struct

NameTypeDescriptionNotes

page | optional.Int32| Optional page in sent email tracking pixel list pagination | [default to 0] size | optional.Int32| Optional page size in sent email tracking pixel list pagination | [default to 20] sort | optional.String| Optional createdAt sort direction ASC or DESC | [default to ASC] searchFilter | optional.String| Optional search filter | since | optional.Time| Filter by created at after the given timestamp | before | optional.Time| Filter by created at before the given timestamp |

Return type

PageTrackingPixelProjection

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

[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]
searchFilteroptional.StringOptional search filter
sinceoptional.TimeFilter by created at after the given timestamp
beforeoptional.TimeFilter by created at before the given timestamp

Return type

PageSentEmailProjection

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

[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 sent email list pagination[default to 0]
sizeoptional.Int32Optional page size in sent email list pagination[default to 20]
sortoptional.StringOptional createdAt sort direction ASC or DESC[default to ASC]
searchFilteroptional.StringOptional search filter
sinceoptional.TimeFilter by created at after the given timestamp
beforeoptional.TimeFilter by created at before the given timestamp

Return type

PageSentEmailProjection

Authorization

API_KEY

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

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