mailslurp.api.SentEmailsControllerApi
Load the API package
All URIs are relative to https://api.mailslurp.com
Method | HTTP request | Description |
---|---|---|
deleteAllSentEmails | DELETE /sent | Delete all sent email receipts |
deleteSentEmail | DELETE /sent/{id} | Delete sent email receipt |
getAllSentTrackingPixels | GET /sent/tracking-pixels | |
getRawSentEmailContents | GET /sent/{emailId}/raw | Get raw sent email string. Returns unparsed raw SMTP message with headers and body. |
getRawSentEmailJson | GET /sent/{emailId}/raw/json | Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format. |
getSentDeliveryStatus | GET /sent/delivery-status/{deliveryId} | |
getSentDeliveryStatuses | GET /sent/delivery-status | |
getSentDeliveryStatusesBySentId | GET /sent/{sentId}/delivery-status | |
getSentEmail | GET /sent/{id} | Get sent email receipt |
getSentEmailHTMLContent | GET /sent/{id}/html | Get sent email HTML content |
getSentEmailPreviewURLs | GET /sent/{id}/urls | Get sent email URL for viewing in browser or downloading |
getSentEmailTrackingPixels | GET /sent/{id}/tracking-pixels | |
getSentEmails | GET /sent | Get all sent emails in paginated form |
getSentEmailsWithQueueResults | GET /sent/queue-results | Get results of email sent with queues in paginated form |
getSentOrganizationEmails | GET /sent/organization | |
waitForDeliveryStatuses | GET /sent/delivery-status/wait-for |
deleteAllSentEmails()
Delete all sent email receipts
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
try {
api_instance.deleteAllSentEmails();
} catch (e) {
print('Exception when calling SentEmailsControllerApi->deleteAllSentEmails: $en');
}
Parameters
This endpoint does not need any parameter.
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to ]
deleteSentEmail(id)
Delete sent email receipt
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
try {
api_instance.deleteSentEmail(id);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->deleteSentEmail: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | String |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to ]
PageTrackingPixelProjection getAllSentTrackingPixels(page, size, sort, searchFilter, since, before)
Get all sent email tracking pixels in paginated form
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final page = 56; // int | Optional page in sent email tracking pixel list pagination
final size = 56; // int | Optional page size in sent email tracking pixel list pagination
final sort = sort_example; // String | Optional createdAt sort direction ASC or DESC
final searchFilter = searchFilter_example; // String | Optional search filter
final since = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at after the given timestamp
final before = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at before the given timestamp
try {
final result = api_instance.getAllSentTrackingPixels(page, size, sort, searchFilter, since, before);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getAllSentTrackingPixels: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
page | int | Optional page in sent email tracking pixel list pagination | [optional] [default to 0] |
size | int | Optional page size in sent email tracking pixel list pagination | [optional] [default to 20] |
sort | String | Optional createdAt sort direction ASC or DESC | [optional] [default to 'ASC'] |
searchFilter | String | Optional search filter | [optional] |
since | DateTime | Filter by created at after the given timestamp | [optional] |
before | DateTime | Filter by created at before the given timestamp | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
String getRawSentEmailContents(emailId)
Get raw sent email string. Returns unparsed raw SMTP message with headers and body.
Returns a raw, unparsed, and unprocessed sent email. If your client has issues processing the response it is likely due to the response content-type which is text/plain. If you need a JSON response content-type use the getRawSentEmailJson endpoint
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final emailId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | ID of email
try {
final result = api_instance.getRawSentEmailContents(emailId);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getRawSentEmailContents: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
emailId | String | ID of email |
Return type
String
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: text/plain
[Back to top] [Back to API list] [Back to Model list] [Back to ]
RawEmailJson getRawSentEmailJson(emailId)
Get raw sent email in JSON. Unparsed SMTP message in JSON wrapper format.
Returns a raw, unparsed, and unprocessed sent email wrapped in a JSON response object for easier handling when compared with the getRawSentEmail text/plain response
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final emailId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | ID of email
try {
final result = api_instance.getRawSentEmailJson(emailId);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getRawSentEmailJson: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
emailId | String | ID of email |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
DeliveryStatusDto getSentDeliveryStatus(deliveryId)
Get a sent email delivery status
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final deliveryId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
try {
final result = api_instance.getSentDeliveryStatus(deliveryId);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentDeliveryStatus: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
deliveryId | String |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
PageDeliveryStatus getSentDeliveryStatuses(page, size, sort, since, before)
Get all sent email delivery statuses
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final page = 56; // int | Optional page in delivery status list pagination
final size = 56; // int | Optional page size in delivery status list pagination
final sort = sort_example; // String | Optional createdAt sort direction ASC or DESC
final since = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at after the given timestamp
final before = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at before the given timestamp
try {
final result = api_instance.getSentDeliveryStatuses(page, size, sort, since, before);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentDeliveryStatuses: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
page | int | Optional page in delivery status list pagination | [optional] [default to 0] |
size | int | Optional page size in delivery status list pagination | [optional] [default to 20] |
sort | String | Optional createdAt sort direction ASC or DESC | [optional] [default to 'ASC'] |
since | DateTime | Filter by created at after the given timestamp | [optional] |
before | DateTime | Filter by created at before the given timestamp | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
PageDeliveryStatus getSentDeliveryStatusesBySentId(sentId, page, size, sort, since, before)
Get all sent email delivery statuses
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final sentId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
final page = 56; // int | Optional page in delivery status list pagination
final size = 56; // int | Optional page size in delivery status list pagination
final sort = sort_example; // String | Optional createdAt sort direction ASC or DESC
final since = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at after the given timestamp
final before = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at before the given timestamp
try {
final result = api_instance.getSentDeliveryStatusesBySentId(sentId, page, size, sort, since, before);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentDeliveryStatusesBySentId: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
sentId | String | ||
page | int | Optional page in delivery status list pagination | [optional] [default to 0] |
size | int | Optional page size in delivery status list pagination | [optional] [default to 20] |
sort | String | Optional createdAt sort direction ASC or DESC | [optional] [default to 'ASC'] |
since | DateTime | Filter by created at after the given timestamp | [optional] |
before | DateTime | Filter by created at before the given timestamp | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
SentEmailDto getSentEmail(id)
Get sent email receipt
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
try {
final result = api_instance.getSentEmail(id);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentEmail: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | String |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
String getSentEmailHTMLContent(id)
Get sent email HTML content
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
try {
final result = api_instance.getSentEmailHTMLContent(id);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentEmailHTMLContent: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | String |
Return type
String
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: text/html
[Back to top] [Back to API list] [Back to Model list] [Back to ]
EmailPreviewUrls getSentEmailPreviewURLs(id)
Get sent email URL for viewing in browser or downloading
Get a list of URLs for sent email content as text/html or raw SMTP message for viewing the message in a browser.
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
try {
final result = api_instance.getSentEmailPreviewURLs(id);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentEmailPreviewURLs: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | String |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
PageTrackingPixelProjection getSentEmailTrackingPixels(id, page, size, sort, searchFilter, since, before)
Get all tracking pixels for a sent email in paginated form
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final id = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String |
final page = 56; // int | Optional page in sent email tracking pixel list pagination
final size = 56; // int | Optional page size in sent email tracking pixel list pagination
final sort = sort_example; // String | Optional createdAt sort direction ASC or DESC
final searchFilter = searchFilter_example; // String | Optional search filter
final since = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at after the given timestamp
final before = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at before the given timestamp
try {
final result = api_instance.getSentEmailTrackingPixels(id, page, size, sort, searchFilter, since, before);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentEmailTrackingPixels: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
page | int | Optional page in sent email tracking pixel list pagination | [optional] [default to 0] |
size | int | Optional page size in sent email tracking pixel list pagination | [optional] [default to 20] |
sort | String | Optional createdAt sort direction ASC or DESC | [optional] [default to 'ASC'] |
searchFilter | String | Optional search filter | [optional] |
since | DateTime | Filter by created at after the given timestamp | [optional] |
before | DateTime | Filter by created at before the given timestamp | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
PageSentEmailProjection getSentEmails(inboxId, page, size, sort, searchFilter, since, before)
Get all sent emails in paginated form
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final inboxId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | Optional inboxId to filter sender of sent emails by
final page = 56; // int | Optional page in inbox sent email list pagination
final size = 56; // int | Optional page size in inbox sent email list pagination
final sort = sort_example; // String | Optional createdAt sort direction ASC or DESC
final searchFilter = searchFilter_example; // String | Optional search filter
final since = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at after the given timestamp
final before = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at before the given timestamp
try {
final result = api_instance.getSentEmails(inboxId, page, size, sort, searchFilter, since, before);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentEmails: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
inboxId | String | Optional inboxId to filter sender of sent emails by | [optional] |
page | int | Optional page in inbox sent email list pagination | [optional] [default to 0] |
size | int | Optional page size in inbox sent email list pagination | [optional] [default to 20] |
sort | String | Optional createdAt sort direction ASC or DESC | [optional] [default to 'ASC'] |
searchFilter | String | Optional search filter | [optional] |
since | DateTime | Filter by created at after the given timestamp | [optional] |
before | DateTime | Filter by created at before the given timestamp | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
PageSentEmailWithQueueProjection getSentEmailsWithQueueResults(page, size, sort, since, before)
Get results of email sent with queues in paginated form
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final page = 56; // int | Optional page in inbox sent email list pagination
final size = 56; // int | Optional page size in inbox sent email list pagination
final sort = sort_example; // String | Optional createdAt sort direction ASC or DESC
final since = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at after the given timestamp
final before = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at before the given timestamp
try {
final result = api_instance.getSentEmailsWithQueueResults(page, size, sort, since, before);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentEmailsWithQueueResults: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
page | int | Optional page in inbox sent email list pagination | [optional] [default to 0] |
size | int | Optional page size in inbox sent email list pagination | [optional] [default to 20] |
sort | String | Optional createdAt sort direction ASC or DESC | [optional] [default to 'ASC'] |
since | DateTime | Filter by created at after the given timestamp | [optional] |
before | DateTime | Filter by created at before the given timestamp | [optional] |
Return type
PageSentEmailWithQueueProjection
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
PageSentEmailProjection getSentOrganizationEmails(inboxId, page, size, sort, searchFilter, since, before)
Get all sent organization emails in paginated form
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final inboxId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | Optional inboxId to filter sender of sent emails by
final page = 56; // int | Optional page in sent email list pagination
final size = 56; // int | Optional page size in sent email list pagination
final sort = sort_example; // String | Optional createdAt sort direction ASC or DESC
final searchFilter = searchFilter_example; // String | Optional search filter
final since = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at after the given timestamp
final before = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at before the given timestamp
try {
final result = api_instance.getSentOrganizationEmails(inboxId, page, size, sort, searchFilter, since, before);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->getSentOrganizationEmails: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
inboxId | String | Optional inboxId to filter sender of sent emails by | [optional] |
page | int | Optional page in sent email list pagination | [optional] [default to 0] |
size | int | Optional page size in sent email list pagination | [optional] [default to 20] |
sort | String | Optional createdAt sort direction ASC or DESC | [optional] [default to 'ASC'] |
searchFilter | String | Optional search filter | [optional] |
since | DateTime | Filter by created at after the given timestamp | [optional] |
before | DateTime | Filter by created at before the given timestamp | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]
DeliveryStatusDto waitForDeliveryStatuses(sentId, inboxId, timeout, , since, before)
Wait for delivery statuses
Example
import 'package:mailslurp/api.dart';
// TODO Configure API key authorization: API_KEY
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('API_KEY').apiKeyPrefix = 'Bearer';
final api_instance = SentEmailsControllerApi();
final sentId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | Optional sent email ID filter
final inboxId = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // String | Optional inbox ID filter
final timeout = 789; // int | Optional timeout milliseconds
final = 56; // int | Zero based of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass =1
final since = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at after the given timestamp
final before = 2013-10-20T19:20:30+01:00; // DateTime | Filter by created at before the given timestamp
try {
final result = api_instance.waitForDeliveryStatuses(sentId, inboxId, timeout, , since, before);
print(result);
} catch (e) {
print('Exception when calling SentEmailsControllerApi->waitForDeliveryStatuses: $en');
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
sentId | String | Optional sent email ID filter | [optional] |
inboxId | String | Optional inbox ID filter | [optional] |
timeout | int | Optional timeout milliseconds | [optional] |
**** | int | Zero based of the delivery status to wait for. If 1 delivery status already and you want to wait for the 2nd pass =1 | [optional] |
since | DateTime | Filter by created at after the given timestamp | [optional] |
before | DateTime | Filter by created at before the given timestamp | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to ]