{
  "info": {
    "_postman_id": "68b66ed7-a320-4404-8080-64d5f8af8b97",
    "name": "Optimizely Campaign REST Assets Profiles 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:32.000Z",
    "updatedAt": "2026-07-28T02:27:32.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-68b66ed7-a320-4404-8080-64d5f8af8b97"
  },
  "item": [
    {
      "name": "profiles",
      "item": [
        {
          "name": "{identifier_field}",
          "item": [
            {
              "name": "{identifier_value}",
              "item": [
                {
                  "name": "Get a profile",
                  "id": "1b27470d-36ef-41d2-91c2-35026a49fe30",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/profiles/:identifier_field/:identifier_value?fields=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "profiles",
                        ":identifier_field",
                        ":identifier_value"
                      ],
                      "query": [
                        {
                          "description": "Comma-separated list of profile fields to return",
                          "key": "fields",
                          "value": "<string>"
                        }
                      ],
                      "variable": [
                        {
                          "id": "c2cdf969-1838-4309-a80e-bab1181f6072",
                          "key": "identifier_field",
                          "value": "<string>",
                          "description": "(Required) The identifier field name (e.g., email, customer_id, vuid)"
                        },
                        {
                          "id": "9457fef8-5a75-445e-9991-4c9da84d747f",
                          "key": "identifier_value",
                          "value": "<string>",
                          "description": "(Required) The value of the identifier field"
                        }
                      ]
                    },
                    "description": "Retrieves a customer profile by a specific identifier field and value, such as email address or customer ID."
                  },
                  "response": [
                    {
                      "id": "e4c3f19c-82eb-487d-aa89-a9afa6c6534a",
                      "name": "Successfully retrieved the profile",
                      "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}}/profiles/:identifier_field/:identifier_value?fields=<string>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "profiles",
                            ":identifier_field",
                            ":identifier_value"
                          ],
                          "query": [
                            {
                              "description": "Comma-separated list of profile fields to return",
                              "key": "fields",
                              "value": "<string>"
                            }
                          ],
                          "variable": [
                            {
                              "key": "identifier_field"
                            },
                            {
                              "key": "identifier_value"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"email\": \"<email>\",\n  \"customer_id\": \"<string>\",\n  \"vuid\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"city\": \"<string>\",\n  \"state\": \"<string>\",\n  \"country\": \"<string>\",\n  \"zip_code\": \"<string>\",\n  \"insights\": {\n    \"velit8\": -91612648,\n    \"ex60f\": true\n  },\n  \"segments\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}",
                      "createdAt": "2026-07-28T02:27:32.000Z",
                      "updatedAt": "2026-07-28T02:27:32.000Z",
                      "uid": "35240-e4c3f19c-82eb-487d-aa89-a9afa6c6534a"
                    },
                    {
                      "id": "44b8225f-5285-4166-8e94-e6ba0662be1c",
                      "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}}/profiles/:identifier_field/:identifier_value?fields=<string>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "profiles",
                            ":identifier_field",
                            ":identifier_value"
                          ],
                          "query": [
                            {
                              "description": "Comma-separated list of profile fields to return",
                              "key": "fields",
                              "value": "<string>"
                            }
                          ],
                          "variable": [
                            {
                              "key": "identifier_field"
                            },
                            {
                              "key": "identifier_value"
                            }
                          ]
                        }
                      },
                      "status": "Unauthorized",
                      "code": 401,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T02:27:32.000Z",
                      "updatedAt": "2026-07-28T02:27:32.000Z",
                      "uid": "35240-44b8225f-5285-4166-8e94-e6ba0662be1c"
                    },
                    {
                      "id": "0f2fea08-6782-4337-8f88-721b9866f49c",
                      "name": "Profile not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "description": "Added as a part of security scheme: basic",
                            "key": "Authorization",
                            "value": "Basic <credentials>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/profiles/:identifier_field/:identifier_value?fields=<string>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "profiles",
                            ":identifier_field",
                            ":identifier_value"
                          ],
                          "query": [
                            {
                              "description": "Comma-separated list of profile fields to return",
                              "key": "fields",
                              "value": "<string>"
                            }
                          ],
                          "variable": [
                            {
                              "key": "identifier_field"
                            },
                            {
                              "key": "identifier_value"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "text",
                      "header": [],
                      "cookie": [],
                      "responseTime": null,
                      "body": null,
                      "createdAt": "2026-07-28T02:27:32.000Z",
                      "updatedAt": "2026-07-28T02:27:32.000Z",
                      "uid": "35240-0f2fea08-6782-4337-8f88-721b9866f49c"
                    }
                  ],
                  "createdAt": "2026-07-28T02:27:32.000Z",
                  "updatedAt": "2026-07-28T02:27:32.000Z",
                  "uid": "35240-1b27470d-36ef-41d2-91c2-35026a49fe30"
                }
              ],
              "id": "e528a4c5-212a-4117-acba-a72b21e37adc",
              "createdAt": "2026-07-28T02:27:32.000Z",
              "updatedAt": "2026-07-28T02:27:32.000Z",
              "uid": "35240-e528a4c5-212a-4117-acba-a72b21e37adc"
            }
          ],
          "id": "38f3f480-ea89-4908-b50d-79a9afbaa093",
          "createdAt": "2026-07-28T02:27:32.000Z",
          "updatedAt": "2026-07-28T02:27:32.000Z",
          "uid": "35240-38f3f480-ea89-4908-b50d-79a9afbaa093"
        },
        {
          "name": "Create or update a profile",
          "id": "c24004ff-a122-42ea-a894-fb878b5f9de1",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"identifiers\": {\n    \"aliquip51\": \"<string>\"\n  },\n  \"attributes\": {\n    \"quis_d\": 8796524,\n    \"Ut_e_\": -85593079,\n    \"consectetur_1\": \"pariatur ullamco qui magna nostrud\"\n  }\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/profiles",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "profiles"
              ]
            },
            "description": "Creates a new customer profile or updates an existing one in ODP. Profiles are identified by one or more identifier fields such as email, customer_id, or vuid."
          },
          "response": [
            {
              "id": "3017d15c-c9a2-4a86-9181-94fb316e6e37",
              "name": "Profile successfully created or updated",
              "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  \"identifiers\": {\n    \"aliquip51\": \"<string>\"\n  },\n  \"attributes\": {\n    \"quis_d\": 8796524,\n    \"Ut_e_\": -85593079,\n    \"consectetur_1\": \"pariatur ullamco qui magna nostrud\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/profiles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "profiles"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:27:32.000Z",
              "updatedAt": "2026-07-28T02:27:32.000Z",
              "uid": "35240-3017d15c-c9a2-4a86-9181-94fb316e6e37"
            },
            {
              "id": "99270072-fae1-4020-8b53-36bc0ee6dca9",
              "name": "Invalid profile data",
              "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  \"identifiers\": {\n    \"aliquip51\": \"<string>\"\n  },\n  \"attributes\": {\n    \"quis_d\": 8796524,\n    \"Ut_e_\": -85593079,\n    \"consectetur_1\": \"pariatur ullamco qui magna nostrud\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/profiles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "profiles"
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:27:32.000Z",
              "updatedAt": "2026-07-28T02:27:32.000Z",
              "uid": "35240-99270072-fae1-4020-8b53-36bc0ee6dca9"
            },
            {
              "id": "181203b7-12bf-45e0-970f-251462961acd",
              "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  \"identifiers\": {\n    \"aliquip51\": \"<string>\"\n  },\n  \"attributes\": {\n    \"quis_d\": 8796524,\n    \"Ut_e_\": -85593079,\n    \"consectetur_1\": \"pariatur ullamco qui magna nostrud\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/profiles",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "profiles"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T02:27:32.000Z",
              "updatedAt": "2026-07-28T02:27:32.000Z",
              "uid": "35240-181203b7-12bf-45e0-970f-251462961acd"
            }
          ],
          "createdAt": "2026-07-28T02:27:32.000Z",
          "updatedAt": "2026-07-28T02:27:32.000Z",
          "uid": "35240-c24004ff-a122-42ea-a894-fb878b5f9de1"
        }
      ],
      "id": "6cedfae7-e753-43b2-b30e-b5eb2b2a29d3",
      "createdAt": "2026-07-28T02:27:32.000Z",
      "updatedAt": "2026-07-28T02:27:32.000Z",
      "uid": "35240-6cedfae7-e753-43b2-b30e-b5eb2b2a29d3"
    }
  ],
  "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"
    }
  ]
}