{
  "info": {
    "_postman_id": "08a57910-9d09-4275-b0ba-316a3bd57b4c",
    "name": "Optimizely Campaign REST Assets Mailing Lists API",
    "description": "The Optimizely Campaign REST API provides programmatic access to Optimizely's email and omnichannel campaign management capabilities. Developers can use the API to manage campaigns, recipients, mailing lists, smart campaigns, transactional mails, and messaging workflows. The API is hosted at api.campaign.episerver.net and supports automation of marketing campaign operations, enabling integration with external systems and custom marketing workflows. The base URL includes the client ID for multi-tenant access.\n\nContact Support:\n Name: Optimizely Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:27:28.000Z",
    "updatedAt": "2026-07-28T02:27:28.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-08a57910-9d09-4275-b0ba-316a3bd57b4c"
  },
  "item": [
    {
      "name": "{clientId}",
      "item": [
        {
          "name": "mailinglists",
          "item": [
            {
              "name": "{mailingListId}",
              "item": [
                {
                  "name": "Get a mailing list",
                  "id": "baeb51f0-b737-4ac7-8cc7-093e0925c908",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/:clientId/mailinglists/:mailingListId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        ":clientId",
                        "mailinglists",
                        ":mailingListId"
                      ],
                      "variable": [
                        {
                          "id": "e71d9c41-8fc9-4447-9c09-4d9a22692857",
                          "key": "clientId",
                          "value": "<string>",
                          "description": "(Required) The unique identifier for the Optimizely Campaign client"
                        },
                        {
                          "id": "3ab6f97f-33e8-43a7-a0e5-1135e148d0d2",
                          "key": "mailingListId",
                          "value": "<long>",
                          "description": "(Required) The unique identifier for the mailing list"
                        }
                      ]
                    },
                    "description": "Retrieves the details of a specific mailing list."
                  },
                  "response": [
                    {
                      "id": "dce6f61e-6a3d-4793-8d81-dd4d478581a8",
                      "name": "Successfully retrieved the mailing list",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: basic",
                            "key": "Authorization",
                            "value": "Basic <credentials>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/:clientId/mailinglists/:mailingListId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            ":clientId",
                            "mailinglists",
                            ":mailingListId"
                          ],
                          "variable": [
                            {
                              "key": "clientId"
                            },
                            {
                              "key": "mailingListId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"id\": \"<long>\",\n  \"name\": \"<string>\",\n  \"recipient_count\": \"<integer>\",\n  \"created\": \"<dateTime>\"\n}",
                      "createdAt": "2026-07-28T02:27:28.000Z",
                      "updatedAt": "2026-07-28T02:27:28.000Z",
                      "uid": "35240-dce6f61e-6a3d-4793-8d81-dd4d478581a8"
                    },
                    {
                      "id": "9d2e7ba7-3ddb-48a0-8a8b-152e14f30d71",
                      "name": "Authentication credentials are missing or invalid",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: basic",
                            "key": "Authorization",
                            "value": "Basic <credentials>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/:clientId/mailinglists/:mailingListId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            ":clientId",
                            "mailinglists",
                            ":mailingListId"
                          ],
                          "variable": [
                            {
                              "key": "clientId"
                            },
                            {
                              "key": "mailingListId"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T02:27:28.000Z",
                      "updatedAt": "2026-07-28T02:27:28.000Z",
                      "uid": "35240-9d2e7ba7-3ddb-48a0-8a8b-152e14f30d71"
                    },
                    {
                      "id": "ed99c8f3-bb59-4eb0-8f45-c6f68fc6850c",
                      "name": "Mailing list not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: basic",
                            "key": "Authorization",
                            "value": "Basic <credentials>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/:clientId/mailinglists/:mailingListId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            ":clientId",
                            "mailinglists",
                            ":mailingListId"
                          ],
                          "variable": [
                            {
                              "key": "clientId"
                            },
                            {
                              "key": "mailingListId"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T02:27:28.000Z",
                      "updatedAt": "2026-07-28T02:27:28.000Z",
                      "uid": "35240-ed99c8f3-bb59-4eb0-8f45-c6f68fc6850c"
                    }
                  ],
                  "createdAt": "2026-07-28T02:27:28.000Z",
                  "updatedAt": "2026-07-28T02:27:28.000Z",
                  "uid": "35240-baeb51f0-b737-4ac7-8cc7-093e0925c908"
                }
              ],
              "id": "c039d915-1fdd-40c0-8d4e-b7bf3649463a",
              "createdAt": "2026-07-28T02:27:28.000Z",
              "updatedAt": "2026-07-28T02:27:28.000Z",
              "uid": "35240-c039d915-1fdd-40c0-8d4e-b7bf3649463a"
            },
            {
              "name": "List mailing lists",
              "id": "b5bcb24e-52a0-44d4-8bf9-b249133a04e2",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/:clientId/mailinglists",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ":clientId",
                    "mailinglists"
                  ],
                  "variable": [
                    {
                      "id": "44d404c0-d195-4371-9cf6-30b3f66f4b70",
                      "key": "clientId",
                      "value": "<string>",
                      "description": "(Required) The unique identifier for the Optimizely Campaign client"
                    }
                  ]
                },
                "description": "Returns a list of mailing lists for the specified client."
              },
              "response": [
                {
                  "id": "4f07a277-3f38-484a-a760-3f024ba03fb2",
                  "name": "Successfully retrieved mailing lists",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/:clientId/mailinglists",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        ":clientId",
                        "mailinglists"
                      ],
                      "variable": [
                        {
                          "key": "clientId"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "[\n  {\n    \"id\": \"<long>\",\n    \"name\": \"<string>\",\n    \"recipient_count\": \"<integer>\",\n    \"created\": \"<dateTime>\"\n  },\n  {\n    \"id\": \"<long>\",\n    \"name\": \"<string>\",\n    \"recipient_count\": \"<integer>\",\n    \"created\": \"<dateTime>\"\n  }\n]",
                  "createdAt": "2026-07-28T02:27:28.000Z",
                  "updatedAt": "2026-07-28T02:27:28.000Z",
                  "uid": "35240-4f07a277-3f38-484a-a760-3f024ba03fb2"
                },
                {
                  "id": "90d6e1cf-b405-4b99-847a-3964575f1230",
                  "name": "Authentication credentials are missing or invalid",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/:clientId/mailinglists",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        ":clientId",
                        "mailinglists"
                      ],
                      "variable": [
                        {
                          "key": "clientId"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:27:28.000Z",
                  "updatedAt": "2026-07-28T02:27:28.000Z",
                  "uid": "35240-90d6e1cf-b405-4b99-847a-3964575f1230"
                }
              ],
              "createdAt": "2026-07-28T02:27:28.000Z",
              "updatedAt": "2026-07-28T02:27:28.000Z",
              "uid": "35240-b5bcb24e-52a0-44d4-8bf9-b249133a04e2"
            }
          ],
          "id": "f4c3b16d-844f-4134-a33a-adcf1b8820d1",
          "createdAt": "2026-07-28T02:27:28.000Z",
          "updatedAt": "2026-07-28T02:27:28.000Z",
          "uid": "35240-f4c3b16d-844f-4134-a33a-adcf1b8820d1"
        }
      ],
      "id": "4b4b473c-664d-493a-9b86-4e61187b8ffa",
      "createdAt": "2026-07-28T02:27:28.000Z",
      "updatedAt": "2026-07-28T02:27:28.000Z",
      "uid": "35240-4b4b473c-664d-493a-9b86-4e61187b8ffa"
    }
  ],
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "username",
        "value": "{{basicAuthUsername}}",
        "type": "string"
      },
      {
        "key": "password",
        "value": "{{basicAuthPassword}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.campaign.episerver.net/rest"
    }
  ]
}