SendPost API
- API version: 1.0.0
- Build date: 2020-11-27T05:08:14.940Z
SendPost API to send transactional emails reliably
Automatically generated by the Swagger Codegen
Building the API client library requires:
- Java 1.7+
- Maven/Gradle
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-java-client</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Add this dependency to your project's build file:
compile "io.swagger:swagger-java-client:1.0.0"
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/swagger-java-client-1.0.0.jar
target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccounteventApi;
import java.io.File;
import java.util.*;
public class AccounteventApiExample {
public static void main(String[] args) {
AccounteventApi apiInstance = new AccounteventApi();
String xAccountApiKey = "xAccountApiKey_example"; // String | Account API Key
String search = "search_example"; // String | search term
String type = "type_example"; // String | search type
String from = "from_example"; // String | from date
String to = "to_example"; // String | to date
String source = "source_example"; // String | data source from which to get timestamp keys subaccount or ip
String sourceId = "sourceId_example"; // String | source id from which to get timestamp keys subaccount or ip
try {
ModelsCountStat result = apiInstance.eventRouterCountAllEventsFromAAccountForAGivenTimeRange(xAccountApiKey, search, type, from, to, source, sourceId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccounteventApi#eventRouterCountAllEventsFromAAccountForAGivenTimeRange");
e.printStackTrace();
}
}
}
All URIs are relative to https://api.sendpost.io/api/v1
Class | Method | HTTP request | Description |
---|---|---|---|
AccounteventApi | eventRouterCountAllEventsFromAAccountForAGivenTimeRange | GET /account/event/count | |
AccounteventApi | eventRouterCountAllEventsFromANodeOfASubAccountForAGivenTimeRange | GET /account/event/node/count | |
AccounteventApi | eventRouterGet | GET /account/event/{eventId} | |
AccounteventApi | eventRouterGetAllEventTimestampKeysOfASubAccountFromASpecificNodeForAGivenTimeRange | GET /account/event/node/timestampkeys | |
AccounteventApi | eventRouterGetAllEventsOfAAccountFromASpecificNode | POST /account/event/node | |
AccounteventApi | eventRouterGetEventInNode | GET /account/event/node/{eventId} | |
AccountincidentApi | incidentRouterAdd | POST /account/incident/{incidentId}/comment | |
AccountincidentApi | incidentRouterCount | GET /account/incident/count | |
AccountincidentApi | incidentRouterCreate | POST /account/incident/ | |
AccountincidentApi | incidentRouterGetAll | GET /account/incident/ | |
AccountincidentApi | incidentRouterGetAllComments | GET /account/incident/{incidentId}/comment | |
AccountincidentApi | incidentRouterGetIncident | GET /account/incident/{incidentId} | |
AccountincidentApi | incidentRouterUpdate | PUT /account/incident/{incidentId} | |
AccountintegrationApi | accountIntegrationRouterCount | GET /account/integration/count | |
AccountintegrationApi | accountIntegrationRouterCreate | POST /account/integration/{itype} | |
AccountintegrationApi | accountIntegrationRouterDelete | DELETE /account/integration/{itype} | |
AccountintegrationApi | accountIntegrationRouterDisableGlockappsIPMonitoring | DELETE /account/integration/glockapps/monitor/{ipid} | |
AccountintegrationApi | accountIntegrationRouterEnableGlockappsIPMonitoring | POST /account/integration/glockapps/monitor/{ipid} | |
AccountintegrationApi | accountIntegrationRouterGetAll | GET /account/integration/ | |
AccountintegrationApi | accountIntegrationRouterGetMonitoredIPStats | GET /account/integration/glockapps/monitor/stat/{ipid} | |
AccountintegrationApi | accountIntegrationRouterUpdate | PUT /account/integration/{itype} | |
AccountipApi | iPRouterAllocateIP | POST /account/ip/allocate | |
AccountipApi | iPRouterCount | GET /account/ip/count | |
AccountipApi | iPRouterDelete | DELETE /account/ip/{ipid} | |
AccountipApi | iPRouterGet | GET /account/ip/{ipid} | |
AccountipApi | iPRouterGetAll | GET /account/ip/ | |
AccountipApi | iPRouterUpdate | PUT /account/ip/{ipid} | |
AccountippoolApi | accountIPPoolRouterCount | GET /account/ippool/count | |
AccountippoolApi | accountIPPoolRouterCreate | POST /account/ippool/ | |
AccountippoolApi | accountIPPoolRouterDelete | DELETE /account/ippool/{ippoolid} | |
AccountippoolApi | accountIPPoolRouterGet | GET /account/ippool/{ippoolid} | |
AccountippoolApi | accountIPPoolRouterGetAll | GET /account/ippool/ | |
AccountippoolApi | accountIPPoolRouterUpdate | PUT /account/ippool/{ippoolid} | |
AccountipstatApi | iPStatRouterGetAllAggregateIPStats | GET /account/ip/stat/{ipid}/aggregate | |
AccountipstatApi | iPStatRouterGetAllAggregateIPStatsByGroup | GET /account/ip/stat/{ipid}/aggregate/provider | |
AccountipstatApi | iPStatRouterGetAllAggregatedProviderStatsForAIP | GET /account/ip/stat/{ipid}/aggregate/providers | |
AccountipstatApi | iPStatRouterGetAllAggregatedProviderStatsForASpecificSubAccountOfAIP | GET /account/ip/stat/{ipid}/aggregate/sid/{sid}/providers | |
AccountipstatApi | iPStatRouterGetAllAggregatedSubAccountStatsForAnIP | GET /account/ip/stat/{ipid}/aggregate/subaccounts | |
AccountipstatApi | iPStatRouterGetAllIPStats | GET /account/ip/stat/{ipid} | |
AccountipstatApi | iPStatRouterGetAllIPStatsByGroup | GET /account/ip/stat/{ipid}/provider | |
AccountlabelApi | labelRouterCount | GET /account/label/count | |
AccountlabelApi | labelRouterCreate | POST /account/label/ | |
AccountlabelApi | labelRouterDelete | DELETE /account/label/{labelId} | |
AccountlabelApi | labelRouterGet | GET /account/label/{labelId} | |
AccountlabelApi | labelRouterGetAll | GET /account/label/ | |
AccountlabelApi | labelRouterUpdate | PUT /account/label/{labelId} | |
AccountmemberApi | memberRouterDelete | DELETE /account/member/{memberId} | |
AccountmemberApi | memberRouterGet | GET /account/member/{memberId} | |
AccountmemberApi | memberRouterGetAll | GET /account/member/ | |
AccountmessageApi | messageRouterGet | GET /account/message/{messageId} | |
AccountmessageApi | messageRouterGetAllEventsForAMessageId | GET /account/message/{messageId}/events | |
AccountmessageApi | messageRouterGetAllEventsForAMessageIdFromANode | GET /account/message/node/{messageId}/events | |
AccountmessageApi | messageRouterGetMessageFromNode | GET /account/message/node/{messageId} | |
AccountonboardingApi | onboardingRouterGetOnboardingChecklist | GET /account/onboarding/checklist | |
AccountpaymentApi | paymentRouterCreateCustomerPortal | POST /account/payment/portal | |
AccountpaymentApi | paymentRouterCreatePaymentSubscription | POST /account/payment/subscription | |
AccountpaymentApi | paymentRouterHandlePaymentWebhook | POST /account/payment/webhook | |
AccountrecipientApi | recipientRouterGetAllMessagesForARecipient | GET /account/recipient/{recipient}/messages | |
AccountrecipientApi | recipientRouterGetAllMessagesForARecipientFromANode | GET /account/recipient/node/{recipient}/messages | |
AccountsmtpstatApi | sMTPStatRouterGetAllAggregateIPProviderSMTPStats | GET /account/smtp/stat/ip/{ipid}/provider/{pname}/aggregate | |
AccountsmtpstatApi | sMTPStatRouterGetAllAggregateIPSMTPStats | GET /account/smtp/stat/ip/{ipid}/aggregate | |
AccountsmtpstatApi | sMTPStatRouterGetAllAggregateIPSMTPStatsForSubAccount | GET /account/smtp/stat/ip/{ipid}/subaccount/{sid}/aggregate | |
AccountsmtpstatApi | sMTPStatRouterGetAllAggregateSubAccountProviderSMTPStats | GET /account/smtp/stat/subaccount/{sid}/provider/{pname}/aggregate | |
AccountsmtpstatApi | sMTPStatRouterGetAllAggregateSubAccountSMTPStats | GET /account/smtp/stat/subaccount/{sid}/aggregate | |
AccountsmtpstatApi | sMTPStatRouterGetAllAggregateSubAccountSMTPStatsForIP | GET /account/smtp/stat/subaccount/{sid}/ip/{ipid}/aggregate | |
AccountstatApi | accountStatRouterGetAllAccountStats | GET /account/stat/ | |
AccountstatApi | accountStatRouterGetAllAccountStatsByGroup | GET /account/stat/group | |
AccountstatApi | accountStatRouterGetAllAggregateAccountStats | GET /account/stat/aggregate | |
AccountstatApi | accountStatRouterGetAllAggregateAccountStatsByGroup | GET /account/stat/aggregate/group | |
AccountsubaccountApi | subAccountRouterCount | GET /account/subaccount/count | |
AccountsubaccountApi | subAccountRouterCreate | POST /account/subaccount/ | |
AccountsubaccountApi | subAccountRouterDelete | DELETE /account/subaccount/{subAccountId} | |
AccountsubaccountApi | subAccountRouterGet | GET /account/subaccount/{subAccountId} | |
AccountsubaccountApi | subAccountRouterGetAll | GET /account/subaccount/ | |
AccountsubaccountApi | subAccountRouterUpdate | PUT /account/subaccount/{subAccountId} | |
AccounttagApi | tagRouterCreate | POST /account/tag/ | |
AccounttagApi | tagRouterDelete | DELETE /account/tag/{tagid} | |
AccounttagApi | tagRouterGetAll | GET /account/tag/ | |
AccounttemplateApi | accountTemplateRouterCreate | POST /account/template/ | |
AccounttemplateApi | accountTemplateRouterDelete | DELETE /account/template/{templateid} | |
AccounttemplateApi | accountTemplateRouterGet | GET /account/template/{templateid} | |
AccounttemplateApi | accountTemplateRouterGetAll | GET /account/template/ | |
AccounttemplateApi | accountTemplateRouterUpdate | PUT /account/template/{templateid} | |
AccountvalidationApi | validateRouterValidateEmailBulk | POST /account/validation/bulk | |
AccountvalidationApi | validationRouterCount | GET /account/validation/count | |
AccountvalidationApi | validationRouterDeleteValidation | DELETE /account/validation/ | |
AccountvalidationApi | validationRouterGetAll | GET /account/validation/ | |
AccountvalidationApi | validationRouterValidateEmailList | POST /account/validation/ | |
AccountwebhookApi | accountWebhookRouterCount | GET /account/webhook/count | |
AccountwebhookApi | accountWebhookRouterCreate | POST /account/webhook/ | |
AccountwebhookApi | accountWebhookRouterDelete | DELETE /account/webhook/{webhookId} | |
AccountwebhookApi | accountWebhookRouterGet | GET /account/webhook/{webhookId} | |
AccountwebhookApi | accountWebhookRouterGetAll | GET /account/webhook/ | |
AccountwebhookApi | accountWebhookRouterUpdate | PUT /account/webhook/{webhookId} | |
ClusterApi | clusterRouterDeleteItemFromCacheOfEveryNodeInCluster | DELETE /cluster/cache | |
ClusterApi | clusterRouterDeleteItemFromCacheOfSpecificNodeInCluster | DELETE /cluster/cache/node | |
EditorApi | editorApiRouterGetToken | GET /editor/ | |
SmtpApi | sMTPRouterReceiveWebhooksRaisedFromSMTPServers | POST /smtp/webhook | |
SubaccountdomainApi | domainRouterCount | GET /subaccount/domain/count | |
SubaccountdomainApi | domainRouterCreate | POST /subaccount/domain/ | |
SubaccountdomainApi | domainRouterDelete | DELETE /subaccount/domain/{domainId} | |
SubaccountdomainApi | domainRouterGet | GET /subaccount/domain/{domainId} | |
SubaccountdomainApi | domainRouterGetAll | GET /subaccount/domain/ | |
SubaccountdomainApi | domainRouterUpdate | PUT /subaccount/domain/{domainId} | |
SubaccountdomainApi | domainRouterVerify | POST /subaccount/domain/{domainId}/verify | |
SubaccountdomainApi | domainRouterVerifyByToken | POST /subaccount/domain/{domainId}/verify/email/{token} | |
SubaccountdomainApi | domainRouterVerifyRequest | POST /subaccount/domain/{domainId}/verify/email | |
SubaccountemailApi | emailRouterSendEmail | POST /subaccount/email/ | |
SubaccountemailApi | emailRouterSendEmailWithTemplate | POST /subaccount/email/template | |
SubaccountippoolApi | iPPoolRouterCount | GET /subaccount/ippool/count | |
SubaccountippoolApi | iPPoolRouterCreate | POST /subaccount/ippool/ | |
SubaccountippoolApi | iPPoolRouterDelete | DELETE /subaccount/ippool/{ippoolid} | |
SubaccountippoolApi | iPPoolRouterGet | GET /subaccount/ippool/{ippoolid} | |
SubaccountippoolApi | iPPoolRouterGetAll | GET /subaccount/ippool/ | |
SubaccountippoolApi | iPPoolRouterUpdate | PUT /subaccount/ippool/{ippoolid} | |
SubaccountsenderApi | senderRouterCount | GET /subaccount/sender/count | |
SubaccountsenderApi | senderRouterCreate | POST /subaccount/sender/ | |
SubaccountsenderApi | senderRouterDelete | DELETE /subaccount/sender/{senderId} | |
SubaccountsenderApi | senderRouterGet | GET /subaccount/sender/{senderId} | |
SubaccountsenderApi | senderRouterGetAll | GET /subaccount/sender/ | |
SubaccountsenderApi | senderRouterUpdate | PUT /subaccount/sender/{senderId} | |
SubaccountstatApi | subAccountStatRouterGetAllAggregateSubAccountStats | GET /subaccount/stat/aggregate | |
SubaccountstatApi | subAccountStatRouterGetAllAggregateSubAccountStatsByGroup | GET /subaccount/stat/aggregate/group | |
SubaccountstatApi | subAccountStatRouterGetAllAggregatedGroupStatsForASubAccount | GET /subaccount/stat/aggregate/groups | |
SubaccountstatApi | subAccountStatRouterGetAllAggregatedIPStatsForASubAccount | GET /subaccount/stat/aggregate/ips | |
SubaccountstatApi | subAccountStatRouterGetAllAggregatedProviderStatsForASpecificIPOfASubAccount | GET /subaccount/stat/aggregate/ip/{ipid}/providers | |
SubaccountstatApi | subAccountStatRouterGetAllAggregatedProviderStatsForASubAccount | GET /subaccount/stat/aggregate/providers | |
SubaccountstatApi | subAccountStatRouterGetAllSubAccountStats | GET /subaccount/stat/ | |
SubaccountstatApi | subAccountStatRouterGetAllSubAccountStatsByGroup | GET /subaccount/stat/group | |
SubaccountsuppressionApi | suppressionRouterCount | GET /subaccount/suppression/count | |
SubaccountsuppressionApi | suppressionRouterCreateSuppressions | POST /subaccount/suppression/ | |
SubaccountsuppressionApi | suppressionRouterCreateSuppressionsInSuppressionFilter | POST /subaccount/suppression/filter | |
SubaccountsuppressionApi | suppressionRouterDeleteSuppression | DELETE /subaccount/suppression/ | |
SubaccountsuppressionApi | suppressionRouterDeleteSuppressionsInSuppressionFilter | DELETE /subaccount/suppression/filter | |
SubaccountsuppressionApi | suppressionRouterGetAllSuppressions | GET /subaccount/suppression/ | |
SystemApi | systemTemplateRouterGetAllSystemTemplates | GET /system/template |
- Alert
- ModelsAGStat
- ModelsAIPStat
- ModelsAccount
- ModelsAccountIPPool
- ModelsAccountTemplate
- ModelsAccountWebhook
- ModelsAlertLabel
- ModelsAlertRequest
- ModelsAlertResponse
- ModelsAuthInfo
- ModelsBackOffConfiguration
- ModelsBackOffDecreaseType
- ModelsBackOffTrigger
- ModelsBillingPortalSession
- ModelsBulkResponse
- ModelsCity
- ModelsCleanedList
- ModelsComment
- ModelsCountStat
- ModelsCustomerQuality
- ModelsDNSRecord
- ModelsDeleteResponse
- ModelsDetailedAlert
- ModelsDomain
- ModelsEAccount
- ModelsEAccountMember
- ModelsEComment
- ModelsEDomain
- ModelsEIP
- ModelsEIPPool
- ModelsEIncident
- ModelsEIntegration
- ModelsEInvitation
- ModelsESender
- ModelsESubAccount
- ModelsEValidation
- ModelsEWebhook
- ModelsEditorTokenResponse
- ModelsEmailErrorCode
- ModelsEmailList
- ModelsEmailMessage
- ModelsEmailResponse
- ModelsEventMetadata
- ModelsEventType
- ModelsFrom
- ModelsGlockappsBlacklist
- ModelsGlockappsMonitorStat
- ModelsIEIP
- ModelsIEMember
- ModelsIESubAccount
- ModelsIETag
- ModelsIIP
- ModelsIP
- ModelsIPPool
- ModelsIPPoolType
- ModelsIPStat
- ModelsIPType
- ModelsIncident
- ModelsInstance
- ModelsIntegration
- ModelsIntegrationSettings
- ModelsInvitation
- ModelsInvitationStatus
- ModelsLabel
- ModelsMember
- ModelsMemberRole
- ModelsNotificationType
- ModelsOnboardingChecklist
- ModelsPIPStat
- ModelsPaymentOptions
- ModelsPaymentStatus
- ModelsQEmailMessage
- ModelsQEvent
- ModelsRDSuppression
- ModelsRGlockappsMonitorStat
- ModelsRIPStat
- ModelsRStat
- ModelsRSuppression
- ModelsReplyTo
- ModelsResponse
- ModelsSIPStat
- ModelsSMTPAuth
- ModelsSMTPStat
- ModelsSender
- ModelsSingleCleanedMail
- ModelsStat
- ModelsSubAccount
- ModelsSubAccountType
- ModelsSuppression
- ModelsSuppressionEmail
- ModelsSuppressionReason
- ModelsSystemDNSRecord
- ModelsSystemDomain
- ModelsSystemIPPool
- ModelsSystemTemplate
- ModelsTag
- ModelsTo
- ModelsValidation
- ModelsVerifyByTokenRequest
- ModelsWMessage
- UaparserDevice
- UaparserOs
- UaparserUserAgent
All endpoints do not require authorization. Authentication schemes defined for the API:
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.