Moosend

App · 3 actions

Report audience health and campaign results, and inspect the email content associated with those results.

Actions

ActionWhat it does
Get campaign contentRead campaign content, sender and configuration.
List campaignsRead one page of campaigns with delivery status and aggregate performance metrics.
List mailing listsRead one page of active mailing lists, subscriber totals and delivery-health counts.

Get campaign content

Read campaign content, sender and configuration. This endpoint does not include campaign statistics.

Inputs

Campaign IDcampaign_idtextRequired
Campaign ID from List campaigns.

Outputs

dataobject
The response from Moosend.
Example output
{
  "data": {
    "Code": 0,
    "Context": {
      "HTMLContent": "<p>Product update</p>",
      "ID": "campaign_example",
      "Name": "Product update",
      "PlainContent": "Product update",
      "Sender": {
        "Email": "updates@example.com",
        "ID": "sender_example",
        "Name": "Example Company"
      },
      "Status": 3,
      "Subject": "New features"
    },
    "Error": null
  }
}

List campaigns

Read one page of campaigns with delivery status and aggregate performance metrics.

Inputs

PagepagenumberRequired
Page number, starting at 1.At least 1.
Page sizepage_sizenumberRequired
Number of campaigns per page, at most 1,000.From 1 to 1000.
Sort bysort_bytext
Sort byOne of: Name, Subject, Status, DeliveredOn, CreatedOn.
Sort methodsort_methodtext
Sort methodOne of: ASC, DESC.

Outputs

dataobject
The response from Moosend.
Example output
{
  "data": {
    "Code": 0,
    "Context": {
      "Campaigns": [
        {
          "CreatedOn": "/Date(1767355200000+0000)/",
          "ID": "campaign_example",
          "Name": "Product update",
          "Status": 3,
          "Subject": "New features",
          "TotalBounces": 1,
          "TotalSent": 100,
          "UniqueLinkClicks": 12,
          "UniqueOpens": 45
        }
      ],
      "Paging": {
        "CurrentPage": 1,
        "PageSize": 20,
        "TotalPageCount": 1,
        "TotalResults": 1
      }
    },
    "Error": null
  }
}

List mailing lists

Read one page of active mailing lists, subscriber totals and delivery-health counts.

Inputs

PagepagenumberRequired
Page number, starting at 1.At least 1.
Page sizepage_sizenumberRequired
Number of records to return.At least 1.
Sort bysort_bytext
Sort byOne of: Name, Subject, Status, DeliveredOn, CreatedOn.
Sort methodsort_methodtext
Sort methodOne of: ASC, DESC.

Outputs

dataobject
The response from Moosend.
Example output
{
  "data": {
    "Code": 0,
    "Context": {
      "MailingLists": [
        {
          "ActiveMemberCount": 100,
          "BouncedMemberCount": 1,
          "ID": "list_example",
          "Name": "Product updates",
          "Status": 0,
          "UnsubscribedMemberCount": 2
        }
      ],
      "Paging": {
        "CurrentPage": 1,
        "PageSize": 20,
        "TotalPageCount": 1,
        "TotalResults": 1
      }
    },
    "Error": null
  }
}

On this page