BounceControllerApi

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

MethodHTTP requestDescription
get_bounced_emailget /bounce/emails/{id}Get a bounced email.
get_bounced_emailsget /bounce/emailsGet paginated list of bounced emails.
get_bounced_recipientget /bounce/recipients/{id}Get a bounced email.
get_bounced_recipientsget /bounce/recipientsGet paginated list of bounced recipients.

get_bounced_email

crate::models::BouncedEmailDto get_bounced_email(id) Get a bounced email.

Bounced emails are email you have sent that were rejected by a recipient

Parameters

NameTypeDescriptionRequiredNotes
idStringID of the bounced email to fetch[required]

Return type

crate::models::BouncedEmailDto

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 ]

get_bounced_emails

crate::models::PageBouncedEmail get_bounced_emails(before, page, since, size, sort) Get paginated list of bounced emails.

Bounced emails are email you have sent that were rejected by a recipient

Parameters

NameTypeDescriptionRequiredNotes
beforeOption<String>Filter by created at before the given timestamp
pageOption<i32>Optional page[default to 0]
sinceOption<String>Filter by created at after the given timestamp
sizeOption<i32>Optional page size[default to 20]
sortOption<String>Optional createdAt sort direction ASC or DESC[default to ASC]

Return type

crate::models::PageBouncedEmail

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 ]

get_bounced_recipient

crate::models::BouncedRecipientDto get_bounced_recipient(id) Get a bounced email.

Bounced emails are email you have sent that were rejected by a recipient

Parameters

NameTypeDescriptionRequiredNotes
idStringID of the bounced recipient[required]

Return type

crate::models::BouncedRecipientDto

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 ]

get_bounced_recipients

crate::models::PageBouncedRecipients get_bounced_recipients(before, page, since, size, sort) Get paginated list of bounced recipients.

Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address.

Parameters

NameTypeDescriptionRequiredNotes
beforeOption<String>Filter by created at before the given timestamp
pageOption<i32>Optional page[default to 0]
sinceOption<String>Filter by created at after the given timestamp
sizeOption<i32>Optional page size[default to 20]
sortOption<String>Optional createdAt sort direction ASC or DESC[default to ASC]

Return type

crate::models::PageBouncedRecipients

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 ]