{
  "info": {
    "name": "Retently — mcp.ai",
    "description": "REST API for the Retently 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/retently",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "retently_add_feedback_tags",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/feedback/tags",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "feedback",
            "tags"
          ]
        },
        "description": "Add tags to feedback items by providing feedback IDs and corresponding tags.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"op\": \"\",\n  \"tags\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_add_feedback_topics",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/feedback/topics",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "feedback",
            "topics"
          ]
        },
        "description": "Add topics to feedback items by providing feedback IDs and corresponding topics.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"topics\": \"\",\n  \"operation\": \"\",\n  \"feedback_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_create_or_update_customers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/or/update/customers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "or",
            "update",
            "customers"
          ]
        },
        "description": "Tool to create new customers or update existing ones by providing their details, including email, name, company, tags, and properties. Use this to manage your customer base in Retently.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"subscribers\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_delete_customers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/customers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "customers"
          ]
        },
        "description": "Delete customers from the workspace by providing their unique IDs.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"subscribers\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_get_campaigns",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/campaigns",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "campaigns"
          ]
        },
        "description": "Tool to retrieve a list of campaigns associated with the account. Use when you need to get details about all campaigns.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_get_customer_by_id",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/customer/by/id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "customer",
            "by",
            "id"
          ]
        },
        "description": "Tool to retrieve detailed information about a specific customer by their unique ID. Use when you need to get all the details of a customer.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"customer_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_get_customers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/customers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "customers"
          ]
        },
        "description": "Retrieve a list of customers with optional parameters for pagination, sorting, and filtering by email or date range.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"sort\": \"\",\n  \"email\": \"\",\n  \"limit\": 0,\n  \"endDate\": \"\",\n  \"startDate\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_get_feedback",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/feedback",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "feedback"
          ]
        },
        "description": "Tool to retrieve feedback received from customers. Use when you need to get a list of feedback, with optional parameters for pagination and sorting.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"sort\": \"\",\n  \"email\": \"\",\n  \"limit\": 0,\n  \"endDate\": \"\",\n  \"startDate\": \"\",\n  \"campaignId\": \"\",\n  \"customerId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_get_feedback_by_id",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/feedback/by/id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "feedback",
            "by",
            "id"
          ]
        },
        "description": "Tool to retrieve detailed information about specific feedback by its unique ID. Use when you need to get the details of a single feedback entry.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"feedback_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_get_latest_score",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/latest/score",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "latest",
            "score"
          ]
        },
        "description": "Tool to retrieve the latest NPS score for the account. Use when you need to get the most up-to-date NPS score.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_get_outbox",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/outbox",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "outbox"
          ]
        },
        "description": "Retrieve the outbox of surveys that are scheduled to be sent.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"sort\": \"\",\n  \"email\": \"\",\n  \"limit\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_get_reports",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/reports",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "reports"
          ]
        },
        "description": "Tool to retrieve reports related to NPS surveys, including scores and trends. Use when you need to get campaign performance data.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"end_date\": \"\",\n  \"start_date\": \"\",\n  \"campaign_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_get_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "templates"
          ]
        },
        "description": "Tool to retrieve a list of survey templates available in the account. Use when you need to get the available survey templates.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_send_transactional_survey",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/transactional/survey",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "transactional",
            "survey"
          ]
        },
        "description": "Tool to send a transactional survey to customers. Use when you need to send a survey to a customer after a specific event, with an optional delay.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"delay\": 0,\n  \"campaign_id\": \"\",\n  \"subscribers\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "retently_unsubscribe_customers",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/unsubscribe/customers",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "unsubscribe",
            "customers"
          ]
        },
        "description": "Unsubscribe customers from receiving surveys by providing their email addresses.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"message\": \"\",\n  \"subscribers\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}