{
  "info": {
    "name": "Omnisend — mcp.ai",
    "description": "REST API for the Omnisend MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/omnisend",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "omnisend_create_batch",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/batch",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "batch"
          ]
        },
        "description": "Tool to create a new batch operation for multiple items. use when you need to process many records asynchronously in one call, e.g., bulk contacts, products, orders, or events. use after preparing the",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"items\": \"\",\n  \"method\": \"\",\n  \"eventID\": \"\",\n  \"endpoint\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "omnisend_create_or_update_contact",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/or/update/contact",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "or",
            "update",
            "contact"
          ]
        },
        "description": "Tool to create or update a contact in omnisend. use after collecting subscriber details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"city\": \"\",\n  \"gender\": \"\",\n  \"address\": \"\",\n  \"country\": \"\",\n  \"lastName\": \"\",\n  \"birthdate\": \"\",\n  \"firstName\": \"\",\n  \"postalCode\": \"\",\n  \"countryCode\": \"\",\n  \"identifiers\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "omnisend_delete_product",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/product",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "product"
          ]
        },
        "description": "Tool to remove a product from omnisend by its id. use when you need to delete a product and ensure it is no longer available in your catalog.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"product_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "omnisend_get_batch_information",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/batch/information",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "batch",
            "information"
          ]
        },
        "description": "Tool to retrieve information about a specific batch by id. use after submitting a batch when you need a detailed status and counts.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"batchId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "omnisend_get_batch_items",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/batch/items",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "batch",
            "items"
          ]
        },
        "description": "Tool to retrieve processed items of a specific batch by id. use when you need to inspect individual results of a batch operation after fetching batch details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"batchId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "omnisend_get_batches",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/batches",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "batches"
          ]
        },
        "description": "Tool to retrieve a list of batch operations. use after initiating a batch job to monitor its progress and results.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"endpoint\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "omnisend_get_contact",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/contact",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "contact"
          ]
        },
        "description": "Tool to retrieve details of a single contact by id. use when you already have a contactid and need the full profile.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"contactId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "omnisend_list_contacts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/contacts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "contacts"
          ]
        },
        "description": "Tool to retrieve a paginated list of contacts with optional filtering. use when you need to fetch contacts in batches and handle cursor pagination.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tag\": \"\",\n  \"after\": \"\",\n  \"email\": \"\",\n  \"limit\": 0,\n  \"phone\": \"\",\n  \"before\": \"\",\n  \"status\": \"\",\n  \"segmentID\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "omnisend_list_products",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/products",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "products"
          ]
        },
        "description": "Tool to retrieve a paginated list of products. use when syncing product catalog before campaign creation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"sort\": \"\",\n  \"limit\": 0,\n  \"offset\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "omnisend_update_contact",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/contact",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "contact"
          ]
        },
        "description": "Tool to update fields of an existing contact by id. use after retrieving contact id. patch https://api.omnisend.com/v3/contacts/{contactid} example: updatecontact(contactid=\"..., body={firstname: 'joh",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"body\": {},\n  \"contactId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}