All URIs are relative to http://proxiedmail.com
Method | HTTP request | Description |
---|---|---|
apiV1ReceivedEmailsLinksProxyBindingIdGet | GET /api/v1/received-emails-links/{proxyBindingId} | Get received emails list by proxy email (last 55) |
apiV1ReceivedEmailsReceivedEmailIdGet | GET /api/v1/received-emails/{receivedEmailId} | Get content of received email by id |
ApiV1ReceivedEmailsLinksProxyBindingIdGet200Response apiV1ReceivedEmailsLinksProxyBindingIdGet(proxyBindingId)
Get received emails list by proxy email (last 55)
import ProxiedMailApi from 'proxied_mail_api';
let defaultClient = ProxiedMailApi.ApiClient.instance;
// Configure API key authorization: api_key
let api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
let apiInstance = new ProxiedMailApi.ReceivedEmailApi();
let proxyBindingId = "proxyBindingId_example"; // String | proxyBindingId of proxy email that needs to be fetched
apiInstance.apiV1ReceivedEmailsLinksProxyBindingIdGet(proxyBindingId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
proxyBindingId | String | proxyBindingId of proxy email that needs to be fetched |
ApiV1ReceivedEmailsLinksProxyBindingIdGet200Response
- Content-Type: Not defined
- Accept: application/json
ApiV1ReceivedEmailsReceivedEmailIdGet200Response apiV1ReceivedEmailsReceivedEmailIdGet(receivedEmailId)
Get content of received email by id
import ProxiedMailApi from 'proxied_mail_api';
let defaultClient = ProxiedMailApi.ApiClient.instance;
// Configure API key authorization: api_key
let api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';
let apiInstance = new ProxiedMailApi.ReceivedEmailApi();
let receivedEmailId = "receivedEmailId_example"; // String | receivedEmailId of received email that needs to be fetched
apiInstance.apiV1ReceivedEmailsReceivedEmailIdGet(receivedEmailId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
receivedEmailId | String | receivedEmailId of received email that needs to be fetched |
ApiV1ReceivedEmailsReceivedEmailIdGet200Response
- Content-Type: Not defined
- Accept: application/json