Go API client for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

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: 3.0.76
  • 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://server.api.mailchimp.com/3.0

Class Method HTTP request Description
AccountExportApi GetAccountExportId Get /account-exports/{export_id} Get account export info
AccountExportsApi GetAccountExports Get /account-exports List account exports
AccountExportsApi PostAccountExport Post /account-exports Add export
ActivityFeedApi GetActivityFeedChimpChatter Get /activity-feed/chimp-chatter Get latest chimp chatter
AuthorizedAppsApi GetAuthorizedApps Get /authorized-apps List authorized apps
AuthorizedAppsApi GetAuthorizedAppsId Get /authorized-apps/{app_id} Get authorized app info
AutomationsApi ArchiveAutomations Post /automations/{workflow_id}/actions/archive Archive automation
AutomationsApi DeleteAutomationsIdEmailsId Delete /automations/{workflow_id}/emails/{workflow_email_id} Delete workflow email
AutomationsApi GetAutomations Get /automations List automations
AutomationsApi GetAutomationsId Get /automations/{workflow_id} Get automation info
AutomationsApi GetAutomationsIdEmails Get /automations/{workflow_id}/emails List automated emails
AutomationsApi GetAutomationsIdEmailsId Get /automations/{workflow_id}/emails/{workflow_email_id} Get workflow email info
AutomationsApi GetAutomationsIdEmailsIdQueue Get /automations/{workflow_id}/emails/{workflow_email_id}/queue List automated email subscribers
AutomationsApi GetAutomationsIdEmailsIdQueueId Get /automations/{workflow_id}/emails/{workflow_email_id}/queue/{subscriber_hash} Get automated email subscriber
AutomationsApi GetAutomationsIdRemovedSubscribers Get /automations/{workflow_id}/removed-subscribers List subscribers removed from workflow
AutomationsApi GetAutomationsIdRemovedSubscribersId Get /automations/{workflow_id}/removed-subscribers/{subscriber_hash} Get subscriber removed from workflow
AutomationsApi PatchAutomationEmailWorkflowId Patch /automations/{workflow_id}/emails/{workflow_email_id} Update workflow email
AutomationsApi PostAutomations Post /automations Add automation
AutomationsApi PostAutomationsIdActionsPauseAllEmails Post /automations/{workflow_id}/actions/pause-all-emails Pause automation emails
AutomationsApi PostAutomationsIdActionsStartAllEmails Post /automations/{workflow_id}/actions/start-all-emails Start automation emails
AutomationsApi PostAutomationsIdEmailsIdActionsPause Post /automations/{workflow_id}/emails/{workflow_email_id}/actions/pause Pause automated email
AutomationsApi PostAutomationsIdEmailsIdActionsStart Post /automations/{workflow_id}/emails/{workflow_email_id}/actions/start Start automated email
AutomationsApi PostAutomationsIdEmailsIdQueue Post /automations/{workflow_id}/emails/{workflow_email_id}/queue Add subscriber to workflow email
AutomationsApi PostAutomationsIdRemovedSubscribers Post /automations/{workflow_id}/removed-subscribers Remove subscriber from workflow
BatchWebhooksApi DeleteBatchWebhookId Delete /batch-webhooks/{batch_webhook_id} Delete batch webhook
BatchWebhooksApi GetBatchWebhook Get /batch-webhooks/{batch_webhook_id} Get batch webhook info
BatchWebhooksApi GetBatchWebhooks Get /batch-webhooks List batch webhooks
BatchWebhooksApi PatchBatchWebhooks Patch /batch-webhooks/{batch_webhook_id} Update batch webhook
BatchWebhooksApi PostBatchWebhooks Post /batch-webhooks Add batch webhook
BatchesApi DeleteBatchesId Delete /batches/{batch_id} Delete batch request
BatchesApi GetBatches Get /batches List batch requests
BatchesApi GetBatchesId Get /batches/{batch_id} Get batch operation status
BatchesApi PostBatches Post /batches Start batch operation
CampaignFoldersApi DeleteCampaignFoldersId Delete /campaign-folders/{folder_id} Delete campaign folder
CampaignFoldersApi GetCampaignFolders Get /campaign-folders List campaign folders
CampaignFoldersApi GetCampaignFoldersId Get /campaign-folders/{folder_id} Get campaign folder
CampaignFoldersApi PatchCampaignFoldersId Patch /campaign-folders/{folder_id} Update campaign folder
CampaignFoldersApi PostCampaignFolders Post /campaign-folders Add campaign folder
CampaignsApi DeleteCampaignsId Delete /campaigns/{campaign_id} Delete campaign
CampaignsApi DeleteCampaignsIdFeedbackId Delete /campaigns/{campaign_id}/feedback/{feedback_id} Delete campaign feedback message
CampaignsApi GetCampaigns Get /campaigns List campaigns
CampaignsApi GetCampaignsId Get /campaigns/{campaign_id} Get campaign info
CampaignsApi GetCampaignsIdContent Get /campaigns/{campaign_id}/content Get campaign content
CampaignsApi GetCampaignsIdFeedback Get /campaigns/{campaign_id}/feedback List campaign feedback
CampaignsApi GetCampaignsIdFeedbackId Get /campaigns/{campaign_id}/feedback/{feedback_id} Get campaign feedback message
CampaignsApi GetCampaignsIdSendChecklist Get /campaigns/{campaign_id}/send-checklist Get campaign send checklist
CampaignsApi PatchCampaignsId Patch /campaigns/{campaign_id} Update campaign settings
CampaignsApi PatchCampaignsIdFeedbackId Patch /campaigns/{campaign_id}/feedback/{feedback_id} Update campaign feedback message
CampaignsApi PostCampaigns Post /campaigns Add campaign
CampaignsApi PostCampaignsIdActionsCancelSend Post /campaigns/{campaign_id}/actions/cancel-send Cancel campaign
CampaignsApi PostCampaignsIdActionsCreateResend Post /campaigns/{campaign_id}/actions/create-resend Resend campaign
CampaignsApi PostCampaignsIdActionsPause Post /campaigns/{campaign_id}/actions/pause Pause rss campaign
CampaignsApi PostCampaignsIdActionsReplicate Post /campaigns/{campaign_id}/actions/replicate Replicate campaign
CampaignsApi PostCampaignsIdActionsResume Post /campaigns/{campaign_id}/actions/resume Resume rss campaign
CampaignsApi PostCampaignsIdActionsSchedule Post /campaigns/{campaign_id}/actions/schedule Schedule campaign
CampaignsApi PostCampaignsIdActionsSend Post /campaigns/{campaign_id}/actions/send Send campaign
CampaignsApi PostCampaignsIdActionsTest Post /campaigns/{campaign_id}/actions/test Send test email
CampaignsApi PostCampaignsIdActionsUnschedule Post /campaigns/{campaign_id}/actions/unschedule Unschedule campaign
CampaignsApi PostCampaignsIdFeedback Post /campaigns/{campaign_id}/feedback Add campaign feedback
CampaignsApi PutCampaignsIdContent Put /campaigns/{campaign_id}/content Set campaign content
ConnectedSitesApi DeleteConnectedSitesId Delete /connected-sites/{connected_site_id} Delete connected site
ConnectedSitesApi GetConnectedSites Get /connected-sites List connected sites
ConnectedSitesApi GetConnectedSitesId Get /connected-sites/{connected_site_id} Get connected site
ConnectedSitesApi PostConnectedSites Post /connected-sites Add connected site
ConnectedSitesApi PostConnectedSitesIdActionsVerifyScriptInstallation Post /connected-sites/{connected_site_id}/actions/verify-script-installation Verify connected site script
ConversationsApi GetConversations Get /conversations List conversations
ConversationsApi GetConversationsId Get /conversations/{conversation_id} Get conversation
ConversationsApi GetConversationsIdMessages Get /conversations/{conversation_id}/messages List messages
ConversationsApi GetConversationsIdMessagesId Get /conversations/{conversation_id}/messages/{message_id} Get message
CustomerJourneysApi PostCustomerJourneysJourneysIdStepsIdActionsTrigger Post /customer-journeys/journeys/{journey_id}/steps/{step_id}/actions/trigger Customer Journeys API trigger for a contact
EcommerceApi DeleteEcommerceStoresId Delete /ecommerce/stores/{store_id} Delete store
EcommerceApi DeleteEcommerceStoresIdCartsId Delete /ecommerce/stores/{store_id}/carts/{cart_id} Delete cart
EcommerceApi DeleteEcommerceStoresIdCartsLinesId Delete /ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id} Delete cart line item
EcommerceApi DeleteEcommerceStoresIdCustomersId Delete /ecommerce/stores/{store_id}/customers/{customer_id} Delete customer
EcommerceApi DeleteEcommerceStoresIdOrdersId Delete /ecommerce/stores/{store_id}/orders/{order_id} Delete order
EcommerceApi DeleteEcommerceStoresIdOrdersIdLinesId Delete /ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id} Delete order line item
EcommerceApi DeleteEcommerceStoresIdProductsId Delete /ecommerce/stores/{store_id}/products/{product_id} Delete product
EcommerceApi DeleteEcommerceStoresIdProductsIdImagesId Delete /ecommerce/stores/{store_id}/products/{product_id}/images/{image_id} Delete product image
EcommerceApi DeleteEcommerceStoresIdProductsIdVariantsId Delete /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id} Delete product variant
EcommerceApi DeleteEcommerceStoresIdPromocodesId Delete /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id} Delete promo code
EcommerceApi DeleteEcommerceStoresIdPromorulesId Delete /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id} Delete promo rule
EcommerceApi GetEcommerceOrders Get /ecommerce/orders List account orders
EcommerceApi GetEcommerceStores Get /ecommerce/stores List stores
EcommerceApi GetEcommerceStoresId Get /ecommerce/stores/{store_id} Get store info
EcommerceApi GetEcommerceStoresIdCarts Get /ecommerce/stores/{store_id}/carts List carts
EcommerceApi GetEcommerceStoresIdCartsId Get /ecommerce/stores/{store_id}/carts/{cart_id} Get cart info
EcommerceApi GetEcommerceStoresIdCartsIdLines Get /ecommerce/stores/{store_id}/carts/{cart_id}/lines List cart line items
EcommerceApi GetEcommerceStoresIdCartsIdLinesId Get /ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id} Get cart line item
EcommerceApi GetEcommerceStoresIdCustomers Get /ecommerce/stores/{store_id}/customers List customers
EcommerceApi GetEcommerceStoresIdCustomersId Get /ecommerce/stores/{store_id}/customers/{customer_id} Get customer info
EcommerceApi GetEcommerceStoresIdOrders Get /ecommerce/stores/{store_id}/orders List orders
EcommerceApi GetEcommerceStoresIdOrdersId Get /ecommerce/stores/{store_id}/orders/{order_id} Get order info
EcommerceApi GetEcommerceStoresIdOrdersIdLines Get /ecommerce/stores/{store_id}/orders/{order_id}/lines List order line items
EcommerceApi GetEcommerceStoresIdOrdersIdLinesId Get /ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id} Get order line item
EcommerceApi GetEcommerceStoresIdProducts Get /ecommerce/stores/{store_id}/products List product
EcommerceApi GetEcommerceStoresIdProductsId Get /ecommerce/stores/{store_id}/products/{product_id} Get product info
EcommerceApi GetEcommerceStoresIdProductsIdImages Get /ecommerce/stores/{store_id}/products/{product_id}/images List product images
EcommerceApi GetEcommerceStoresIdProductsIdImagesId Get /ecommerce/stores/{store_id}/products/{product_id}/images/{image_id} Get product image info
EcommerceApi GetEcommerceStoresIdProductsIdVariants Get /ecommerce/stores/{store_id}/products/{product_id}/variants List product variants
EcommerceApi GetEcommerceStoresIdProductsIdVariantsId Get /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id} Get product variant info
EcommerceApi GetEcommerceStoresIdPromocodes Get /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes List promo codes
EcommerceApi GetEcommerceStoresIdPromocodesId Get /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id} Get promo code
EcommerceApi GetEcommerceStoresIdPromorules Get /ecommerce/stores/{store_id}/promo-rules List promo rules
EcommerceApi GetEcommerceStoresIdPromorulesId Get /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id} Get promo rule
EcommerceApi PatchEcommerceStoresId Patch /ecommerce/stores/{store_id} Update store
EcommerceApi PatchEcommerceStoresIdCartsId Patch /ecommerce/stores/{store_id}/carts/{cart_id} Update cart
EcommerceApi PatchEcommerceStoresIdCartsIdLinesId Patch /ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id} Update cart line item
EcommerceApi PatchEcommerceStoresIdCustomersId Patch /ecommerce/stores/{store_id}/customers/{customer_id} Update customer
EcommerceApi PatchEcommerceStoresIdOrdersId Patch /ecommerce/stores/{store_id}/orders/{order_id} Update order
EcommerceApi PatchEcommerceStoresIdOrdersIdLinesId Patch /ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id} Update order line item
EcommerceApi PatchEcommerceStoresIdProductsId Patch /ecommerce/stores/{store_id}/products/{product_id} Update product
EcommerceApi PatchEcommerceStoresIdProductsIdImagesId Patch /ecommerce/stores/{store_id}/products/{product_id}/images/{image_id} Update product image
EcommerceApi PatchEcommerceStoresIdProductsIdVariantsId Patch /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id} Update product variant
EcommerceApi PatchEcommerceStoresIdPromocodesId Patch /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id} Update promo code
EcommerceApi PatchEcommerceStoresIdPromorulesId Patch /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id} Update promo rule
EcommerceApi PostEcommerceStores Post /ecommerce/stores Add store
EcommerceApi PostEcommerceStoresIdCarts Post /ecommerce/stores/{store_id}/carts Add cart
EcommerceApi PostEcommerceStoresIdCartsIdLines Post /ecommerce/stores/{store_id}/carts/{cart_id}/lines Add cart line item
EcommerceApi PostEcommerceStoresIdCustomers Post /ecommerce/stores/{store_id}/customers Add customer
EcommerceApi PostEcommerceStoresIdOrders Post /ecommerce/stores/{store_id}/orders Add order
EcommerceApi PostEcommerceStoresIdOrdersIdLines Post /ecommerce/stores/{store_id}/orders/{order_id}/lines Add order line item
EcommerceApi PostEcommerceStoresIdProducts Post /ecommerce/stores/{store_id}/products Add product
EcommerceApi PostEcommerceStoresIdProductsIdImages Post /ecommerce/stores/{store_id}/products/{product_id}/images Add product image
EcommerceApi PostEcommerceStoresIdProductsIdVariants Post /ecommerce/stores/{store_id}/products/{product_id}/variants Add product variant
EcommerceApi PostEcommerceStoresIdPromocodes Post /ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes Add promo code
EcommerceApi PostEcommerceStoresIdPromorules Post /ecommerce/stores/{store_id}/promo-rules Add promo rule
EcommerceApi PutEcommerceStoresIdCustomersId Put /ecommerce/stores/{store_id}/customers/{customer_id} Add or update customer
EcommerceApi PutEcommerceStoresIdProductsIdVariantsId Put /ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id} Add or update product variant
FacebookAdsApi GetAllFacebookAds Get /facebook-ads List facebook ads
FacebookAdsApi GetFacebookAdsId Get /facebook-ads/{outreach_id} Get facebook ad info
FileManagerApi DeleteFileManagerFilesId Delete /file-manager/files/{file_id} Delete file
FileManagerApi DeleteFileManagerFoldersId Delete /file-manager/folders/{folder_id} Delete folder
FileManagerApi GetFileManagerFiles Get /file-manager/files List stored files
FileManagerApi GetFileManagerFilesId Get /file-manager/files/{file_id} Get file
FileManagerApi GetFileManagerFolders Get /file-manager/folders List folders
FileManagerApi GetFileManagerFoldersId Get /file-manager/folders/{folder_id} Get folder
FileManagerApi PatchFileManagerFilesId Patch /file-manager/files/{file_id} Update file
FileManagerApi PatchFileManagerFoldersId Patch /file-manager/folders/{folder_id} Update folder
FileManagerApi PostFileManagerFiles Post /file-manager/files Add file
FileManagerApi PostFileManagerFolders Post /file-manager/folders Add folder
LandingPagesApi DeleteLandingPageId Delete /landing-pages/{page_id} Delete landing page
LandingPagesApi GetAllLandingPages Get /landing-pages List landing pages
LandingPagesApi GetLandingPageId Get /landing-pages/{page_id} Get landing page info
LandingPagesApi GetLandingPageIdContent Get /landing-pages/{page_id}/content Get landing page content
LandingPagesApi PatchLandingPageId Patch /landing-pages/{page_id} Update landing page
LandingPagesApi PostAllLandingPages Post /landing-pages Add landing page
LandingPagesApi PostLandingPageIdActionsPublish Post /landing-pages/{page_id}/actions/publish Publish landing page
LandingPagesApi PostLandingPageIdActionsUnpublish Post /landing-pages/{page_id}/actions/unpublish Unpublish landing page
ListsApi DeleteListsId Delete /lists/{list_id} Delete list
ListsApi DeleteListsIdInterestCategoriesId Delete /lists/{list_id}/interest-categories/{interest_category_id} Delete interest category
ListsApi DeleteListsIdInterestCategoriesIdInterestsId Delete /lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id} Delete interest in category
ListsApi DeleteListsIdMembersId Delete /lists/{list_id}/members/{subscriber_hash} Archive list member
ListsApi DeleteListsIdMembersIdNotesId Delete /lists/{list_id}/members/{subscriber_hash}/notes/{note_id} Delete note
ListsApi DeleteListsIdMergeFieldsId Delete /lists/{list_id}/merge-fields/{merge_id} Delete merge field
ListsApi DeleteListsIdSegmentsId Delete /lists/{list_id}/segments/{segment_id} Delete segment
ListsApi DeleteListsIdSegmentsIdMembersId Delete /lists/{list_id}/segments/{segment_id}/members/{subscriber_hash} Remove list member from segment
ListsApi DeleteListsIdWebhooksId Delete /lists/{list_id}/webhooks/{webhook_id} Delete webhook
ListsApi GetListMemberTags Get /lists/{list_id}/members/{subscriber_hash}/tags List member tags
ListsApi GetLists Get /lists Get lists info
ListsApi GetListsId Get /lists/{list_id} Get list info
ListsApi GetListsIdAbuseReports Get /lists/{list_id}/abuse-reports List abuse reports
ListsApi GetListsIdAbuseReportsId Get /lists/{list_id}/abuse-reports/{report_id} Get abuse report
ListsApi GetListsIdActivity Get /lists/{list_id}/activity List recent activity
ListsApi GetListsIdClients Get /lists/{list_id}/clients List top email clients
ListsApi GetListsIdGrowthHistory Get /lists/{list_id}/growth-history List growth history data
ListsApi GetListsIdGrowthHistoryId Get /lists/{list_id}/growth-history/{month} Get growth history by month
ListsApi GetListsIdInterestCategories Get /lists/{list_id}/interest-categories List interest categories
ListsApi GetListsIdInterestCategoriesId Get /lists/{list_id}/interest-categories/{interest_category_id} Get interest category info
ListsApi GetListsIdInterestCategoriesIdInterests Get /lists/{list_id}/interest-categories/{interest_category_id}/interests List interests in category
ListsApi GetListsIdInterestCategoriesIdInterestsId Get /lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id} Get interest in category
ListsApi GetListsIdLocations Get /lists/{list_id}/locations List locations
ListsApi GetListsIdMembers Get /lists/{list_id}/members List members info
ListsApi GetListsIdMembersId Get /lists/{list_id}/members/{subscriber_hash} Get member info
ListsApi GetListsIdMembersIdActivity Get /lists/{list_id}/members/{subscriber_hash}/activity View recent activity 50
ListsApi GetListsIdMembersIdActivityFeed Get /lists/{list_id}/members/{subscriber_hash}/activity-feed View recent activity
ListsApi GetListsIdMembersIdEvents Get /lists/{list_id}/members/{subscriber_hash}/events List member events
ListsApi GetListsIdMembersIdGoals Get /lists/{list_id}/members/{subscriber_hash}/goals List member goal events
ListsApi GetListsIdMembersIdNotes Get /lists/{list_id}/members/{subscriber_hash}/notes List recent member notes
ListsApi GetListsIdMembersIdNotesId Get /lists/{list_id}/members/{subscriber_hash}/notes/{note_id} Get member note
ListsApi GetListsIdMergeFields Get /lists/{list_id}/merge-fields List merge fields
ListsApi GetListsIdMergeFieldsId Get /lists/{list_id}/merge-fields/{merge_id} Get merge field
ListsApi GetListsIdSegmentsId Get /lists/{list_id}/segments/{segment_id} Get segment info
ListsApi GetListsIdSegmentsIdMembers Get /lists/{list_id}/segments/{segment_id}/members List members in segment
ListsApi GetListsIdSignupForms Get /lists/{list_id}/signup-forms List signup forms
ListsApi GetListsIdSurveys Get /lists/{list_id}/surveys Get information about all surveys for a list
ListsApi GetListsIdSurveysId Get /lists/{list_id}/surveys/{survey_id} Get survey
ListsApi GetListsIdWebhooks Get /lists/{list_id}/webhooks List webhooks
ListsApi GetListsIdWebhooksId Get /lists/{list_id}/webhooks/{webhook_id} Get webhook info
ListsApi PatchListsId Patch /lists/{list_id} Update lists
ListsApi PatchListsIdInterestCategoriesId Patch /lists/{list_id}/interest-categories/{interest_category_id} Update interest category
ListsApi PatchListsIdInterestCategoriesIdInterestsId Patch /lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id} Update interest in category
ListsApi PatchListsIdMembersId Patch /lists/{list_id}/members/{subscriber_hash} Update list member
ListsApi PatchListsIdMembersIdNotesId Patch /lists/{list_id}/members/{subscriber_hash}/notes/{note_id} Update note
ListsApi PatchListsIdMergeFieldsId Patch /lists/{list_id}/merge-fields/{merge_id} Update merge field
ListsApi PatchListsIdSegmentsId Patch /lists/{list_id}/segments/{segment_id} Update segment
ListsApi PatchListsIdWebhooksId Patch /lists/{list_id}/webhooks/{webhook_id} Update webhook
ListsApi PostListMemberEvents Post /lists/{list_id}/members/{subscriber_hash}/events Add event
ListsApi PostListMemberTags Post /lists/{list_id}/members/{subscriber_hash}/tags Add or remove member tags
ListsApi PostLists Post /lists Add list
ListsApi PostListsId Post /lists/{list_id} Batch subscribe or unsubscribe
ListsApi PostListsIdInterestCategories Post /lists/{list_id}/interest-categories Add interest category
ListsApi PostListsIdInterestCategoriesIdInterests Post /lists/{list_id}/interest-categories/{interest_category_id}/interests Add interest in category
ListsApi PostListsIdMembers Post /lists/{list_id}/members Add member to list
ListsApi PostListsIdMembersHashActionsDeletePermanent Post /lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent Delete list member
ListsApi PostListsIdMembersIdNotes Post /lists/{list_id}/members/{subscriber_hash}/notes Add member note
ListsApi PostListsIdMergeFields Post /lists/{list_id}/merge-fields Add merge field
ListsApi PostListsIdSegments Post /lists/{list_id}/segments Add segment
ListsApi PostListsIdSegmentsId Post /lists/{list_id}/segments/{segment_id} Batch add or remove members
ListsApi PostListsIdSegmentsIdMembers Post /lists/{list_id}/segments/{segment_id}/members Add member to segment
ListsApi PostListsIdSignupForms Post /lists/{list_id}/signup-forms Customize signup form
ListsApi PostListsIdWebhooks Post /lists/{list_id}/webhooks Add webhook
ListsApi PreviewASegment Get /lists/{list_id}/segments List segments
ListsApi PutListsIdMembersId Put /lists/{list_id}/members/{subscriber_hash} Add or update list member
ListsApi SearchTagsByName Get /lists/{list_id}/tag-search Search for tags on a list by name.
PingApi GetPing Get /ping Ping
ReportingApi GetReportingFacebookAds Get /reporting/facebook-ads List facebook ads reports
ReportingApi GetReportingFacebookAdsId Get /reporting/facebook-ads/{outreach_id} Get facebook ad report
ReportingApi GetReportingFacebookAdsIdEcommerceProductActivity Get /reporting/facebook-ads/{outreach_id}/ecommerce-product-activity List facebook ecommerce report
ReportingApi GetReportingLandingPages Get /reporting/landing-pages List landing pages reports
ReportingApi GetReportingLandingPagesId Get /reporting/landing-pages/{outreach_id} Get landing page report
ReportingApi GetReportingSurveys Get /reporting/surveys List survey reports
ReportingApi GetReportingSurveysId Get /reporting/surveys/{outreach_id} Get survey report
ReportingApi GetReportingSurveysIdQuestions Get /reporting/surveys/{outreach_id}/questions List survey question reports
ReportingApi GetReportingSurveysIdQuestionsId Get /reporting/surveys/{outreach_id}/questions/{question_id} Get survey question report
ReportingApi GetReportingSurveysIdQuestionsIdAnswers Get /reporting/surveys/{outreach_id}/questions/{question_id}/answers List answers for question
ReportingApi GetReportingSurveysIdResponses Get /reporting/surveys/{outreach_id}/responses List survey responses
ReportingApi GetReportingSurveysIdResponsesId Get /reporting/surveys/{outreach_id}/responses/{response_id} Get survey response
ReportsApi GetReports Get /reports List campaign reports
ReportsApi GetReportsId Get /reports/{campaign_id} Get campaign report
ReportsApi GetReportsIdAbuseReportsId Get /reports/{campaign_id}/abuse-reports List abuse reports
ReportsApi GetReportsIdAbuseReportsIdId Get /reports/{campaign_id}/abuse-reports/{report_id} Get abuse report
ReportsApi GetReportsIdAdvice Get /reports/{campaign_id}/advice List campaign feedback
ReportsApi GetReportsIdClickDetails Get /reports/{campaign_id}/click-details List campaign details
ReportsApi GetReportsIdClickDetailsId Get /reports/{campaign_id}/click-details/{link_id} Get campaign link details
ReportsApi GetReportsIdClickDetailsIdMembers Get /reports/{campaign_id}/click-details/{link_id}/members List clicked link subscribers
ReportsApi GetReportsIdClickDetailsIdMembersId Get /reports/{campaign_id}/click-details/{link_id}/members/{subscriber_hash} Get clicked link subscriber
ReportsApi GetReportsIdDomainPerformance Get /reports/{campaign_id}/domain-performance List domain performance stats
ReportsApi GetReportsIdEcommerceProductActivity Get /reports/{campaign_id}/ecommerce-product-activity List campaign product activity
ReportsApi GetReportsIdEepurl Get /reports/{campaign_id}/eepurl List EepURL activity
ReportsApi GetReportsIdEmailActivity Get /reports/{campaign_id}/email-activity List email activity
ReportsApi GetReportsIdEmailActivityId Get /reports/{campaign_id}/email-activity/{subscriber_hash} Get subscriber email activity
ReportsApi GetReportsIdLocations Get /reports/{campaign_id}/locations List top open activities
ReportsApi GetReportsIdOpenDetails Get /reports/{campaign_id}/open-details List campaign open details
ReportsApi GetReportsIdOpenDetailsIdMembersId Get /reports/{campaign_id}/open-details/{subscriber_hash} Get opened campaign subscriber
ReportsApi GetReportsIdSentTo Get /reports/{campaign_id}/sent-to List campaign recipients
ReportsApi GetReportsIdSentToId Get /reports/{campaign_id}/sent-to/{subscriber_hash} Get campaign recipient info
ReportsApi GetReportsIdSubReportsId Get /reports/{campaign_id}/sub-reports List child campaign reports
ReportsApi GetReportsIdUnsubscribed Get /reports/{campaign_id}/unsubscribed List unsubscribed members
ReportsApi GetReportsIdUnsubscribedId Get /reports/{campaign_id}/unsubscribed/{subscriber_hash} Get unsubscribed member
RootApi GetRoot Get / List api root resources
SearchCampaignsApi GetSearchCampaigns Get /search-campaigns Search campaigns
SearchMembersApi GetSearchMembers Get /search-members Search members
SurveysApi PostListsIdSurveysIdActionsPublish Post /lists/{list_id}/surveys/{survey_id}/actions/publish Publish a Survey
SurveysApi PostListsIdSurveysIdActionsUnpublish Post /lists/{list_id}/surveys/{survey_id}/actions/unpublish Unpublish a Survey
TemplateFoldersApi DeleteTemplateFoldersId Delete /template-folders/{folder_id} Delete template folder
TemplateFoldersApi GetTemplateFolders Get /template-folders List template folders
TemplateFoldersApi GetTemplateFoldersId Get /template-folders/{folder_id} Get template folder
TemplateFoldersApi PatchTemplateFoldersId Patch /template-folders/{folder_id} Update template folder
TemplateFoldersApi PostTemplateFolders Post /template-folders Add template folder
TemplatesApi DeleteTemplatesId Delete /templates/{template_id} Delete template
TemplatesApi GetTemplates Get /templates List templates
TemplatesApi GetTemplatesId Get /templates/{template_id} Get template info
TemplatesApi GetTemplatesIdDefaultContent Get /templates/{template_id}/default-content View default content
TemplatesApi PatchTemplatesId Patch /templates/{template_id} Update template
TemplatesApi PostTemplates Post /templates Add template
VerifiedDomainsApi CreateVerifiedDomain Post /verified-domains Add domain to account
VerifiedDomainsApi DeleteVerifiedDomain Delete /verified-domains/{domain_name} Delete domain
VerifiedDomainsApi GetVerifiedDomain Get /verified-domains/{domain_name} Get domain info
VerifiedDomainsApi GetVerifiedDomains Get /verified-domains List sending domains
VerifiedDomainsApi VerifyDomain Post /verified-domains/{domain_name}/actions/verify Verify domain

Documentation For Models

Documentation For Authorization

basicAuth

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
	UserName: "username",
	Password: "password",
})
r, err := client.Service.Operation(auth, args)

Author

[email protected]

GitHub

View Github