{"id":18337719,"url":"https://github.com/moosend/api-wrappers-go","last_synced_at":"2025-04-09T20:18:33.847Z","repository":{"id":69562903,"uuid":"105541807","full_name":"moosend/api-wrappers-go","owner":"moosend","description":"Moosend API GO Wrapper","archived":false,"fork":false,"pushed_at":"2017-10-03T15:15:47.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-09T20:18:29.616Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moosend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-02T14:07:11.000Z","updated_at":"2017-10-03T15:15:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"386ca756-32f0-4887-aed6-7c4c91ec3e40","html_url":"https://github.com/moosend/api-wrappers-go","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moosend%2Fapi-wrappers-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moosend%2Fapi-wrappers-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moosend%2Fapi-wrappers-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moosend%2Fapi-wrappers-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moosend","download_url":"https://codeload.github.com/moosend/api-wrappers-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103910,"owners_count":21048246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T20:12:07.172Z","updated_at":"2025-04-09T20:18:33.805Z","avatar_url":"https://github.com/moosend.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moosend Go Wrapper\r\n\r\nThe following project is a GO implementation of the Moosend V3 API.\r\nYou can find the API documentation at http://docs.moosendapp.apiary.io/#\r\n\r\n## Installation\r\nPut the package under your project folder and add the following in import:\r\n```\r\n    \"./Moosend.Wrappers.GoWrapper\"\r\n```\r\n## Documentation for API Endpoints\r\n\r\n## *CampaignsApi*\r\nClass | Method \r\n------------ | ------------- \r\n[**GetAllCampaigns**](docs/CampaignsApi.md#getallcampaigns) | Returns a list of all campaigns in your account with detailed information.  \r\n[**GetCampaignsByPage**](docs/CampaignsApi.md#getcampaignsbypage) | Returns a list of all campaigns in your account with detailed information, paging information is required as input.\r\n[**GetCampaignsByPageAndPagesize**](docs/CampaignsApi.md#getcampaignsbypageandpagesize) | Returns a list of all campaigns in your account with detailed information, paging information is required as input.\r\n[**GettingCampaignDetails**](docs/CampaignsApi.md#gettingcampaigndetails) | Returns a complete set of properties that describe the requested campaign in detail.  \r\n[**GettingSenderDetails**](docs/CampaignsApi.md#gettingsenderdetails) | Returns basic information for the specified sender identified by its email address.\r\n[**CloningAnExistingCampaign**](docs/CampaignsApi.md#cloninganexistingcampaign) | Creates an exact copy of an existing campaign. The new campaign is created as a draft.\r\n[**CreatingADraftCampaign**](docs/CampaignsApi.md#creatingadraftcampaign) | Creates a new campaign in your account. This method does not send the campaign, but rather creates it as a draft, ready for sending or testing. \r\n[**UpdatingADraftCampaign**](docs/CampaignsApi.md#updatingadraftcampaign) | Updates properties of an existing draft A/B campaign in your account. Non-draft campaigns cannot be updated. \r\n[**DeletingACampaign**](docs/CampaignsApi.md#deletingacampaign) | Deletes a campaign from your account, draft or even sent.\r\n[**TestingACampaign**](docs/CampaignsApi.md#testingacampaign) | Sends a test email of a draft campaign to a list of email addresses you specify for previewing.\r\n[**SendingACampaign**](docs/CampaignsApi.md#sendingacampaign) | Sends an existing draft campaign to all recipients specified in its mailing list. The campaign is sent immediatelly.\r\n[**ABTestCampaignSummary**](docs/CampaignsApi.md#abtestcampaignsummary) |  Provides a basic summary of the results for a sent AB test campaign, separately for each version (A and B), such as the number of recipients, opens, clicks, bounces, unsubscribes, forwards etc to date.\r\n[**ActivityByLocation**](docs/CampaignsApi.md#activitybylocation) |  Returns a detailed report of your campaign opens (unique and total) by country.\r\n[**CampaignSummary**](docs/CampaignsApi.md#campaignsummary) | Provides a basic summary of the results for any sent campaign such as the number of recipients, opens, clicks, bounces, unsubscribes, forwards etc. to date.\r\n[**GettingAllYourSenders**](docs/CampaignsApi.md#gettingallyoursenders) | Gets a list of your active senders in your account. You may specify any email address of these senders when sending a campaign.\r\n[**LinkActivity**](docs/CampaignsApi.md#linkactivity) | Returns a list with your campaign links and how many clicks have been made by your recipients, either unique or total.\r\n[**SchedulingACampaign**](docs/CampaignsApi.md#schedulingacampaign) | Assigns a scheduled date and time at which the campaign will be delivered.\r\n[**UnschedulingACampaign**](docs/CampaignsApi.md#unschedulingacampaign) | Removes a previously defined scheduled date and time from a campaign, so that it will be delivered immediately if already queued or when sent.\r\n\r\n## *MailingListsApi*\r\nClass | Method \r\n------------ | ------------- \r\n[**CreatingACustomField**](docs/MailingListsApi.md#creatingacustomfield) | Creates a new custom field in the specified mailing list.\r\n[**CreatingAMailingList**](docs/MailingListsApi.md#creatingamailinglist) | Creates a new empty mailing list in your account.\r\n[**DeletingAMailingList**](docs/MailingListsApi.md#deletingamailinglist) | Deletes a mailing list from your account.\r\n[**GettingAllActiveMailingLists**](docs/MailingListsApi.md#gettingallactivemailinglists) | Gets a list of your active mailing lists in your account.\r\n[**GettingAllActiveMailingListsWithPaging**](docs/MailingListsApi.md#gettingallactivemailinglistswithpaging) | Gets a list of your active mailing lists in your account. Because the results for this call could be quite big, paging information is required as input.\r\n[**GettingMailingListDetails**](docs/MailingListsApi.md#gettingmailinglistdetails) | Gets details for a given mailing list. You may include subscriber statistics in your results or not. Any segments existing for the requested mailing list will not be included in the results.\r\n[**RemovingACustomField**](docs/MailingListsApi.md#removingacustomfield) | Removes a custom field definition from the specified mailing list.\r\n[**UpdatingACustomField**](docs/MailingListsApi.md#updatingacustomfield) | Updates the properties of an existing custom field in the specified mailing list.\r\n[**UpdatingAMailingList**](docs/MailingListsApi.md#updatingamailinglist) | Updates the properties of an existing mailing list.\r\n\r\n## *SegmentsApi*\r\nClass | Method \r\n------------ | ------------- \r\n[**GettingSegments**](docs/SegmentsApi.md#gettingsegments) | Get a list of all segments with their criteria for the given mailing list.\r\n[**GettingSegmentDetails**](docs/SegmentsApi.md#gettingsegmentdetails) | Gets detailed information on a specific segment and its criteria. However, it does not include the subscribers returned by the segment.\r\n[**GettingSegmentSubscribers**](docs/SegmentsApi.md#gettingsegmentsubscribers) | Gets a list of the subscribers that the specified segment returns according to its criteria. Because the results for this call could be quite big, paging information is required as input.\r\n[**CreatingANewSegment**](docs/SegmentsApi.md#creatinganewsegment) | Creates a new empty segment (without criteria) for the given mailing list. You may specify the name of the segment and the way the criteria will match together.\r\n[**UpdatingASegment**](docs/SegmentsApi.md#updatingasegment) | Updates the properties of an existing segment. You may update the name and match type of the segment.\r\n[**AddingCriteriaToSegments**](docs/SegmentsApi.md#addingcriteriatosegments) | Adds a new criterion (a rule) to the specified segment.\r\n[**UpdatingSegmentCriteria**](docs/SegmentsApi.md#updatingsegmentcriteria) | Updates an existing criterion in the specified segment.\r\n[**DeletingASegment**](docs/SegmentsApi.md#deletingasegment) | Deletes a segment along with its criteria from the mailing list. The subscribers of the mailing list that the segment returned are not deleted or affected in any way.\r\n\r\n## *SubscribersApi*\r\nClass | Method \r\n------------ | ------------- \r\n[**GettingSubscribers**](docs/SubscribersApi.md#gettingsubscribers) | Gets a list of all subscribers in a given mailing list. You may filter the list by setting a date to fetch those subscribed since then and/or by their status. \r\n[**GetSubscriberByEmailAddress**](docs/SubscribersApi.md#getsubscriberbyemailaddress) | Searches for a subscriber with the specified email address in the specified mailing list.\r\n[**GetSubscriberById**](docs/SubscribersApi.md#getsubscriberbyid) | Searches for a subscriber with the specified unique id in the specified mailing list\r\n[**AddingSubscribers**](docs/SubscribersApi.md#addingsubscribers) | Adds a new subscriber to the specified mailing list. If there is already a subscriber with the specified email address in the list, an update will be performed instead.\r\n[**AddingMultipleSubscribers**](docs/SubscribersApi.md#addingmultiplesubscribers) | This method allows you to add multiple subscribers in a mailing list with a single call. If some subscribers already exist with the given email addresses, they will be updated. \r\n[**UpdatingASubscriber**](docs/SubscribersApi.md#updatingasubscriber) | Updates a subscriber in the specified mailing list. You can even update the subscribers email, if he has not unsubscribed.\r\n[**UnsubscribingSubscribersFromAccount**](docs/SubscribersApi.md#unsubscribingsubscribersfromaccount) | Unsubscribes a subscriber from the account.\r\n[**UnsubscribingSubscribersFromMailingList**](docs/SubscribersApi.md#unsubscribingsubscribersfrommailinglist) | Unsubscribes a subscriber from the specified mailing list. The subscriber is not deleted, but moved to the suppression list.\r\n[**UnsubscribingSubscribersFromMailingListAndASpecifiedCampaign**](docs/SubscribersApi.md#unsubscribingsubscribersfrommailinglistandaspecifiedcampaign) | Unsubscribes a subscriber from the specified mailing list and the specified campaign. The subscriber is not deleted, but moved to the suppression list. \r\n[**RemovingASubscriber**](docs/SubscribersApi.md#removingasubscriber) | Removes a subscriber from the specified mailing list permanently (without moving to the suppression list).\r\n[**RemovingMultipleSubscribers**](docs/SubscribersApi.md#removingmultiplesubscribers) | Removes a list of subscribers from the specified mailing list permanently (without putting them in the suppression list). Any invalid email addresses specified will be ignored.\r\n\r\n\r\n## Documentation For Models\r\n\r\n - [A](docs/A.md)\r\n - [AbCampaignData](docs/AbCampaignData.md)\r\n - [AbTestCampaignSummaryResponse](docs/AbTestCampaignSummaryResponse.md)\r\n - [ActivityByLocationResponse](docs/ActivityByLocationResponse.md)\r\n - [AddingCriteriaToSegmentsRequest](docs/AddingCriteriaToSegmentsRequest.md)\r\n - [AddingCriteriaToSegmentsResponse](docs/AddingCriteriaToSegmentsResponse.md)\r\n - [AddingMultipleSubscribersRequest](docs/AddingMultipleSubscribersRequest.md)\r\n - [AddingMultipleSubscribersResponse](docs/AddingMultipleSubscribersResponse.md)\r\n - [AddingSubscribersRequest](docs/AddingSubscribersRequest.md)\r\n - [AddingSubscribersResponse](docs/AddingSubscribersResponse.md)\r\n - [Analytic](docs/Analytic.md)\r\n - [B](docs/B.md)\r\n - [Campaign](docs/Campaign.md)\r\n - [CampaignSummaryResponse](docs/CampaignSummaryResponse.md)\r\n - [CloningAnExistingCampaignResponse](docs/CloningAnExistingCampaignResponse.md)\r\n - [Context](docs/Context.md)\r\n - [Context110](docs/Context110.md)\r\n - [Context118](docs/Context118.md)\r\n - [Context132](docs/Context132.md)\r\n - [Context140](docs/Context140.md)\r\n - [Context145](docs/Context145.md)\r\n - [Context148](docs/Context148.md)\r\n - [Context17](docs/Context17.md)\r\n - [Context32](docs/Context32.md)\r\n - [Context37](docs/Context37.md)\r\n - [Context52](docs/Context52.md)\r\n - [Context64](docs/Context64.md)\r\n - [Context66](docs/Context66.md)\r\n - [Context72](docs/Context72.md)\r\n - [Context84](docs/Context84.md)\r\n - [Context89](docs/Context89.md)\r\n - [Context93](docs/Context93.md)\r\n - [CreatingACustomFieldRequest](docs/CreatingACustomFieldRequest.md)\r\n - [CreatingACustomFieldResponse](docs/CreatingACustomFieldResponse.md)\r\n - [CreatingADraftCampaignRequest](docs/CreatingADraftCampaignRequest.md)\r\n - [CreatingADraftCampaignResponse](docs/CreatingADraftCampaignResponse.md)\r\n - [CreatingAMailingListRequest](docs/CreatingAMailingListRequest.md)\r\n - [CreatingAMailingListResponse](docs/CreatingAMailingListResponse.md)\r\n - [CreatingANewSegmentRequest](docs/CreatingANewSegmentRequest.md)\r\n - [CreatingANewSegmentResponse](docs/CreatingANewSegmentResponse.md)\r\n - [Criterion](docs/Criterion.md)\r\n - [CustomField](docs/CustomField.md)\r\n - [CustomField53](docs/CustomField53.md)\r\n - [CustomFieldsDefinition](docs/CustomFieldsDefinition.md)\r\n - [DeletingACampaignResponse](docs/DeletingACampaignResponse.md)\r\n - [DeletingAMailingListResponse](docs/DeletingAMailingListResponse.md)\r\n - [DeletingASegmentResponse](docs/DeletingASegmentResponse.md)\r\n - [Format](docs/Format.md)\r\n - [GetAllCampaignsResponse](docs/GetAllCampaignsResponse.md)\r\n - [GetCampaignStatisticsResponse](docs/GetCampaignStatisticsResponse.md)\r\n - [GetCampaignStatisticsWithPagingFilteredResponse](docs/GetCampaignStatisticsWithPagingFilteredResponse.md)\r\n - [GetCampaignsByPageAndPagesizeResponse](docs/GetCampaignsByPageAndPagesizeResponse.md)\r\n - [GetCampaignsByPageResponse](docs/GetCampaignsByPageResponse.md)\r\n - [GetSubscriberByEmailAddressResponse](docs/GetSubscriberByEmailAddressResponse.md)\r\n - [GetSubscriberByIdResponse](docs/GetSubscriberByIdResponse.md)\r\n - [GettingAllActiveMailingListsResponse](docs/GettingAllActiveMailingListsResponse.md)\r\n - [GettingAllActiveMailingListsWithPagingResponse](docs/GettingAllActiveMailingListsWithPagingResponse.md)\r\n - [GettingAllYourSendersResponse](docs/GettingAllYourSendersResponse.md)\r\n - [GettingCampaignDetailsResponse](docs/GettingCampaignDetailsResponse.md)\r\n - [GettingMailingListDetailsResponse](docs/GettingMailingListDetailsResponse.md)\r\n - [GettingSegmentDetailsResponse](docs/GettingSegmentDetailsResponse.md)\r\n - [GettingSegmentSubscribersResponse](docs/GettingSegmentSubscribersResponse.md)\r\n - [GettingSegmentsResponse](docs/GettingSegmentsResponse.md)\r\n - [GettingSenderDetailsResponse](docs/GettingSenderDetailsResponse.md)\r\n - [GettingSubscribersResponse](docs/GettingSubscribersResponse.md)\r\n - [ImportOperation](docs/ImportOperation.md)\r\n - [ImportOperation19](docs/ImportOperation19.md)\r\n - [LinkActivityResponse](docs/LinkActivityResponse.md)\r\n - [MailingList](docs/MailingList.md)\r\n - [MailingList68](docs/MailingList68.md)\r\n - [MailingList69](docs/MailingList69.md)\r\n - [MailingList85](docs/MailingList85.md)\r\n - [MailingLists](docs/MailingLists.md)\r\n - [MailingLists119](docs/MailingLists119.md)\r\n - [MailingLists134](docs/MailingLists134.md)\r\n - [ModelType](docs/ModelType.md)\r\n - [Paging](docs/Paging.md)\r\n - [Paging76](docs/Paging76.md)\r\n - [RemovingACustomFieldResponse](docs/RemovingACustomFieldResponse.md)\r\n - [RemovingASubscriberRequest](docs/RemovingASubscriberRequest.md)\r\n - [RemovingASubscriberResponse](docs/RemovingASubscriberResponse.md)\r\n - [RemovingMultipleSubscribersRequest](docs/RemovingMultipleSubscribersRequest.md)\r\n - [RemovingMultipleSubscribersResponse](docs/RemovingMultipleSubscribersResponse.md)\r\n - [ReplyToEmail](docs/ReplyToEmail.md)\r\n - [SchedulingACampaignRequest](docs/SchedulingACampaignRequest.md)\r\n - [SchedulingACampaignResponse](docs/SchedulingACampaignResponse.md)\r\n - [Segment](docs/Segment.md)\r\n - [Sender](docs/Sender.md)\r\n - [SendingACampaignResponse](docs/SendingACampaignResponse.md)\r\n - [ShortBy](docs/ShortBy.md)\r\n - [SortMethod](docs/SortMethod.md)\r\n - [Status](docs/Status.md)\r\n - [Subscriber](docs/Subscriber.md)\r\n - [Subscribers](docs/Subscribers.md)\r\n - [Subscribers150](docs/Subscribers150.md)\r\n - [TestingACampaignRequest](docs/TestingACampaignRequest.md)\r\n - [TestingACampaignResponse](docs/TestingACampaignResponse.md)\r\n - [UnschedulingACampaignResponse](docs/UnschedulingACampaignResponse.md)\r\n - [UnsubscribingSubscribersFromAccountRequest](docs/UnsubscribingSubscribersFromAccountRequest.md)\r\n - [UnsubscribingSubscribersFromAccountResponse](docs/UnsubscribingSubscribersFromAccountResponse.md)\r\n - [UnsubscribingSubscribersFromMailingListAndASpecifiedCampaignRequest](docs/UnsubscribingSubscribersFromMailingListAndASpecifiedCampaignRequest.md)\r\n - [UnsubscribingSubscribersFromMailingListAndASpecifiedCampaignResponse](docs/UnsubscribingSubscribersFromMailingListAndASpecifiedCampaignResponse.md)\r\n - [UnsubscribingSubscribersFromMailingListRequest](docs/UnsubscribingSubscribersFromMailingListRequest.md)\r\n - [UnsubscribingSubscribersFromMailingListResponse](docs/UnsubscribingSubscribersFromMailingListResponse.md)\r\n - [UpdatingACustomFieldRequest](docs/UpdatingACustomFieldRequest.md)\r\n - [UpdatingACustomFieldResponse](docs/UpdatingACustomFieldResponse.md)\r\n - [UpdatingADraftCampaignRequest](docs/UpdatingADraftCampaignRequest.md)\r\n - [UpdatingADraftCampaignResponse](docs/UpdatingADraftCampaignResponse.md)\r\n - [UpdatingAMailingListRequest](docs/UpdatingAMailingListRequest.md)\r\n - [UpdatingAMailingListResponse](docs/UpdatingAMailingListResponse.md)\r\n - [UpdatingASegmentRequest](docs/UpdatingASegmentRequest.md)\r\n - [UpdatingASegmentResponse](docs/UpdatingASegmentResponse.md)\r\n - [UpdatingASubscriberRequest](docs/UpdatingASubscriberRequest.md)\r\n - [UpdatingASubscriberResponse](docs/UpdatingASubscriberResponse.md)\r\n - [UpdatingSegmentCriteriaRequest](docs/UpdatingSegmentCriteriaRequest.md)\r\n - [UpdatingSegmentCriteriaResponse](docs/UpdatingSegmentCriteriaResponse.md)\r\n - [WithStatistics](docs/WithStatistics.md)\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoosend%2Fapi-wrappers-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoosend%2Fapi-wrappers-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoosend%2Fapi-wrappers-go/lists"}