Moosend
App · 3 actions
Report audience health and campaign results, and inspect the email content associated with those results.
Actions
| Action | What it does |
|---|---|
| Get campaign content | Read campaign content, sender and configuration. |
| List campaigns | Read one page of campaigns with delivery status and aggregate performance metrics. |
| List mailing lists | Read 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 ID
campaign_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
- Page
pagenumberRequired - Page number, starting at 1.At least 1.
- Page size
page_sizenumberRequired - Number of campaigns per page, at most 1,000.From 1 to 1000.
- Sort by
sort_bytext - Sort byOne of:
Name,Subject,Status,DeliveredOn,CreatedOn. - Sort method
sort_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
- Page
pagenumberRequired - Page number, starting at 1.At least 1.
- Page size
page_sizenumberRequired - Number of records to return.At least 1.
- Sort by
sort_bytext - Sort byOne of:
Name,Subject,Status,DeliveredOn,CreatedOn. - Sort method
sort_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
}
}