{
  "info": {
    "_postman_id": "b7a879de-b7b2-4004-8ff5-4dacf7bca678",
    "name": "Optimizely Campaign REST Assets Labels 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:27.000Z",
    "updatedAt": "2026-07-28T02:27:27.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-b7a879de-b7b2-4004-8ff5-4dacf7bca678"
  },
  "item": [
    {
      "name": "labels",
      "item": [
        {
          "name": "List labels",
          "id": "cbc2f56e-6358-40b4-8fa6-5cdb81dc6201",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/labels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "labels"
              ]
            },
            "description": "Returns a list of labels used for categorizing content in the CMP."
          },
          "response": [
            {
              "id": "fb92f266-567d-4009-8f0f-29df22b52b20",
              "name": "Successfully retrieved the list of labels",
              "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}}/labels",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "labels"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "[\n  {\n    \"id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"color\": \"<string>\"\n  },\n  {\n    \"id\": \"<string>\",\n    \"name\": \"<string>\",\n    \"color\": \"<string>\"\n  }\n]",
              "createdAt": "2026-07-28T02:27:28.000Z",
              "updatedAt": "2026-07-28T02:27:28.000Z",
              "uid": "35240-fb92f266-567d-4009-8f0f-29df22b52b20"
            },
            {
              "id": "5501d973-e44e-4133-9d07-4df9d7dbdd87",
              "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}}/labels",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "labels"
                  ]
                }
              },
              "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-5501d973-e44e-4133-9d07-4df9d7dbdd87"
            }
          ],
          "createdAt": "2026-07-28T02:27:28.000Z",
          "updatedAt": "2026-07-28T02:27:28.000Z",
          "uid": "35240-cbc2f56e-6358-40b4-8fa6-5cdb81dc6201"
        }
      ],
      "id": "9511476f-a724-4417-b80c-2daff0bf53d6",
      "createdAt": "2026-07-28T02:27:28.000Z",
      "updatedAt": "2026-07-28T02:27:28.000Z",
      "uid": "35240-9511476f-a724-4417-b80c-2daff0bf53d6"
    }
  ],
  "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"
    }
  ]
}