Skip to content

Sendpost Go API SDK. Will be shifted to a different organization with all the fixes soon.

Notifications You must be signed in to change notification settings

sendx/sendpost-api-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for swagger

SendPost API to send transactional emails reliably

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://api.sendpost.io/api/v1

Class Method HTTP request Description
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
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}
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}
AuthApi AuthRouterCreate Post /auth/create
AuthApi AuthRouterGetAuthInfo Post /auth/info
ClusterApi ClusterRouterAddItemsToSuppressionFilterOfEveryNodeInCluster Post /cluster/suppression/filter
ClusterApi ClusterRouterDeleteItemsFromSuppressionFilterOfEveryNodeInCluster Delete /cluster/suppression/filter
SmtpApi SMTPRouterReceiveWebhooksRaisedFromSMTPServers Post /smtp/webhook
SubaccountcleanlistApi ListCleaningRouterCleanBulkEmailList Post /subaccount/cleanlist/bulk
SubaccountcleanlistApi ListCleaningRouterCleanEmailist Post /subaccount/cleanlist/
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
SubaccountemailApi EmailRouterSendEmail Post /subaccount/email/
SubaccounteventApi EventRouterCountAllEventsFromANodeOfASubAccountForAGivenTimeRange Get /subaccount/event/node/{subAccountId}/count
SubaccounteventApi EventRouterCountAllEventsFromASubAccountForAGivenTimeRange Get /subaccount/event/count
SubaccounteventApi EventRouterGet Get /subaccount/event/{eventId}
SubaccounteventApi EventRouterGetAllEventTimestampKeysOfASubAccountFromASpecificNodeForAGivenTimeRange Get /subaccount/event/node/{subAccountId}/timestampkeys
SubaccounteventApi EventRouterGetAllEventsFromASubAccountForAGivenTimeRange Get /subaccount/event/
SubaccounteventApi EventRouterGetAllEventsOfASubAccountFromASpecificNodeForAGivenTimeRange Post /subaccount/event/node/{subAccountId}
SubaccounteventApi EventRouterGetEventInNode Get /subaccount/event/node/{subAccountId}/{eventId}
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}
SubaccountmessageApi MessageRouterGet Get /subaccount/message/{messageId}
SubaccountmessageApi MessageRouterGetAllEventsForAMessageId Get /subaccount/message/{messageId}/events
SubaccountmessageApi MessageRouterGetAllEventsForAMessageIdFromANode Get /subaccount/message/node/{subAccountId}/{messageId}/events
SubaccountmessageApi MessageRouterGetAllMessages Get /subaccount/message/
SubaccountmessageApi MessageRouterGetAllMessagesFromANode Post /subaccount/message/node/{subAccountId}
SubaccountmessageApi MessageRouterGetMessageFromNode Get /subaccount/message/node/{subAccountId}/{messageId}
SubaccountrecipientApi RecipientRouterGetAllMessagesForARecipient Get /subaccount/recipient/{recipient}/messages
SubaccountrecipientApi RecipientRouterGetAllMessagesForARecipientFromANode Get /subaccount/recipient/node/{subAccountId}/{recipient}/messages
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/
TrackApi TrackRouterTrackEmailOpen Get /track/open/{subAccountId}/{ipId}/{emailType}/{messageId}/1.png
TrackApi TrackRouterTrackLinkClick Get /track/click/{subAccountId}/{ipId}/{emailType}/{messageId}
TrackApi TrackRouterTrackUnsubscribe Get /track/unsubscribe/{subAccountId}/{messageId}

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

hello@sendx.io

About

Sendpost Go API SDK. Will be shifted to a different organization with all the fixes soon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published