{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mailmodo API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "mmApiKey",
      "value": "{{mmApiKey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Contacts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Add a Single Contact to a List",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mailmodo.com/api/v1/addToList",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add (or update) one contact in a named contact list with optional custom attributes used for segmentation and personalization."
        },
        {
          "info": {
            "name": "Add a Batch of Contacts to a List",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mailmodo.com/api/v1/addToList/batch",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add (or update) up to several thousand contacts to a list in a single request."
        },
        {
          "info": {
            "name": "Remove a Contact From a List",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mailmodo.com/api/v1/removeFromList",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Remove a single contact from the named list but keep the contact record on the workspace."
        },
        {
          "info": {
            "name": "Unsubscribe a Contact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mailmodo.com/api/v1/contacts/unsubscribe",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Mark a contact as unsubscribed across the workspace."
        },
        {
          "info": {
            "name": "Resubscribe a Contact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mailmodo.com/api/v1/contacts/resubscribe",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Reverse the unsubscribed status for a contact."
        },
        {
          "info": {
            "name": "Archive a Contact",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mailmodo.com/api/v1/contacts",
            "params": [
              {
                "name": "email",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Archive (soft-delete) a contact from the workspace."
        },
        {
          "info": {
            "name": "Get Contact Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mailmodo.com/api/v1/getContactDetails",
            "params": [
              {
                "name": "email",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Return profile information and list membership for a contact."
        }
      ]
    },
    {
      "info": {
        "name": "Contact Lists",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get All Contact Lists",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mailmodo.com/api/v1/getAllContactLists"
          },
          "docs": "Return the workspace's named contact lists with size and metadata."
        }
      ]
    },
    {
      "info": {
        "name": "Campaigns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Trigger a Transactional Campaign for One Recipient",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mailmodo.com/api/v1/triggerCampaign/:campaignId",
            "params": [
              {
                "name": "campaignId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send a configured campaign to a single recipient with merge data for personalization. Used for transactional sends and journey triggers."
        },
        {
          "info": {
            "name": "Bulk Trigger a Campaign to Multiple Recipients",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mailmodo.com/api/v1/bulktriggerCampaign/:campaignId",
            "params": [
              {
                "name": "campaignId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Trigger a campaign for a list of recipients in a single request, with per-recipient merge data."
        },
        {
          "info": {
            "name": "List Campaigns",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mailmodo.com/api/v1/campaigns"
          },
          "docs": "Return campaigns configured on the workspace."
        },
        {
          "info": {
            "name": "Get Campaign Report",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mailmodo.com/api/v1/campaignReports/:campaignId",
            "params": [
              {
                "name": "campaignId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Return delivery and engagement metrics for the given campaign."
        }
      ]
    },
    {
      "info": {
        "name": "Templates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mailmodo.com/api/v1/getAllTemplates"
          },
          "docs": "Return interactive AMP email templates available on the workspace."
        }
      ]
    },
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Send a Custom Event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mailmodo.com/api/v1/addEvent",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Send a custom user event into Mailmodo to drive journey enrollment, segmentation, and conditional logic."
        }
      ]
    }
  ],
  "bundled": true
}