{
  "info": {
    "_postman_id": "5ed5f3d5-fa44-4e72-861d-ae77b49399f8",
    "name": "Optimizely Campaign REST Assets Sites 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:58.000Z",
    "updatedAt": "2026-07-28T02:27:58.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-5ed5f3d5-fa44-4e72-861d-ae77b49399f8"
  },
  "item": [
    {
      "name": "site",
      "item": [
        {
          "name": "List sites",
          "id": "8e8bd96d-43ac-4147-8e96-c9920d450f64",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/site?language=<string>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "site"
              ],
              "query": [
                {
                  "description": "The language code for content retrieval",
                  "key": "language",
                  "value": "<string>"
                }
              ]
            },
            "description": "Returns a list of site definitions configured in the Optimizely CMS instance, including language settings and site URLs."
          },
          "response": [
            {
              "id": "cddb8c33-8698-4249-b402-c35c8c28a750",
              "name": "Successfully retrieved site definitions",
              "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}}/site?language=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "site"
                  ],
                  "query": [
                    {
                      "description": "The language code for content retrieval",
                      "key": "language",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "[\n  {\n    \"name\": \"<string>\",\n    \"contentRoots\": {\n      \"nisif8\": {\n        \"id\": \"<integer>\",\n        \"url\": \"<uri>\"\n      }\n    },\n    \"languages\": [\n      {\n        \"displayName\": \"<string>\",\n        \"name\": \"<string>\",\n        \"isMasterLanguage\": \"<boolean>\",\n        \"urlSegment\": \"<string>\",\n        \"url\": \"<uri>\"\n      },\n      {\n        \"displayName\": \"<string>\",\n        \"name\": \"<string>\",\n        \"isMasterLanguage\": \"<boolean>\",\n        \"urlSegment\": \"<string>\",\n        \"url\": \"<uri>\"\n      }\n    ],\n    \"hosts\": [\n      {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\"\n      },\n      {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\"\n      }\n    ]\n  },\n  {\n    \"name\": \"<string>\",\n    \"contentRoots\": {\n      \"Excepteur0f4\": {\n        \"id\": \"<integer>\",\n        \"url\": \"<uri>\"\n      }\n    },\n    \"languages\": [\n      {\n        \"displayName\": \"<string>\",\n        \"name\": \"<string>\",\n        \"isMasterLanguage\": \"<boolean>\",\n        \"urlSegment\": \"<string>\",\n        \"url\": \"<uri>\"\n      },\n      {\n        \"displayName\": \"<string>\",\n        \"name\": \"<string>\",\n        \"isMasterLanguage\": \"<boolean>\",\n        \"urlSegment\": \"<string>\",\n        \"url\": \"<uri>\"\n      }\n    ],\n    \"hosts\": [\n      {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\"\n      },\n      {\n        \"name\": \"<string>\",\n        \"type\": \"<string>\"\n      }\n    ]\n  }\n]",
              "createdAt": "2026-07-28T02:27:58.000Z",
              "updatedAt": "2026-07-28T02:27:58.000Z",
              "uid": "35240-cddb8c33-8698-4249-b402-c35c8c28a750"
            },
            {
              "id": "8c337e72-7eb3-4a04-938b-d989f93b4327",
              "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}}/site?language=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "site"
                  ],
                  "query": [
                    {
                      "description": "The language code for content retrieval",
                      "key": "language",
                      "value": "<string>"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:27:58.000Z",
              "updatedAt": "2026-07-28T02:27:58.000Z",
              "uid": "35240-8c337e72-7eb3-4a04-938b-d989f93b4327"
            }
          ],
          "createdAt": "2026-07-28T02:27:58.000Z",
          "updatedAt": "2026-07-28T02:27:58.000Z",
          "uid": "35240-8e8bd96d-43ac-4147-8e96-c9920d450f64"
        }
      ],
      "id": "a5fe304f-84f3-4640-8774-c88f21b80938",
      "createdAt": "2026-07-28T02:27:58.000Z",
      "updatedAt": "2026-07-28T02:27:58.000Z",
      "uid": "35240-a5fe304f-84f3-4640-8774-c88f21b80938"
    }
  ],
  "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"
    }
  ]
}