{
  "info": {
    "_postman_id": "0e0f8a65-9d17-46c9-a294-c98b3ad1c805",
    "name": "Optimizely Campaign REST Assets GraphQL 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:26.000Z",
    "updatedAt": "2026-07-28T02:27:26.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-0e0f8a65-9d17-46c9-a294-c98b3ad1c805"
  },
  "item": [
    {
      "name": "content",
      "item": [
        {
          "name": "v2",
          "item": [
            {
              "name": "Execute a GraphQL query",
              "id": "2943b0d7-227e-42a4-ab7f-5d2342e75f5a",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"query\": \"<string>\",\n  \"variables\": {\n    \"in9c\": false\n  },\n  \"operationName\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/content/v2?auth=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "content",
                    "v2"
                  ],
                  "query": [
                    {
                      "description": "Single key authentication token",
                      "key": "auth",
                      "value": "<string>"
                    }
                  ]
                },
                "description": "Sends a GraphQL query to the Optimizely Graph service for content retrieval and search. The query is executed against the content model indexed in Optimizely Graph, enabling flexible data retrieval across all connected content sources."
              },
              "response": [
                {
                  "id": "2bb2d275-d5fe-4806-8a7a-883f83f4ce5a",
                  "name": "Successfully executed the GraphQL query",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"query\": \"<string>\",\n  \"variables\": {\n    \"in9c\": false\n  },\n  \"operationName\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/content/v2?auth=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "content",
                        "v2"
                      ],
                      "query": [
                        {
                          "description": "Single key authentication token",
                          "key": "auth",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"data\": {\n    \"deserunt_ee\": true,\n    \"adipisicing_91\": -33642870\n  },\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    },\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    }\n  ],\n  \"extensions\": {\n    \"in_aa7\": -65784847.96766757,\n    \"enim_57\": -38193293\n  }\n}",
                  "createdAt": "2026-07-28T02:27:27.000Z",
                  "updatedAt": "2026-07-28T02:27:27.000Z",
                  "uid": "35240-2bb2d275-d5fe-4806-8a7a-883f83f4ce5a"
                },
                {
                  "id": "38b60670-9b07-4853-985f-b1acbe7e80f0",
                  "name": "Invalid GraphQL query syntax",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"query\": \"<string>\",\n  \"variables\": {\n    \"in9c\": false\n  },\n  \"operationName\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/content/v2?auth=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "content",
                        "v2"
                      ],
                      "query": [
                        {
                          "description": "Single key authentication token",
                          "key": "auth",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:27:27.000Z",
                  "updatedAt": "2026-07-28T02:27:27.000Z",
                  "uid": "35240-38b60670-9b07-4853-985f-b1acbe7e80f0"
                },
                {
                  "id": "3669cf46-83c7-4f68-97cc-7604c7d81346",
                  "name": "Authentication credentials are missing or invalid",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"query\": \"<string>\",\n  \"variables\": {\n    \"in9c\": false\n  },\n  \"operationName\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/content/v2?auth=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "content",
                        "v2"
                      ],
                      "query": [
                        {
                          "description": "Single key authentication token",
                          "key": "auth",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:27:27.000Z",
                  "updatedAt": "2026-07-28T02:27:27.000Z",
                  "uid": "35240-3669cf46-83c7-4f68-97cc-7604c7d81346"
                }
              ],
              "createdAt": "2026-07-28T02:27:27.000Z",
              "updatedAt": "2026-07-28T02:27:27.000Z",
              "uid": "35240-2943b0d7-227e-42a4-ab7f-5d2342e75f5a"
            },
            {
              "name": "Execute a GraphQL query via GET",
              "id": "b6b1a668-c3a9-403e-a116-04a97890c32a",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/content/v2?auth=<string>&query=<string>&variables=<string>&operationName=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "content",
                    "v2"
                  ],
                  "query": [
                    {
                      "description": "Single key authentication token",
                      "key": "auth",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) The GraphQL query string",
                      "key": "query",
                      "value": "<string>"
                    },
                    {
                      "description": "JSON-encoded query variables",
                      "key": "variables",
                      "value": "<string>"
                    },
                    {
                      "description": "Name of the operation to execute",
                      "key": "operationName",
                      "value": "<string>"
                    }
                  ]
                },
                "description": "Sends a GraphQL query via GET request using query parameters. Useful for simple queries and caching scenarios."
              },
              "response": [
                {
                  "id": "ecfca55a-09cf-414c-aee8-f608448f8345",
                  "name": "Successfully executed the GraphQL query",
                  "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}}/content/v2?auth=<string>&query=<string>&variables=<string>&operationName=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "content",
                        "v2"
                      ],
                      "query": [
                        {
                          "description": "Single key authentication token",
                          "key": "auth",
                          "value": "<string>"
                        },
                        {
                          "description": "(Required) The GraphQL query string",
                          "key": "query",
                          "value": "<string>"
                        },
                        {
                          "description": "JSON-encoded query variables",
                          "key": "variables",
                          "value": "<string>"
                        },
                        {
                          "description": "Name of the operation to execute",
                          "key": "operationName",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"data\": {\n    \"deserunt_ee\": true,\n    \"adipisicing_91\": -33642870\n  },\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    },\n    {\n      \"message\": \"<string>\",\n      \"locations\": [\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        },\n        {\n          \"line\": \"<integer>\",\n          \"column\": \"<integer>\"\n        }\n      ],\n      \"path\": [\n        \"<string>\",\n        \"<string>\"\n      ]\n    }\n  ],\n  \"extensions\": {\n    \"in_aa7\": -65784847.96766757,\n    \"enim_57\": -38193293\n  }\n}",
                  "createdAt": "2026-07-28T02:27:27.000Z",
                  "updatedAt": "2026-07-28T02:27:27.000Z",
                  "uid": "35240-ecfca55a-09cf-414c-aee8-f608448f8345"
                },
                {
                  "id": "7ed8568f-5f59-4be5-9ee5-a59568aefacb",
                  "name": "Invalid GraphQL query syntax",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/content/v2?auth=<string>&query=<string>&variables=<string>&operationName=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "content",
                        "v2"
                      ],
                      "query": [
                        {
                          "description": "Single key authentication token",
                          "key": "auth",
                          "value": "<string>"
                        },
                        {
                          "description": "(Required) The GraphQL query string",
                          "key": "query",
                          "value": "<string>"
                        },
                        {
                          "description": "JSON-encoded query variables",
                          "key": "variables",
                          "value": "<string>"
                        },
                        {
                          "description": "Name of the operation to execute",
                          "key": "operationName",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:27:27.000Z",
                  "updatedAt": "2026-07-28T02:27:27.000Z",
                  "uid": "35240-7ed8568f-5f59-4be5-9ee5-a59568aefacb"
                },
                {
                  "id": "7df5a604-5325-4da1-ba6f-a7098feeb38a",
                  "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}}/content/v2?auth=<string>&query=<string>&variables=<string>&operationName=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "content",
                        "v2"
                      ],
                      "query": [
                        {
                          "description": "Single key authentication token",
                          "key": "auth",
                          "value": "<string>"
                        },
                        {
                          "description": "(Required) The GraphQL query string",
                          "key": "query",
                          "value": "<string>"
                        },
                        {
                          "description": "JSON-encoded query variables",
                          "key": "variables",
                          "value": "<string>"
                        },
                        {
                          "description": "Name of the operation to execute",
                          "key": "operationName",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:27:27.000Z",
                  "updatedAt": "2026-07-28T02:27:27.000Z",
                  "uid": "35240-7df5a604-5325-4da1-ba6f-a7098feeb38a"
                }
              ],
              "createdAt": "2026-07-28T02:27:27.000Z",
              "updatedAt": "2026-07-28T02:27:27.000Z",
              "uid": "35240-b6b1a668-c3a9-403e-a116-04a97890c32a"
            }
          ],
          "id": "ed260999-2ad3-483a-a9a8-a8bb1513e8cc",
          "createdAt": "2026-07-28T02:27:27.000Z",
          "updatedAt": "2026-07-28T02:27:27.000Z",
          "uid": "35240-ed260999-2ad3-483a-a9a8-a8bb1513e8cc"
        }
      ],
      "id": "237e3493-eb73-4425-a785-020b9fb54507",
      "createdAt": "2026-07-28T02:27:27.000Z",
      "updatedAt": "2026-07-28T02:27:27.000Z",
      "uid": "35240-237e3493-eb73-4425-a785-020b9fb54507"
    }
  ],
  "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"
    }
  ]
}